Documentation ¶
Overview ¶
Package client is a generated GoMock package.
Index ¶
- type MockFactory
- type MockFactoryMockRecorder
- type MockInterface
- func (m *MockInterface) CreateBucketIfNotExists(arg0 context.Context, arg1, arg2 string) error
- func (m *MockInterface) CreateOrUpdateDNSRecordSet(arg0 context.Context, arg1, arg2, arg3 string, arg4 []string, arg5 int64) error
- func (m *MockInterface) DeleteBucketIfExists(arg0 context.Context, arg1 string) error
- func (m *MockInterface) DeleteDNSRecordSet(arg0 context.Context, arg1, arg2, arg3 string, arg4 []string, arg5 int64) error
- func (m *MockInterface) DeleteELB(arg0 context.Context, arg1 string) error
- func (m *MockInterface) DeleteELBV2(arg0 context.Context, arg1 string) error
- func (m *MockInterface) DeleteObjectsWithPrefix(arg0 context.Context, arg1, arg2 string) error
- func (m *MockInterface) DeleteSecurityGroup(arg0 context.Context, arg1 string) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetAccountID(arg0 context.Context) (string, error)
- func (m *MockInterface) GetDHCPOptions(arg0 context.Context, arg1 string) (map[string]string, error)
- func (m *MockInterface) GetDNSHostedZones(arg0 context.Context) (map[string]string, error)
- func (m *MockInterface) GetElasticIPsAssociationIDForAllocationIDs(arg0 context.Context, arg1 []string) (map[string]*string, error)
- func (m *MockInterface) GetNATGatewayAddressAllocations(arg0 context.Context, arg1 string) (sets.Set[string], error)
- func (m *MockInterface) GetVPCAttribute(arg0 context.Context, arg1, arg2 string) (bool, error)
- func (m *MockInterface) GetVPCInternetGateway(arg0 context.Context, arg1 string) (string, error)
- func (m *MockInterface) ListKubernetesELBs(arg0 context.Context, arg1, arg2 string) ([]string, error)
- func (m *MockInterface) ListKubernetesELBsV2(arg0 context.Context, arg1, arg2 string) ([]string, error)
- func (m *MockInterface) ListKubernetesSecurityGroups(arg0 context.Context, arg1, arg2 string) ([]string, error)
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) CreateBucketIfNotExists(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) CreateOrUpdateDNSRecordSet(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DeleteBucketIfExists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DeleteDNSRecordSet(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DeleteELB(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DeleteELBV2(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DeleteObjectsWithPrefix(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DeleteSecurityGroup(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetAccountID(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetDHCPOptions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetDNSHostedZones(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetElasticIPsAssociationIDForAllocationIDs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetNATGatewayAddressAllocations(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetVPCAttribute(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetVPCInternetGateway(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListKubernetesELBs(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListKubernetesELBsV2(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListKubernetesSecurityGroups(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFactory ¶
type MockFactory struct {
// contains filtered or unexported fields
}
MockFactory is a mock of Factory interface.
func NewMockFactory ¶
func NewMockFactory(ctrl *gomock.Controller) *MockFactory
NewMockFactory creates a new mock instance.
func (*MockFactory) EXPECT ¶
func (m *MockFactory) EXPECT() *MockFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFactoryMockRecorder ¶
type MockFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockFactoryMockRecorder is the mock recorder for MockFactory.
func (*MockFactoryMockRecorder) NewClient ¶
func (mr *MockFactoryMockRecorder) NewClient(arg0, arg1, arg2 interface{}) *gomock.Call
NewClient indicates an expected call of NewClient.
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) CreateBucketIfNotExists ¶
func (m *MockInterface) CreateBucketIfNotExists(arg0 context.Context, arg1, arg2 string) error
CreateBucketIfNotExists mocks base method.
func (*MockInterface) CreateOrUpdateDNSRecordSet ¶
func (m *MockInterface) CreateOrUpdateDNSRecordSet(arg0 context.Context, arg1, arg2, arg3 string, arg4 []string, arg5 int64) error
CreateOrUpdateDNSRecordSet mocks base method.
func (*MockInterface) DeleteBucketIfExists ¶
func (m *MockInterface) DeleteBucketIfExists(arg0 context.Context, arg1 string) error
DeleteBucketIfExists mocks base method.
func (*MockInterface) DeleteDNSRecordSet ¶
func (m *MockInterface) DeleteDNSRecordSet(arg0 context.Context, arg1, arg2, arg3 string, arg4 []string, arg5 int64) error
DeleteDNSRecordSet mocks base method.
func (*MockInterface) DeleteELB ¶
func (m *MockInterface) DeleteELB(arg0 context.Context, arg1 string) error
DeleteELB mocks base method.
func (*MockInterface) DeleteELBV2 ¶
func (m *MockInterface) DeleteELBV2(arg0 context.Context, arg1 string) error
DeleteELBV2 mocks base method.
func (*MockInterface) DeleteObjectsWithPrefix ¶
func (m *MockInterface) DeleteObjectsWithPrefix(arg0 context.Context, arg1, arg2 string) error
DeleteObjectsWithPrefix mocks base method.
func (*MockInterface) DeleteSecurityGroup ¶
func (m *MockInterface) DeleteSecurityGroup(arg0 context.Context, arg1 string) error
DeleteSecurityGroup mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) GetAccountID ¶
func (m *MockInterface) GetAccountID(arg0 context.Context) (string, error)
GetAccountID mocks base method.
func (*MockInterface) GetDHCPOptions ¶ added in v1.41.0
func (m *MockInterface) GetDHCPOptions(arg0 context.Context, arg1 string) (map[string]string, error)
GetDHCPOptions mocks base method.
func (*MockInterface) GetDNSHostedZones ¶
GetDNSHostedZones mocks base method.
func (*MockInterface) GetElasticIPsAssociationIDForAllocationIDs ¶ added in v1.31.0
func (m *MockInterface) GetElasticIPsAssociationIDForAllocationIDs(arg0 context.Context, arg1 []string) (map[string]*string, error)
GetElasticIPsAssociationIDForAllocationIDs mocks base method.
func (*MockInterface) GetNATGatewayAddressAllocations ¶ added in v1.31.0
func (m *MockInterface) GetNATGatewayAddressAllocations(arg0 context.Context, arg1 string) (sets.Set[string], error)
GetNATGatewayAddressAllocations mocks base method.
func (*MockInterface) GetVPCAttribute ¶ added in v1.29.0
GetVPCAttribute mocks base method.
func (*MockInterface) GetVPCInternetGateway ¶ added in v1.29.0
GetVPCInternetGateway mocks base method.
func (*MockInterface) ListKubernetesELBs ¶
func (m *MockInterface) ListKubernetesELBs(arg0 context.Context, arg1, arg2 string) ([]string, error)
ListKubernetesELBs mocks base method.
func (*MockInterface) ListKubernetesELBsV2 ¶
func (m *MockInterface) ListKubernetesELBsV2(arg0 context.Context, arg1, arg2 string) ([]string, error)
ListKubernetesELBsV2 mocks base method.
func (*MockInterface) ListKubernetesSecurityGroups ¶
func (m *MockInterface) ListKubernetesSecurityGroups(arg0 context.Context, arg1, arg2 string) ([]string, error)
ListKubernetesSecurityGroups mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) CreateBucketIfNotExists ¶
func (mr *MockInterfaceMockRecorder) CreateBucketIfNotExists(arg0, arg1, arg2 interface{}) *gomock.Call
CreateBucketIfNotExists indicates an expected call of CreateBucketIfNotExists.
func (*MockInterfaceMockRecorder) CreateOrUpdateDNSRecordSet ¶
func (mr *MockInterfaceMockRecorder) CreateOrUpdateDNSRecordSet(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
CreateOrUpdateDNSRecordSet indicates an expected call of CreateOrUpdateDNSRecordSet.
func (*MockInterfaceMockRecorder) DeleteBucketIfExists ¶
func (mr *MockInterfaceMockRecorder) DeleteBucketIfExists(arg0, arg1 interface{}) *gomock.Call
DeleteBucketIfExists indicates an expected call of DeleteBucketIfExists.
func (*MockInterfaceMockRecorder) DeleteDNSRecordSet ¶
func (mr *MockInterfaceMockRecorder) DeleteDNSRecordSet(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
DeleteDNSRecordSet indicates an expected call of DeleteDNSRecordSet.
func (*MockInterfaceMockRecorder) DeleteELB ¶
func (mr *MockInterfaceMockRecorder) DeleteELB(arg0, arg1 interface{}) *gomock.Call
DeleteELB indicates an expected call of DeleteELB.
func (*MockInterfaceMockRecorder) DeleteELBV2 ¶
func (mr *MockInterfaceMockRecorder) DeleteELBV2(arg0, arg1 interface{}) *gomock.Call
DeleteELBV2 indicates an expected call of DeleteELBV2.
func (*MockInterfaceMockRecorder) DeleteObjectsWithPrefix ¶
func (mr *MockInterfaceMockRecorder) DeleteObjectsWithPrefix(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteObjectsWithPrefix indicates an expected call of DeleteObjectsWithPrefix.
func (*MockInterfaceMockRecorder) DeleteSecurityGroup ¶
func (mr *MockInterfaceMockRecorder) DeleteSecurityGroup(arg0, arg1 interface{}) *gomock.Call
DeleteSecurityGroup indicates an expected call of DeleteSecurityGroup.
func (*MockInterfaceMockRecorder) GetAccountID ¶
func (mr *MockInterfaceMockRecorder) GetAccountID(arg0 interface{}) *gomock.Call
GetAccountID indicates an expected call of GetAccountID.
func (*MockInterfaceMockRecorder) GetDHCPOptions ¶ added in v1.41.0
func (mr *MockInterfaceMockRecorder) GetDHCPOptions(arg0, arg1 interface{}) *gomock.Call
GetDHCPOptions indicates an expected call of GetDHCPOptions.
func (*MockInterfaceMockRecorder) GetDNSHostedZones ¶
func (mr *MockInterfaceMockRecorder) GetDNSHostedZones(arg0 interface{}) *gomock.Call
GetDNSHostedZones indicates an expected call of GetDNSHostedZones.
func (*MockInterfaceMockRecorder) GetElasticIPsAssociationIDForAllocationIDs ¶ added in v1.31.0
func (mr *MockInterfaceMockRecorder) GetElasticIPsAssociationIDForAllocationIDs(arg0, arg1 interface{}) *gomock.Call
GetElasticIPsAssociationIDForAllocationIDs indicates an expected call of GetElasticIPsAssociationIDForAllocationIDs.
func (*MockInterfaceMockRecorder) GetNATGatewayAddressAllocations ¶ added in v1.31.0
func (mr *MockInterfaceMockRecorder) GetNATGatewayAddressAllocations(arg0, arg1 interface{}) *gomock.Call
GetNATGatewayAddressAllocations indicates an expected call of GetNATGatewayAddressAllocations.
func (*MockInterfaceMockRecorder) GetVPCAttribute ¶ added in v1.29.0
func (mr *MockInterfaceMockRecorder) GetVPCAttribute(arg0, arg1, arg2 interface{}) *gomock.Call
GetVPCAttribute indicates an expected call of GetVPCAttribute.
func (*MockInterfaceMockRecorder) GetVPCInternetGateway ¶ added in v1.29.0
func (mr *MockInterfaceMockRecorder) GetVPCInternetGateway(arg0, arg1 interface{}) *gomock.Call
GetVPCInternetGateway indicates an expected call of GetVPCInternetGateway.
func (*MockInterfaceMockRecorder) ListKubernetesELBs ¶
func (mr *MockInterfaceMockRecorder) ListKubernetesELBs(arg0, arg1, arg2 interface{}) *gomock.Call
ListKubernetesELBs indicates an expected call of ListKubernetesELBs.
func (*MockInterfaceMockRecorder) ListKubernetesELBsV2 ¶
func (mr *MockInterfaceMockRecorder) ListKubernetesELBsV2(arg0, arg1, arg2 interface{}) *gomock.Call
ListKubernetesELBsV2 indicates an expected call of ListKubernetesELBsV2.
func (*MockInterfaceMockRecorder) ListKubernetesSecurityGroups ¶
func (mr *MockInterfaceMockRecorder) ListKubernetesSecurityGroups(arg0, arg1, arg2 interface{}) *gomock.Call
ListKubernetesSecurityGroups indicates an expected call of ListKubernetesSecurityGroups.