Documentation ¶
Index ¶
- type ECS
- func (_m *ECS) AssignIpv6Addresses(ctx context.Context, opts ...client.AssignIPv6AddressesOption) ([]netip.Addr, error)
- func (_m *ECS) AssignPrivateIPAddress(ctx context.Context, opts ...client.AssignPrivateIPAddressOption) ([]netip.Addr, error)
- func (_m *ECS) AttachNetworkInterface(ctx context.Context, eniID string, instanceID string, trunkENIID string) error
- func (_m *ECS) CreateNetworkInterface(ctx context.Context, opts ...client.CreateNetworkInterfaceOption) (*client.NetworkInterface, error)
- func (_m *ECS) DeleteNetworkInterface(ctx context.Context, eniID string) error
- func (_m *ECS) DescribeInstanceTypes(ctx context.Context, types []string) ([]ecs.InstanceType, error)
- func (_m *ECS) DescribeNetworkInterface(ctx context.Context, vpcID string, eniID []string, instanceID string, ...) ([]*client.NetworkInterface, error)
- func (_m *ECS) DetachNetworkInterface(ctx context.Context, eniID string, instanceID string, trunkENIID string) error
- func (_m *ECS) ModifyNetworkInterfaceAttribute(ctx context.Context, eniID string, securityGroupIDs []string) error
- func (_m *ECS) UnAssignIpv6Addresses(ctx context.Context, eniID string, ips []netip.Addr) error
- func (_m *ECS) UnAssignPrivateIPAddresses(ctx context.Context, eniID string, ips []netip.Addr) error
- func (_m *ECS) WaitForNetworkInterface(ctx context.Context, eniID string, status string, backoff wait.Backoff, ...) (*client.NetworkInterface, error)
- type EFLO
- type VPC
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ECS ¶
ECS is an autogenerated mock type for the ECS type
func NewECS ¶
NewECS creates a new instance of ECS. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ECS) AssignIpv6Addresses ¶
func (_m *ECS) AssignIpv6Addresses(ctx context.Context, opts ...client.AssignIPv6AddressesOption) ([]netip.Addr, error)
AssignIpv6Addresses provides a mock function with given fields: ctx, opts
func (*ECS) AssignPrivateIPAddress ¶
func (_m *ECS) AssignPrivateIPAddress(ctx context.Context, opts ...client.AssignPrivateIPAddressOption) ([]netip.Addr, error)
AssignPrivateIPAddress provides a mock function with given fields: ctx, opts
func (*ECS) AttachNetworkInterface ¶
func (_m *ECS) AttachNetworkInterface(ctx context.Context, eniID string, instanceID string, trunkENIID string) error
AttachNetworkInterface provides a mock function with given fields: ctx, eniID, instanceID, trunkENIID
func (*ECS) CreateNetworkInterface ¶
func (_m *ECS) CreateNetworkInterface(ctx context.Context, opts ...client.CreateNetworkInterfaceOption) (*client.NetworkInterface, error)
CreateNetworkInterface provides a mock function with given fields: ctx, opts
func (*ECS) DeleteNetworkInterface ¶
DeleteNetworkInterface provides a mock function with given fields: ctx, eniID
func (*ECS) DescribeInstanceTypes ¶
func (_m *ECS) DescribeInstanceTypes(ctx context.Context, types []string) ([]ecs.InstanceType, error)
DescribeInstanceTypes provides a mock function with given fields: ctx, types
func (*ECS) DescribeNetworkInterface ¶
func (_m *ECS) DescribeNetworkInterface(ctx context.Context, vpcID string, eniID []string, instanceID string, instanceType string, status string, tags map[string]string) ([]*client.NetworkInterface, error)
DescribeNetworkInterface provides a mock function with given fields: ctx, vpcID, eniID, instanceID, instanceType, status, tags
func (*ECS) DetachNetworkInterface ¶
func (_m *ECS) DetachNetworkInterface(ctx context.Context, eniID string, instanceID string, trunkENIID string) error
DetachNetworkInterface provides a mock function with given fields: ctx, eniID, instanceID, trunkENIID
func (*ECS) ModifyNetworkInterfaceAttribute ¶
func (_m *ECS) ModifyNetworkInterfaceAttribute(ctx context.Context, eniID string, securityGroupIDs []string) error
ModifyNetworkInterfaceAttribute provides a mock function with given fields: ctx, eniID, securityGroupIDs
func (*ECS) UnAssignIpv6Addresses ¶
UnAssignIpv6Addresses provides a mock function with given fields: ctx, eniID, ips
func (*ECS) UnAssignPrivateIPAddresses ¶
func (_m *ECS) UnAssignPrivateIPAddresses(ctx context.Context, eniID string, ips []netip.Addr) error
UnAssignPrivateIPAddresses provides a mock function with given fields: ctx, eniID, ips
func (*ECS) WaitForNetworkInterface ¶
func (_m *ECS) WaitForNetworkInterface(ctx context.Context, eniID string, status string, backoff wait.Backoff, ignoreNotExist bool) (*client.NetworkInterface, error)
WaitForNetworkInterface provides a mock function with given fields: ctx, eniID, status, backoff, ignoreNotExist
type EFLO ¶
EFLO is an autogenerated mock type for the EFLO type