mock

package
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2021 License: Apache-2.0 Imports: 5 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock is a generated GoMock package.

Index

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL