ecs

package
v0.0.0-...-a1c3796 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxNetworkInterfaceNum = 100
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ECSProvider

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

func NewECSProvider

func NewECSProvider(
	auth *base.ClientMgr,
) *ECSProvider

func (*ECSProvider) DeleteInstance

func (e *ECSProvider) DeleteInstance(ctx context.Context, id string) error

func (*ECSProvider) DescribeNetworkInterfaces

func (e *ECSProvider) DescribeNetworkInterfaces(vpcId string, ips []string, ipVersionType model.AddressIPVersionType) (map[string]string, error)

func (*ECSProvider) GetInstancesByIP

func (e *ECSProvider) GetInstancesByIP(ctx context.Context, ips []string) (*prvd.NodeAttribute, error)

func (*ECSProvider) ListInstances

func (e *ECSProvider) ListInstances(ctx context.Context, ids []string) (map[string]*prvd.NodeAttribute, error)

Jump to

Keyboard shortcuts

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