Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CreateOrUpdateRecordSet(ctx context.Context, resourceGroupName, zone, recordSetName string, ...) (dns.RecordSet, error)
- func (m *MockClient) CreateOrUpdateZone(ctx context.Context, resourceGroupName, zone string) (dns.Zone, error)
- func (m *MockClient) DeallocateVirtualMachine(ctx context.Context, resourceGroup, name string) (compute.VirtualMachinesDeallocateFuture, error)
- func (m *MockClient) DeleteRecordSet(ctx context.Context, resourceGroupName, zone, recordSetName string, ...) error
- func (m *MockClient) DeleteZone(ctx context.Context, resourceGroupName, zone string) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetZone(ctx context.Context, resourceGroupName, zone string) (dns.Zone, error)
- func (m *MockClient) ListAllVirtualMachines(ctx context.Context, statusOnly string) (compute.VirtualMachineListResultPage, error)
- func (m *MockClient) ListRecordSetsByZone(ctx context.Context, resourceGroupName, zone, suffix string) (azureclient.RecordSetPage, error)
- func (m *MockClient) ListResourceSKUs(ctx context.Context, filter string) (azureclient.ResourceSKUsPage, error)
- func (m *MockClient) StartVirtualMachine(ctx context.Context, resourceGroup, name string) (compute.VirtualMachinesStartFuture, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CreateOrUpdateRecordSet(ctx, resourceGroupName, zone, recordSetName, recordType, recordSet interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateOrUpdateZone(ctx, resourceGroupName, zone interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeallocateVirtualMachine(ctx, resourceGroup, name interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteRecordSet(ctx, resourceGroupName, zone, recordSetName, recordType interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteZone(ctx, resourceGroupName, zone interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetZone(ctx, resourceGroupName, zone interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListAllVirtualMachines(ctx, statusOnly interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListRecordSetsByZone(ctx, resourceGroupName, zone, suffix interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListResourceSKUs(ctx, filter interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) StartVirtualMachine(ctx, resourceGroup, name interface{}) *gomock.Call
- type MockRecordSetPage
- type MockRecordSetPageMockRecorder
- type MockResourceSKUsPage
- type MockResourceSKUsPageMockRecorder
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) CreateOrUpdateRecordSet ¶ added in v1.0.5
func (m *MockClient) CreateOrUpdateRecordSet(ctx context.Context, resourceGroupName, zone, recordSetName string, recordType dns.RecordType, recordSet dns.RecordSet) (dns.RecordSet, error)
CreateOrUpdateRecordSet mocks base method
func (*MockClient) CreateOrUpdateZone ¶ added in v1.0.5
func (m *MockClient) CreateOrUpdateZone(ctx context.Context, resourceGroupName, zone string) (dns.Zone, error)
CreateOrUpdateZone mocks base method
func (*MockClient) DeallocateVirtualMachine ¶ added in v1.0.11
func (m *MockClient) DeallocateVirtualMachine(ctx context.Context, resourceGroup, name string) (compute.VirtualMachinesDeallocateFuture, error)
DeallocateVirtualMachine mocks base method
func (*MockClient) DeleteRecordSet ¶ added in v1.0.5
func (m *MockClient) DeleteRecordSet(ctx context.Context, resourceGroupName, zone, recordSetName string, recordType dns.RecordType) error
DeleteRecordSet mocks base method
func (*MockClient) DeleteZone ¶ added in v1.0.5
func (m *MockClient) DeleteZone(ctx context.Context, resourceGroupName, zone string) error
DeleteZone 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) ListAllVirtualMachines ¶ added in v1.0.11
func (m *MockClient) ListAllVirtualMachines(ctx context.Context, statusOnly string) (compute.VirtualMachineListResultPage, error)
ListAllVirtualMachines mocks base method
func (*MockClient) ListRecordSetsByZone ¶ added in v1.0.5
func (m *MockClient) ListRecordSetsByZone(ctx context.Context, resourceGroupName, zone, suffix string) (azureclient.RecordSetPage, error)
ListRecordSetsByZone mocks base method
func (*MockClient) ListResourceSKUs ¶
func (m *MockClient) ListResourceSKUs(ctx context.Context, filter string) (azureclient.ResourceSKUsPage, error)
ListResourceSKUs mocks base method
func (*MockClient) StartVirtualMachine ¶ added in v1.0.11
func (m *MockClient) StartVirtualMachine(ctx context.Context, resourceGroup, name string) (compute.VirtualMachinesStartFuture, error)
StartVirtualMachine mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) CreateOrUpdateRecordSet ¶ added in v1.0.5
func (mr *MockClientMockRecorder) CreateOrUpdateRecordSet(ctx, resourceGroupName, zone, recordSetName, recordType, recordSet interface{}) *gomock.Call
CreateOrUpdateRecordSet indicates an expected call of CreateOrUpdateRecordSet
func (*MockClientMockRecorder) CreateOrUpdateZone ¶ added in v1.0.5
func (mr *MockClientMockRecorder) CreateOrUpdateZone(ctx, resourceGroupName, zone interface{}) *gomock.Call
CreateOrUpdateZone indicates an expected call of CreateOrUpdateZone
func (*MockClientMockRecorder) DeallocateVirtualMachine ¶ added in v1.0.11
func (mr *MockClientMockRecorder) DeallocateVirtualMachine(ctx, resourceGroup, name interface{}) *gomock.Call
DeallocateVirtualMachine indicates an expected call of DeallocateVirtualMachine
func (*MockClientMockRecorder) DeleteRecordSet ¶ added in v1.0.5
func (mr *MockClientMockRecorder) DeleteRecordSet(ctx, resourceGroupName, zone, recordSetName, recordType interface{}) *gomock.Call
DeleteRecordSet indicates an expected call of DeleteRecordSet
func (*MockClientMockRecorder) DeleteZone ¶ added in v1.0.5
func (mr *MockClientMockRecorder) DeleteZone(ctx, resourceGroupName, zone interface{}) *gomock.Call
DeleteZone indicates an expected call of DeleteZone
func (*MockClientMockRecorder) GetZone ¶ added in v1.0.5
func (mr *MockClientMockRecorder) GetZone(ctx, resourceGroupName, zone interface{}) *gomock.Call
GetZone indicates an expected call of GetZone
func (*MockClientMockRecorder) ListAllVirtualMachines ¶ added in v1.0.11
func (mr *MockClientMockRecorder) ListAllVirtualMachines(ctx, statusOnly interface{}) *gomock.Call
ListAllVirtualMachines indicates an expected call of ListAllVirtualMachines
func (*MockClientMockRecorder) ListRecordSetsByZone ¶ added in v1.0.5
func (mr *MockClientMockRecorder) ListRecordSetsByZone(ctx, resourceGroupName, zone, suffix interface{}) *gomock.Call
ListRecordSetsByZone indicates an expected call of ListRecordSetsByZone
func (*MockClientMockRecorder) ListResourceSKUs ¶
func (mr *MockClientMockRecorder) ListResourceSKUs(ctx, filter interface{}) *gomock.Call
ListResourceSKUs indicates an expected call of ListResourceSKUs
func (*MockClientMockRecorder) StartVirtualMachine ¶ added in v1.0.11
func (mr *MockClientMockRecorder) StartVirtualMachine(ctx, resourceGroup, name interface{}) *gomock.Call
StartVirtualMachine indicates an expected call of StartVirtualMachine
type MockRecordSetPage ¶ added in v1.0.5
type MockRecordSetPage struct {
// contains filtered or unexported fields
}
MockRecordSetPage is a mock of RecordSetPage interface
func NewMockRecordSetPage ¶ added in v1.0.5
func NewMockRecordSetPage(ctrl *gomock.Controller) *MockRecordSetPage
NewMockRecordSetPage creates a new mock instance
func (*MockRecordSetPage) EXPECT ¶ added in v1.0.5
func (m *MockRecordSetPage) EXPECT() *MockRecordSetPageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRecordSetPage) NextWithContext ¶ added in v1.0.5
func (m *MockRecordSetPage) NextWithContext(ctx context.Context) error
NextWithContext mocks base method
func (*MockRecordSetPage) NotDone ¶ added in v1.0.5
func (m *MockRecordSetPage) NotDone() bool
NotDone mocks base method
func (*MockRecordSetPage) Values ¶ added in v1.0.5
func (m *MockRecordSetPage) Values() []dns.RecordSet
Values mocks base method
type MockRecordSetPageMockRecorder ¶ added in v1.0.5
type MockRecordSetPageMockRecorder struct {
// contains filtered or unexported fields
}
MockRecordSetPageMockRecorder is the mock recorder for MockRecordSetPage
func (*MockRecordSetPageMockRecorder) NextWithContext ¶ added in v1.0.5
func (mr *MockRecordSetPageMockRecorder) NextWithContext(ctx interface{}) *gomock.Call
NextWithContext indicates an expected call of NextWithContext
func (*MockRecordSetPageMockRecorder) NotDone ¶ added in v1.0.5
func (mr *MockRecordSetPageMockRecorder) NotDone() *gomock.Call
NotDone indicates an expected call of NotDone
func (*MockRecordSetPageMockRecorder) Values ¶ added in v1.0.5
func (mr *MockRecordSetPageMockRecorder) Values() *gomock.Call
Values indicates an expected call of Values
type MockResourceSKUsPage ¶
type MockResourceSKUsPage struct {
// contains filtered or unexported fields
}
MockResourceSKUsPage is a mock of ResourceSKUsPage interface
func NewMockResourceSKUsPage ¶
func NewMockResourceSKUsPage(ctrl *gomock.Controller) *MockResourceSKUsPage
NewMockResourceSKUsPage creates a new mock instance
func (*MockResourceSKUsPage) EXPECT ¶
func (m *MockResourceSKUsPage) EXPECT() *MockResourceSKUsPageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResourceSKUsPage) NextWithContext ¶
func (m *MockResourceSKUsPage) NextWithContext(ctx context.Context) error
NextWithContext mocks base method
func (*MockResourceSKUsPage) NotDone ¶
func (m *MockResourceSKUsPage) NotDone() bool
NotDone mocks base method
func (*MockResourceSKUsPage) Values ¶
func (m *MockResourceSKUsPage) Values() []compute.ResourceSku
Values mocks base method
type MockResourceSKUsPageMockRecorder ¶
type MockResourceSKUsPageMockRecorder struct {
// contains filtered or unexported fields
}
MockResourceSKUsPageMockRecorder is the mock recorder for MockResourceSKUsPage
func (*MockResourceSKUsPageMockRecorder) NextWithContext ¶
func (mr *MockResourceSKUsPageMockRecorder) NextWithContext(ctx interface{}) *gomock.Call
NextWithContext indicates an expected call of NextWithContext
func (*MockResourceSKUsPageMockRecorder) NotDone ¶
func (mr *MockResourceSKUsPageMockRecorder) NotDone() *gomock.Call
NotDone indicates an expected call of NotDone
func (*MockResourceSKUsPageMockRecorder) Values ¶
func (mr *MockResourceSKUsPageMockRecorder) Values() *gomock.Call
Values indicates an expected call of Values