Documentation ¶
Index ¶
- Constants
- type ECSProvider
- func (e *ECSProvider) DeleteInstance(ctx context.Context, id string) error
- func (e *ECSProvider) DescribeNetworkInterfaces(vpcId string, ips []string, ipVersionType model.AddressIPVersionType) (map[string]string, error)
- func (e *ECSProvider) GetInstancesByIP(ctx context.Context, ips []string) (*prvd.NodeAttribute, error)
- func (e *ECSProvider) ListInstances(ctx context.Context, ids []string) (map[string]*prvd.NodeAttribute, error)
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 ¶
Click to show internal directories.
Click to hide internal directories.