Documentation
¶
Index ¶
- type ECS
- func (_m *ECS) AssignIpv6Addresses(ctx context.Context, opts ...client.AssignIPv6AddressesOption) ([]netip.Addr, error)
- func (_m *ECS) AssignIpv6Addresses2(ctx context.Context, opts ...client.AssignIPv6AddressesOption) ([]client.IPSet, error)
- func (_m *ECS) AssignPrivateIPAddress(ctx context.Context, opts ...client.AssignPrivateIPAddressOption) ([]netip.Addr, error)
- func (_m *ECS) AssignPrivateIPAddress2(ctx context.Context, opts ...client.AssignPrivateIPAddressOption) ([]client.IPSet, error)
- func (_m *ECS) AttachNetworkInterface(ctx context.Context, opts ...client.AttachNetworkInterfaceOption) 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) DescribeNetworkInterface2(ctx context.Context, opts ...client.DescribeNetworkInterfaceOption) ([]*client.NetworkInterface, error)
- func (_m *ECS) DetachNetworkInterface(ctx context.Context, eniID string, instanceID string, trunkENIID string) error
- func (_m *ECS) DetachNetworkInterface2(ctx context.Context, opts ...client.DetachNetworkInterfaceOption) error
- func (_m *ECS) UnAssignIpv6Addresses(ctx context.Context, eniID string, ips []netip.Addr) error
- func (_m *ECS) UnAssignIpv6Addresses2(ctx context.Context, eniID string, ips []client.IPSet) error
- func (_m *ECS) UnAssignPrivateIPAddresses(ctx context.Context, eniID string, ips []netip.Addr) error
- func (_m *ECS) UnAssignPrivateIPAddresses2(ctx context.Context, eniID string, ips []client.IPSet) error
- func (_m *ECS) WaitForNetworkInterface(ctx context.Context, eniID string, status string, backoff wait.Backoff, ...) (*client.NetworkInterface, error)
- type EFLO
- func (_m *EFLO) AssignLeniPrivateIPAddress2(ctx context.Context, opts ...client.AssignPrivateIPAddressOption) ([]client.IPSet, error)
- func (_m *EFLO) AttachHDENI(ctx context.Context, opts ...client.AttachNetworkInterfaceOption) error
- func (_m *EFLO) AttachLeni(ctx context.Context, opts ...client.AttachNetworkInterfaceOption) error
- func (_m *EFLO) CreateElasticNetworkInterfaceV2(ctx context.Context, opts ...client.CreateNetworkInterfaceOption) (*client.NetworkInterface, error)
- func (_m *EFLO) CreateHDENI(ctx context.Context, opts ...client.CreateNetworkInterfaceOption) (*client.NetworkInterface, error)
- func (_m *EFLO) DeleteElasticNetworkInterface(ctx context.Context, eniID string) error
- func (_m *EFLO) DeleteHDENI(ctx context.Context, eniID string) error
- func (_m *EFLO) DescribeHDENI(ctx context.Context, opts ...client.DescribeNetworkInterfaceOption) ([]*client.NetworkInterface, error)
- func (_m *EFLO) DescribeLeniNetworkInterface(ctx context.Context, opts ...client.DescribeNetworkInterfaceOption) ([]*client.NetworkInterface, error)
- func (_m *EFLO) DetachHDENI(ctx context.Context, opts ...client.DetachNetworkInterfaceOption) error
- func (_m *EFLO) DetachLeni(ctx context.Context, opts ...client.DetachNetworkInterfaceOption) error
- func (_m *EFLO) GetNodeInfoForPod(ctx context.Context, nodeID string) (*eflo.Content, error)
- func (_m *EFLO) ListLeniPrivateIPAddresses(ctx context.Context, eniID string, ipName string, ipAddress string) (*eflo.Content, error)
- func (_m *EFLO) UnAssignLeniPrivateIPAddresses2(ctx context.Context, eniID string, ips []client.IPSet) error
- func (_m *EFLO) UnassignLeniPrivateIPAddress(ctx context.Context, eniID string, ipName string) error
- func (_m *EFLO) WaitForLeniNetworkInterface(ctx context.Context, eniID string, status string, backoff wait.Backoff, ...) (*client.NetworkInterface, error)
- type LimitProvider
- type OpenAPI
- func (_m *OpenAPI) AssignIpv6AddressesV2(ctx context.Context, opts ...client.AssignIPv6AddressesOption) ([]client.IPSet, error)
- func (_m *OpenAPI) AssignPrivateIPAddressV2(ctx context.Context, opts ...client.AssignPrivateIPAddressOption) ([]client.IPSet, error)
- func (_m *OpenAPI) AttachNetworkInterfaceV2(ctx context.Context, opts ...client.AttachNetworkInterfaceOption) error
- func (_m *OpenAPI) CreateNetworkInterfaceV2(ctx context.Context, opts ...client.CreateNetworkInterfaceOption) (*client.NetworkInterface, error)
- func (_m *OpenAPI) DeleteNetworkInterfaceV2(ctx context.Context, eniID string) error
- func (_m *OpenAPI) DescribeNetworkInterfaceV2(ctx context.Context, opts ...client.DescribeNetworkInterfaceOption) ([]*client.NetworkInterface, error)
- func (_m *OpenAPI) DetachNetworkInterfaceV2(ctx context.Context, opts ...client.DetachNetworkInterfaceOption) error
- func (_m *OpenAPI) GetECS() client.ECS
- func (_m *OpenAPI) GetEFLO() client.EFLO
- func (_m *OpenAPI) GetVPC() client.VPC
- func (_m *OpenAPI) UnAssignIpv6AddressesV2(ctx context.Context, eniID string, ips []client.IPSet) error
- func (_m *OpenAPI) UnAssignPrivateIPAddressesV2(ctx context.Context, eniID string, ips []client.IPSet) error
- func (_m *OpenAPI) WaitForNetworkInterfaceV2(ctx context.Context, eniID string, status string, backoff wait.Backoff, ...) (*client.NetworkInterface, error)
- 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) AssignIpv6Addresses2 ¶ added in v1.14.5
func (_m *ECS) AssignIpv6Addresses2(ctx context.Context, opts ...client.AssignIPv6AddressesOption) ([]client.IPSet, error)
AssignIpv6Addresses2 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) AssignPrivateIPAddress2 ¶ added in v1.14.5
func (_m *ECS) AssignPrivateIPAddress2(ctx context.Context, opts ...client.AssignPrivateIPAddressOption) ([]client.IPSet, error)
AssignPrivateIPAddress2 provides a mock function with given fields: ctx, opts
func (*ECS) AttachNetworkInterface ¶
func (_m *ECS) AttachNetworkInterface(ctx context.Context, opts ...client.AttachNetworkInterfaceOption) error
AttachNetworkInterface provides a mock function with given fields: ctx, opts
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) DescribeNetworkInterface2 ¶ added in v1.14.5
func (_m *ECS) DescribeNetworkInterface2(ctx context.Context, opts ...client.DescribeNetworkInterfaceOption) ([]*client.NetworkInterface, error)
DescribeNetworkInterface2 provides a mock function with given fields: ctx, opts
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) DetachNetworkInterface2 ¶ added in v1.14.5
func (_m *ECS) DetachNetworkInterface2(ctx context.Context, opts ...client.DetachNetworkInterfaceOption) error
DetachNetworkInterface2 provides a mock function with given fields: ctx, opts
func (*ECS) UnAssignIpv6Addresses ¶
UnAssignIpv6Addresses provides a mock function with given fields: ctx, eniID, ips
func (*ECS) UnAssignIpv6Addresses2 ¶ added in v1.14.5
UnAssignIpv6Addresses2 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) UnAssignPrivateIPAddresses2 ¶ added in v1.14.5
func (_m *ECS) UnAssignPrivateIPAddresses2(ctx context.Context, eniID string, ips []client.IPSet) error
UnAssignPrivateIPAddresses2 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
func NewEFLO ¶
NewEFLO creates a new instance of EFLO. 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 (*EFLO) AssignLeniPrivateIPAddress2 ¶ added in v1.14.5
func (_m *EFLO) AssignLeniPrivateIPAddress2(ctx context.Context, opts ...client.AssignPrivateIPAddressOption) ([]client.IPSet, error)
AssignLeniPrivateIPAddress2 provides a mock function with given fields: ctx, opts
func (*EFLO) AttachHDENI ¶ added in v1.14.5
AttachHDENI provides a mock function with given fields: ctx, opts
func (*EFLO) AttachLeni ¶ added in v1.14.5
AttachLeni provides a mock function with given fields: ctx, opts
func (*EFLO) CreateElasticNetworkInterfaceV2 ¶ added in v1.14.5
func (_m *EFLO) CreateElasticNetworkInterfaceV2(ctx context.Context, opts ...client.CreateNetworkInterfaceOption) (*client.NetworkInterface, error)
CreateElasticNetworkInterfaceV2 provides a mock function with given fields: ctx, opts
func (*EFLO) CreateHDENI ¶ added in v1.14.5
func (_m *EFLO) CreateHDENI(ctx context.Context, opts ...client.CreateNetworkInterfaceOption) (*client.NetworkInterface, error)
CreateHDENI provides a mock function with given fields: ctx, opts
func (*EFLO) DeleteElasticNetworkInterface ¶ added in v1.14.5
DeleteElasticNetworkInterface provides a mock function with given fields: ctx, eniID
func (*EFLO) DeleteHDENI ¶ added in v1.14.5
DeleteHDENI provides a mock function with given fields: ctx, eniID
func (*EFLO) DescribeHDENI ¶ added in v1.14.5
func (_m *EFLO) DescribeHDENI(ctx context.Context, opts ...client.DescribeNetworkInterfaceOption) ([]*client.NetworkInterface, error)
DescribeHDENI provides a mock function with given fields: ctx, opts
func (*EFLO) DescribeLeniNetworkInterface ¶ added in v1.14.5
func (_m *EFLO) DescribeLeniNetworkInterface(ctx context.Context, opts ...client.DescribeNetworkInterfaceOption) ([]*client.NetworkInterface, error)
DescribeLeniNetworkInterface provides a mock function with given fields: ctx, opts
func (*EFLO) DetachHDENI ¶ added in v1.14.5
DetachHDENI provides a mock function with given fields: ctx, opts
func (*EFLO) DetachLeni ¶ added in v1.14.5
DetachLeni provides a mock function with given fields: ctx, opts
func (*EFLO) GetNodeInfoForPod ¶
GetNodeInfoForPod provides a mock function with given fields: ctx, nodeID
func (*EFLO) ListLeniPrivateIPAddresses ¶ added in v1.14.5
func (_m *EFLO) ListLeniPrivateIPAddresses(ctx context.Context, eniID string, ipName string, ipAddress string) (*eflo.Content, error)
ListLeniPrivateIPAddresses provides a mock function with given fields: ctx, eniID, ipName, ipAddress
func (*EFLO) UnAssignLeniPrivateIPAddresses2 ¶ added in v1.14.5
func (_m *EFLO) UnAssignLeniPrivateIPAddresses2(ctx context.Context, eniID string, ips []client.IPSet) error
UnAssignLeniPrivateIPAddresses2 provides a mock function with given fields: ctx, eniID, ips
func (*EFLO) UnassignLeniPrivateIPAddress ¶ added in v1.14.5
func (_m *EFLO) UnassignLeniPrivateIPAddress(ctx context.Context, eniID string, ipName string) error
UnassignLeniPrivateIPAddress provides a mock function with given fields: ctx, eniID, ipName
func (*EFLO) WaitForLeniNetworkInterface ¶ added in v1.14.5
func (_m *EFLO) WaitForLeniNetworkInterface(ctx context.Context, eniID string, status string, backoff wait.Backoff, ignoreNotExist bool) (*client.NetworkInterface, error)
WaitForLeniNetworkInterface provides a mock function with given fields: ctx, eniID, status, backoff, ignoreNotExist
type LimitProvider ¶ added in v1.9.6
LimitProvider is an autogenerated mock type for the LimitProvider type
func NewLimitProvider ¶ added in v1.9.6
func NewLimitProvider(t interface { mock.TestingT Cleanup(func()) }) *LimitProvider
NewLimitProvider creates a new instance of LimitProvider. 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 (*LimitProvider) GetLimit ¶ added in v1.9.6
func (_m *LimitProvider) GetLimit(_a0 interface{}, instanceType string) (*client.Limits, error)
GetLimit provides a mock function with given fields: _a0, instanceType
func (*LimitProvider) GetLimitFromAnno ¶ added in v1.13.7
GetLimitFromAnno provides a mock function with given fields: anno
type OpenAPI ¶ added in v1.14.5
OpenAPI is an autogenerated mock type for the OpenAPI type
func NewOpenAPI ¶ added in v1.14.5
NewOpenAPI creates a new instance of OpenAPI. 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 (*OpenAPI) AssignIpv6AddressesV2 ¶ added in v1.14.5
func (_m *OpenAPI) AssignIpv6AddressesV2(ctx context.Context, opts ...client.AssignIPv6AddressesOption) ([]client.IPSet, error)
AssignIpv6AddressesV2 provides a mock function with given fields: ctx, opts
func (*OpenAPI) AssignPrivateIPAddressV2 ¶ added in v1.14.5
func (_m *OpenAPI) AssignPrivateIPAddressV2(ctx context.Context, opts ...client.AssignPrivateIPAddressOption) ([]client.IPSet, error)
AssignPrivateIPAddressV2 provides a mock function with given fields: ctx, opts
func (*OpenAPI) AttachNetworkInterfaceV2 ¶ added in v1.14.5
func (_m *OpenAPI) AttachNetworkInterfaceV2(ctx context.Context, opts ...client.AttachNetworkInterfaceOption) error
AttachNetworkInterfaceV2 provides a mock function with given fields: ctx, opts
func (*OpenAPI) CreateNetworkInterfaceV2 ¶ added in v1.14.5
func (_m *OpenAPI) CreateNetworkInterfaceV2(ctx context.Context, opts ...client.CreateNetworkInterfaceOption) (*client.NetworkInterface, error)
CreateNetworkInterfaceV2 provides a mock function with given fields: ctx, opts
func (*OpenAPI) DeleteNetworkInterfaceV2 ¶ added in v1.14.5
DeleteNetworkInterfaceV2 provides a mock function with given fields: ctx, eniID
func (*OpenAPI) DescribeNetworkInterfaceV2 ¶ added in v1.14.5
func (_m *OpenAPI) DescribeNetworkInterfaceV2(ctx context.Context, opts ...client.DescribeNetworkInterfaceOption) ([]*client.NetworkInterface, error)
DescribeNetworkInterfaceV2 provides a mock function with given fields: ctx, opts
func (*OpenAPI) DetachNetworkInterfaceV2 ¶ added in v1.14.5
func (_m *OpenAPI) DetachNetworkInterfaceV2(ctx context.Context, opts ...client.DetachNetworkInterfaceOption) error
DetachNetworkInterfaceV2 provides a mock function with given fields: ctx, opts
func (*OpenAPI) UnAssignIpv6AddressesV2 ¶ added in v1.14.5
func (_m *OpenAPI) UnAssignIpv6AddressesV2(ctx context.Context, eniID string, ips []client.IPSet) error
UnAssignIpv6AddressesV2 provides a mock function with given fields: ctx, eniID, ips
func (*OpenAPI) UnAssignPrivateIPAddressesV2 ¶ added in v1.14.5
func (_m *OpenAPI) UnAssignPrivateIPAddressesV2(ctx context.Context, eniID string, ips []client.IPSet) error
UnAssignPrivateIPAddressesV2 provides a mock function with given fields: ctx, eniID, ips
func (*OpenAPI) WaitForNetworkInterfaceV2 ¶ added in v1.14.5
func (_m *OpenAPI) WaitForNetworkInterfaceV2(ctx context.Context, eniID string, status string, backoff wait.Backoff, ignoreNotExist bool) (*client.NetworkInterface, error)
WaitForNetworkInterfaceV2 provides a mock function with given fields: ctx, eniID, status, backoff, ignoreNotExist