Documentation ¶
Overview ¶
Package client is a generated GoMock package.
Index ¶
- type MockComputeClient
- func (m *MockComputeClient) EXPECT() *MockComputeClientMockRecorder
- func (m *MockComputeClient) GetExternalAddresses(arg0 context.Context, arg1 string) (map[string][]string, error)
- func (m *MockComputeClient) GetSubnet(arg0 context.Context, arg1, arg2 string) (*compute.Subnetwork, error)
- func (m *MockComputeClient) GetVPC(arg0 context.Context, arg1 string) (*compute.Network, error)
- type MockComputeClientMockRecorder
- type MockDNSClient
- func (m *MockDNSClient) CreateOrUpdateRecordSet(arg0 context.Context, arg1, arg2, arg3 string, arg4 []string, arg5 int64) error
- func (m *MockDNSClient) DeleteRecordSet(arg0 context.Context, arg1, arg2, arg3 string) error
- func (m *MockDNSClient) EXPECT() *MockDNSClientMockRecorder
- func (m *MockDNSClient) GetManagedZones(arg0 context.Context) (map[string]string, error)
- type MockDNSClientMockRecorder
- func (mr *MockDNSClientMockRecorder) CreateOrUpdateRecordSet(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockDNSClientMockRecorder) DeleteRecordSet(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDNSClientMockRecorder) GetManagedZones(arg0 interface{}) *gomock.Call
- type MockFactory
- func (m *MockFactory) EXPECT() *MockFactoryMockRecorder
- func (m *MockFactory) NewComputeClient(arg0 context.Context, arg1 client0.Client, arg2 v1.SecretReference) (client.ComputeClient, error)
- func (m *MockFactory) NewDNSClient(arg0 context.Context, arg1 client0.Client, arg2 v1.SecretReference) (client.DNSClient, error)
- func (m *MockFactory) NewIAMClient(arg0 context.Context, arg1 client0.Client, arg2 v1.SecretReference) (client.IAMClient, error)
- func (m *MockFactory) NewStorageClient(arg0 context.Context, arg1 client0.Client, arg2 v1.SecretReference) (client.StorageClient, error)
- type MockFactoryMockRecorder
- func (mr *MockFactoryMockRecorder) NewComputeClient(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFactoryMockRecorder) NewDNSClient(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFactoryMockRecorder) NewIAMClient(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFactoryMockRecorder) NewStorageClient(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockComputeClient ¶ added in v1.19.0
type MockComputeClient struct {
// contains filtered or unexported fields
}
MockComputeClient is a mock of ComputeClient interface.
func NewMockComputeClient ¶ added in v1.19.0
func NewMockComputeClient(ctrl *gomock.Controller) *MockComputeClient
NewMockComputeClient creates a new mock instance.
func (*MockComputeClient) EXPECT ¶ added in v1.19.0
func (m *MockComputeClient) EXPECT() *MockComputeClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockComputeClient) GetExternalAddresses ¶ added in v1.19.0
func (m *MockComputeClient) GetExternalAddresses(arg0 context.Context, arg1 string) (map[string][]string, error)
GetExternalAddresses mocks base method.
func (*MockComputeClient) GetSubnet ¶ added in v1.26.0
func (m *MockComputeClient) GetSubnet(arg0 context.Context, arg1, arg2 string) (*compute.Subnetwork, error)
GetSubnet mocks base method.
type MockComputeClientMockRecorder ¶ added in v1.19.0
type MockComputeClientMockRecorder struct {
// contains filtered or unexported fields
}
MockComputeClientMockRecorder is the mock recorder for MockComputeClient.
func (*MockComputeClientMockRecorder) GetExternalAddresses ¶ added in v1.19.0
func (mr *MockComputeClientMockRecorder) GetExternalAddresses(arg0, arg1 interface{}) *gomock.Call
GetExternalAddresses indicates an expected call of GetExternalAddresses.
func (*MockComputeClientMockRecorder) GetSubnet ¶ added in v1.26.0
func (mr *MockComputeClientMockRecorder) GetSubnet(arg0, arg1, arg2 interface{}) *gomock.Call
GetSubnet indicates an expected call of GetSubnet.
func (*MockComputeClientMockRecorder) GetVPC ¶ added in v1.26.0
func (mr *MockComputeClientMockRecorder) GetVPC(arg0, arg1 interface{}) *gomock.Call
GetVPC indicates an expected call of GetVPC.
type MockDNSClient ¶
type MockDNSClient struct {
// contains filtered or unexported fields
}
MockDNSClient is a mock of DNSClient interface.
func NewMockDNSClient ¶
func NewMockDNSClient(ctrl *gomock.Controller) *MockDNSClient
NewMockDNSClient creates a new mock instance.
func (*MockDNSClient) CreateOrUpdateRecordSet ¶
func (m *MockDNSClient) CreateOrUpdateRecordSet(arg0 context.Context, arg1, arg2, arg3 string, arg4 []string, arg5 int64) error
CreateOrUpdateRecordSet mocks base method.
func (*MockDNSClient) DeleteRecordSet ¶
func (m *MockDNSClient) DeleteRecordSet(arg0 context.Context, arg1, arg2, arg3 string) error
DeleteRecordSet mocks base method.
func (*MockDNSClient) EXPECT ¶
func (m *MockDNSClient) EXPECT() *MockDNSClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDNSClient) GetManagedZones ¶
GetManagedZones mocks base method.
type MockDNSClientMockRecorder ¶
type MockDNSClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDNSClientMockRecorder is the mock recorder for MockDNSClient.
func (*MockDNSClientMockRecorder) CreateOrUpdateRecordSet ¶
func (mr *MockDNSClientMockRecorder) CreateOrUpdateRecordSet(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
CreateOrUpdateRecordSet indicates an expected call of CreateOrUpdateRecordSet.
func (*MockDNSClientMockRecorder) DeleteRecordSet ¶
func (mr *MockDNSClientMockRecorder) DeleteRecordSet(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DeleteRecordSet indicates an expected call of DeleteRecordSet.
func (*MockDNSClientMockRecorder) GetManagedZones ¶
func (mr *MockDNSClientMockRecorder) GetManagedZones(arg0 interface{}) *gomock.Call
GetManagedZones indicates an expected call of GetManagedZones.
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.
func (*MockFactory) NewComputeClient ¶ added in v1.19.0
func (m *MockFactory) NewComputeClient(arg0 context.Context, arg1 client0.Client, arg2 v1.SecretReference) (client.ComputeClient, error)
NewComputeClient mocks base method.
func (*MockFactory) NewDNSClient ¶
func (m *MockFactory) NewDNSClient(arg0 context.Context, arg1 client0.Client, arg2 v1.SecretReference) (client.DNSClient, error)
NewDNSClient mocks base method.
func (*MockFactory) NewIAMClient ¶ added in v1.24.0
func (m *MockFactory) NewIAMClient(arg0 context.Context, arg1 client0.Client, arg2 v1.SecretReference) (client.IAMClient, error)
NewIAMClient mocks base method.
func (*MockFactory) NewStorageClient ¶
func (m *MockFactory) NewStorageClient(arg0 context.Context, arg1 client0.Client, arg2 v1.SecretReference) (client.StorageClient, error)
NewStorageClient mocks base method.
type MockFactoryMockRecorder ¶
type MockFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockFactoryMockRecorder is the mock recorder for MockFactory.
func (*MockFactoryMockRecorder) NewComputeClient ¶ added in v1.19.0
func (mr *MockFactoryMockRecorder) NewComputeClient(arg0, arg1, arg2 interface{}) *gomock.Call
NewComputeClient indicates an expected call of NewComputeClient.
func (*MockFactoryMockRecorder) NewDNSClient ¶
func (mr *MockFactoryMockRecorder) NewDNSClient(arg0, arg1, arg2 interface{}) *gomock.Call
NewDNSClient indicates an expected call of NewDNSClient.
func (*MockFactoryMockRecorder) NewIAMClient ¶ added in v1.24.0
func (mr *MockFactoryMockRecorder) NewIAMClient(arg0, arg1, arg2 interface{}) *gomock.Call
NewIAMClient indicates an expected call of NewIAMClient.
func (*MockFactoryMockRecorder) NewStorageClient ¶
func (mr *MockFactoryMockRecorder) NewStorageClient(arg0, arg1, arg2 interface{}) *gomock.Call
NewStorageClient indicates an expected call of NewStorageClient.