Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) AddResourceRecordSet(managedZone string, recordSet *dns.ResourceRecordSet) error
- func (m *MockClient) CreateManagedZone(managedZone *dns.ManagedZone) (*dns.ManagedZone, error)
- func (m *MockClient) DeleteManagedZone(managedZone string) error
- func (m *MockClient) DeleteResourceRecordSet(managedZone string, recordSet *dns.ResourceRecordSet) error
- func (m *MockClient) DeleteResourceRecordSets(managedZone string, recordSet []*dns.ResourceRecordSet) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetManagedZone(managedZone string) (*dns.ManagedZone, error)
- func (m *MockClient) ListComputeImages(arg0 gcpclient.ListComputeImagesOptions) (*compute.ImageList, error)
- func (m *MockClient) ListComputeInstances(arg0 gcpclient.ListComputeInstancesOptions, ...) error
- func (m *MockClient) ListComputeZones(arg0 gcpclient.ListComputeZonesOptions) (*compute.ZoneList, error)
- func (m *MockClient) ListManagedZones(opts gcpclient.ListManagedZonesOptions) (*dns.ManagedZonesListResponse, error)
- func (m *MockClient) ListResourceRecordSets(managedZone string, opts gcpclient.ListResourceRecordSetsOptions) (*dns.ResourceRecordSetsListResponse, error)
- func (m *MockClient) StartInstance(arg0 *compute.Instance) error
- func (m *MockClient) StopInstance(arg0 *compute.Instance) error
- func (m *MockClient) UpdateResourceRecordSet(managedZone string, addRecordSet, removeRecordSet *dns.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) DeleteResourceRecordSets(managedZone, recordSet interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetManagedZone(managedZone interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListComputeImages(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListComputeInstances(arg0, arg1 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) StartInstance(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) StopInstance(arg0 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 *dns.ResourceRecordSet) error
AddResourceRecordSet mocks base method
func (*MockClient) CreateManagedZone ¶
func (m *MockClient) CreateManagedZone(managedZone *dns.ManagedZone) (*dns.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 *dns.ResourceRecordSet) error
DeleteResourceRecordSet mocks base method
func (*MockClient) DeleteResourceRecordSets ¶ added in v1.0.6
func (m *MockClient) DeleteResourceRecordSets(managedZone string, recordSet []*dns.ResourceRecordSet) error
DeleteResourceRecordSets 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) (*dns.ManagedZone, error)
GetManagedZone mocks base method
func (*MockClient) ListComputeImages ¶
func (m *MockClient) ListComputeImages(arg0 gcpclient.ListComputeImagesOptions) (*compute.ImageList, error)
ListComputeImages mocks base method
func (*MockClient) ListComputeInstances ¶ added in v1.0.9
func (m *MockClient) ListComputeInstances(arg0 gcpclient.ListComputeInstancesOptions, arg1 func(*compute.InstanceAggregatedList) error) error
ListComputeInstances mocks base method
func (*MockClient) ListComputeZones ¶
func (m *MockClient) ListComputeZones(arg0 gcpclient.ListComputeZonesOptions) (*compute.ZoneList, error)
ListComputeZones mocks base method
func (*MockClient) ListManagedZones ¶
func (m *MockClient) ListManagedZones(opts gcpclient.ListManagedZonesOptions) (*dns.ManagedZonesListResponse, error)
ListManagedZones mocks base method
func (*MockClient) ListResourceRecordSets ¶
func (m *MockClient) ListResourceRecordSets(managedZone string, opts gcpclient.ListResourceRecordSetsOptions) (*dns.ResourceRecordSetsListResponse, error)
ListResourceRecordSets mocks base method
func (*MockClient) StartInstance ¶ added in v1.0.9
func (m *MockClient) StartInstance(arg0 *compute.Instance) error
StartInstance mocks base method
func (*MockClient) StopInstance ¶ added in v1.0.9
func (m *MockClient) StopInstance(arg0 *compute.Instance) error
StopInstance mocks base method
func (*MockClient) UpdateResourceRecordSet ¶
func (m *MockClient) UpdateResourceRecordSet(managedZone string, addRecordSet, removeRecordSet *dns.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) DeleteResourceRecordSets ¶ added in v1.0.6
func (mr *MockClientMockRecorder) DeleteResourceRecordSets(managedZone, recordSet interface{}) *gomock.Call
DeleteResourceRecordSets indicates an expected call of DeleteResourceRecordSets
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) ListComputeInstances ¶ added in v1.0.9
func (mr *MockClientMockRecorder) ListComputeInstances(arg0, arg1 interface{}) *gomock.Call
ListComputeInstances indicates an expected call of ListComputeInstances
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) StartInstance ¶ added in v1.0.9
func (mr *MockClientMockRecorder) StartInstance(arg0 interface{}) *gomock.Call
StartInstance indicates an expected call of StartInstance
func (*MockClientMockRecorder) StopInstance ¶ added in v1.0.9
func (mr *MockClientMockRecorder) StopInstance(arg0 interface{}) *gomock.Call
StopInstance indicates an expected call of StopInstance
func (*MockClientMockRecorder) UpdateResourceRecordSet ¶
func (mr *MockClientMockRecorder) UpdateResourceRecordSet(managedZone, addRecordSet, removeRecordSet interface{}) *gomock.Call
UpdateResourceRecordSet indicates an expected call of UpdateResourceRecordSet