ecser

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: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEcsListNotSupported = errors.New("cloud not supported ecs list")
	ErrEcserPanic          = errors.New("ecs init panic")
)

Functions

This section is empty.

Types

type AliEcs

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

func (*AliEcs) ListDetail

func (ecs *AliEcs) ListDetail(ctx context.Context, req *pbecs.ListDetailReq) (*pbecs.ListDetailResp, error)

type AwsEcs

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

func (*AwsEcs) ListDetail

func (ecs *AwsEcs) ListDetail(ctx context.Context, req *pbecs.ListDetailReq) (*pbecs.ListDetailResp, error)

type Ecser

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

func NewEcsClient

func NewEcsClient(provider pbtenant.CloudProvider, region tenanter.Region, tenant tenanter.Tenanter) (ecser Ecser, err error)

type HuaweiEcs

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

func (*HuaweiEcs) ListDetail

func (ecs *HuaweiEcs) ListDetail(ctx context.Context, req *pbecs.ListDetailReq) (*pbecs.ListDetailResp, error)

type TencentCvm

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

func (*TencentCvm) ListDetail

func (ecs *TencentCvm) ListDetail(ctx context.Context, req *pbecs.ListDetailReq) (*pbecs.ListDetailResp, error)

Jump to

Keyboard shortcuts

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