Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) AddResourceRecordSet(managedZone string, recordSet *v10.ResourceRecordSet) error
- func (m *MockClient) CreateManagedZone(managedZone *v10.ManagedZone) (*v10.ManagedZone, error)
- func (m *MockClient) DeleteManagedZone(managedZone string) error
- func (m *MockClient) DeleteResourceRecordSet(managedZone string, recordSet *v10.ResourceRecordSet) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetManagedZone(managedZone string) (*v10.ManagedZone, error)
- func (m *MockClient) ListComputeImages(arg0 gcpclient.ListComputeImagesOptions) (*v1.ImageList, error)
- func (m *MockClient) ListComputeZones(arg0 gcpclient.ListComputeZonesOptions) (*v1.ZoneList, error)
- func (m *MockClient) ListManagedZones(opts gcpclient.ListManagedZonesOptions) (*v10.ManagedZonesListResponse, error)
- func (m *MockClient) ListResourceRecordSets(managedZone string, opts gcpclient.ListResourceRecordSetsOptions) (*v10.ResourceRecordSetsListResponse, error)
- func (m *MockClient) UpdateResourceRecordSet(managedZone string, addRecordSet, removeRecordSet *v10.ResourceRecordSet) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) AddResourceRecordSet(managedZone, recordSet interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateManagedZone(managedZone interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteManagedZone(managedZone interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteResourceRecordSet(managedZone, recordSet interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetManagedZone(managedZone interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListComputeImages(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListComputeZones(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListManagedZones(opts interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListResourceRecordSets(managedZone, opts interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateResourceRecordSet(managedZone, addRecordSet, removeRecordSet interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) AddResourceRecordSet ¶
func (m *MockClient) AddResourceRecordSet(managedZone string, recordSet *v10.ResourceRecordSet) error
AddResourceRecordSet mocks base method
func (*MockClient) CreateManagedZone ¶
func (m *MockClient) CreateManagedZone(managedZone *v10.ManagedZone) (*v10.ManagedZone, error)
CreateManagedZone mocks base method
func (*MockClient) DeleteManagedZone ¶
func (m *MockClient) DeleteManagedZone(managedZone string) error
DeleteManagedZone mocks base method
func (*MockClient) DeleteResourceRecordSet ¶
func (m *MockClient) DeleteResourceRecordSet(managedZone string, recordSet *v10.ResourceRecordSet) error
DeleteResourceRecordSet mocks base method
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) GetManagedZone ¶
func (m *MockClient) GetManagedZone(managedZone string) (*v10.ManagedZone, error)
GetManagedZone mocks base method
func (*MockClient) ListComputeImages ¶
func (m *MockClient) ListComputeImages(arg0 gcpclient.ListComputeImagesOptions) (*v1.ImageList, error)
ListComputeImages mocks base method
func (*MockClient) ListComputeZones ¶
func (m *MockClient) ListComputeZones(arg0 gcpclient.ListComputeZonesOptions) (*v1.ZoneList, error)
ListComputeZones mocks base method
func (*MockClient) ListManagedZones ¶
func (m *MockClient) ListManagedZones(opts gcpclient.ListManagedZonesOptions) (*v10.ManagedZonesListResponse, error)
ListManagedZones mocks base method
func (*MockClient) ListResourceRecordSets ¶
func (m *MockClient) ListResourceRecordSets(managedZone string, opts gcpclient.ListResourceRecordSetsOptions) (*v10.ResourceRecordSetsListResponse, error)
ListResourceRecordSets mocks base method
func (*MockClient) UpdateResourceRecordSet ¶
func (m *MockClient) UpdateResourceRecordSet(managedZone string, addRecordSet, removeRecordSet *v10.ResourceRecordSet) error
UpdateResourceRecordSet mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) AddResourceRecordSet ¶
func (mr *MockClientMockRecorder) AddResourceRecordSet(managedZone, recordSet interface{}) *gomock.Call
AddResourceRecordSet indicates an expected call of AddResourceRecordSet
func (*MockClientMockRecorder) CreateManagedZone ¶
func (mr *MockClientMockRecorder) CreateManagedZone(managedZone interface{}) *gomock.Call
CreateManagedZone indicates an expected call of CreateManagedZone
func (*MockClientMockRecorder) DeleteManagedZone ¶
func (mr *MockClientMockRecorder) DeleteManagedZone(managedZone interface{}) *gomock.Call
DeleteManagedZone indicates an expected call of DeleteManagedZone
func (*MockClientMockRecorder) DeleteResourceRecordSet ¶
func (mr *MockClientMockRecorder) DeleteResourceRecordSet(managedZone, recordSet interface{}) *gomock.Call
DeleteResourceRecordSet indicates an expected call of DeleteResourceRecordSet
func (*MockClientMockRecorder) GetManagedZone ¶
func (mr *MockClientMockRecorder) GetManagedZone(managedZone interface{}) *gomock.Call
GetManagedZone indicates an expected call of GetManagedZone
func (*MockClientMockRecorder) ListComputeImages ¶
func (mr *MockClientMockRecorder) ListComputeImages(arg0 interface{}) *gomock.Call
ListComputeImages indicates an expected call of ListComputeImages
func (*MockClientMockRecorder) ListComputeZones ¶
func (mr *MockClientMockRecorder) ListComputeZones(arg0 interface{}) *gomock.Call
ListComputeZones indicates an expected call of ListComputeZones
func (*MockClientMockRecorder) ListManagedZones ¶
func (mr *MockClientMockRecorder) ListManagedZones(opts interface{}) *gomock.Call
ListManagedZones indicates an expected call of ListManagedZones
func (*MockClientMockRecorder) ListResourceRecordSets ¶
func (mr *MockClientMockRecorder) ListResourceRecordSets(managedZone, opts interface{}) *gomock.Call
ListResourceRecordSets indicates an expected call of ListResourceRecordSets
func (*MockClientMockRecorder) UpdateResourceRecordSet ¶
func (mr *MockClientMockRecorder) UpdateResourceRecordSet(managedZone, addRecordSet, removeRecordSet interface{}) *gomock.Call
UpdateResourceRecordSet indicates an expected call of UpdateResourceRecordSet