rdser

package
v0.0.0-...-a156103 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRdsListNotSupported = errors.New("cloud not supported rds list")
	ErrRdserPanic          = errors.New("rds init panic")
)

Functions

This section is empty.

Types

type AliRds

type AliRds struct {
	// contains filtered or unexported fields
}

func (*AliRds) ListDetail

func (rds *AliRds) ListDetail(ctx context.Context, req *pbrds.ListDetailReq) (*pbrds.ListDetailResp, error)

type AwsRds

type AwsRds struct {
	// contains filtered or unexported fields
}

func (*AwsRds) ListDetail

func (rds *AwsRds) ListDetail(ctx context.Context, req *pbrds.ListDetailReq) (*pbrds.ListDetailResp, error)

type Rdser

type Rdser interface {
	ListDetail(ctx context.Context, req *pbrds.ListDetailReq) (resp *pbrds.ListDetailResp, err error)
}

func NewRdsClient

func NewRdsClient(provider pbtenant.CloudProvider, region tenanter.Region, tenant tenanter.Tenanter) (rds Rdser, err error)

type TencentCdb

type TencentCdb struct {
	// contains filtered or unexported fields
}

func (*TencentCdb) ListDetail

func (rds *TencentCdb) ListDetail(ctx context.Context, req *pbrds.ListDetailReq) (*pbrds.ListDetailResp, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL