Documentation ¶
Overview ¶
Package mock_scalesetvms is a generated GoMock package.
Run go generate to regenerate this mock.
Package mock_scalesetvms is a generated GoMock package.
Index ¶
- type MockScaleSetVMScope
- func (m *MockScaleSetVMScope) AdditionalTags() v1alpha4.Tags
- func (m *MockScaleSetVMScope) Authorizer() autorest.Authorizer
- func (m *MockScaleSetVMScope) AvailabilitySetEnabled() bool
- func (m *MockScaleSetVMScope) BaseURI() string
- func (m *MockScaleSetVMScope) ClientID() string
- func (m *MockScaleSetVMScope) ClientSecret() string
- func (m *MockScaleSetVMScope) CloudEnvironment() string
- func (m *MockScaleSetVMScope) CloudProviderConfigOverrides() *v1alpha4.CloudProviderConfigOverrides
- func (m *MockScaleSetVMScope) ClusterName() string
- func (m *MockScaleSetVMScope) EXPECT() *MockScaleSetVMScopeMockRecorder
- func (m *MockScaleSetVMScope) Enabled() bool
- func (m *MockScaleSetVMScope) Error(err error, msg string, keysAndValues ...interface{})
- func (m *MockScaleSetVMScope) GetLongRunningOperationState() *v1alpha4.Future
- func (m *MockScaleSetVMScope) HashKey() string
- func (m *MockScaleSetVMScope) Info(msg string, keysAndValues ...interface{})
- func (m *MockScaleSetVMScope) InstanceID() string
- func (m *MockScaleSetVMScope) Location() string
- func (m *MockScaleSetVMScope) ResourceGroup() string
- func (m *MockScaleSetVMScope) ScaleSetName() string
- func (m *MockScaleSetVMScope) SetLongRunningOperationState(future *v1alpha4.Future)
- func (m *MockScaleSetVMScope) SetVMSSVM(vmssvm *azure.VMSSVM)
- func (m *MockScaleSetVMScope) SubscriptionID() string
- func (m *MockScaleSetVMScope) TenantID() string
- func (m *MockScaleSetVMScope) V(level int) logr.Logger
- func (m *MockScaleSetVMScope) WithName(name string) logr.Logger
- func (m *MockScaleSetVMScope) WithValues(keysAndValues ...interface{}) logr.Logger
- type MockScaleSetVMScopeMockRecorder
- func (mr *MockScaleSetVMScopeMockRecorder) AdditionalTags() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) Authorizer() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) AvailabilitySetEnabled() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) BaseURI() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) ClientID() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) ClientSecret() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) CloudEnvironment() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) CloudProviderConfigOverrides() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) ClusterName() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) Enabled() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) Error(err, msg interface{}, keysAndValues ...interface{}) *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) GetLongRunningOperationState() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) HashKey() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) Info(msg interface{}, keysAndValues ...interface{}) *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) InstanceID() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) Location() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) ResourceGroup() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) ScaleSetName() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) SetLongRunningOperationState(future interface{}) *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) SetVMSSVM(vmssvm interface{}) *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) SubscriptionID() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) TenantID() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) V(level interface{}) *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) WithName(name interface{}) *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) WithValues(keysAndValues ...interface{}) *gomock.Call
- type Mockclient
- func (m *Mockclient) DeleteAsync(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha4.Future, error)
- func (m *Mockclient) EXPECT() *MockclientMockRecorder
- func (m *Mockclient) Get(arg0 context.Context, arg1, arg2, arg3 string) (compute.VirtualMachineScaleSetVM, error)
- func (m *Mockclient) GetResultIfDone(ctx context.Context, future *v1alpha4.Future) (compute.VirtualMachineScaleSetVM, error)
- type MockclientMockRecorder
- type MockgenericScaleSetVMFuture
- func (m *MockgenericScaleSetVMFuture) DoneWithContext(ctx context.Context, sender autorest.Sender) (bool, error)
- func (m *MockgenericScaleSetVMFuture) EXPECT() *MockgenericScaleSetVMFutureMockRecorder
- func (m *MockgenericScaleSetVMFuture) Result(client compute.VirtualMachineScaleSetVMsClient) (compute.VirtualMachineScaleSetVM, error)
- type MockgenericScaleSetVMFutureMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockScaleSetVMScope ¶
type MockScaleSetVMScope struct {
// contains filtered or unexported fields
}
MockScaleSetVMScope is a mock of ScaleSetVMScope interface.
func NewMockScaleSetVMScope ¶
func NewMockScaleSetVMScope(ctrl *gomock.Controller) *MockScaleSetVMScope
NewMockScaleSetVMScope creates a new mock instance.
func (*MockScaleSetVMScope) AdditionalTags ¶
func (m *MockScaleSetVMScope) AdditionalTags() v1alpha4.Tags
AdditionalTags mocks base method.
func (*MockScaleSetVMScope) Authorizer ¶
func (m *MockScaleSetVMScope) Authorizer() autorest.Authorizer
Authorizer mocks base method.
func (*MockScaleSetVMScope) AvailabilitySetEnabled ¶
func (m *MockScaleSetVMScope) AvailabilitySetEnabled() bool
AvailabilitySetEnabled mocks base method.
func (*MockScaleSetVMScope) BaseURI ¶
func (m *MockScaleSetVMScope) BaseURI() string
BaseURI mocks base method.
func (*MockScaleSetVMScope) ClientID ¶
func (m *MockScaleSetVMScope) ClientID() string
ClientID mocks base method.
func (*MockScaleSetVMScope) ClientSecret ¶
func (m *MockScaleSetVMScope) ClientSecret() string
ClientSecret mocks base method.
func (*MockScaleSetVMScope) CloudEnvironment ¶
func (m *MockScaleSetVMScope) CloudEnvironment() string
CloudEnvironment mocks base method.
func (*MockScaleSetVMScope) CloudProviderConfigOverrides ¶
func (m *MockScaleSetVMScope) CloudProviderConfigOverrides() *v1alpha4.CloudProviderConfigOverrides
CloudProviderConfigOverrides mocks base method.
func (*MockScaleSetVMScope) ClusterName ¶
func (m *MockScaleSetVMScope) ClusterName() string
ClusterName mocks base method.
func (*MockScaleSetVMScope) EXPECT ¶
func (m *MockScaleSetVMScope) EXPECT() *MockScaleSetVMScopeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScaleSetVMScope) Enabled ¶
func (m *MockScaleSetVMScope) Enabled() bool
Enabled mocks base method.
func (*MockScaleSetVMScope) Error ¶
func (m *MockScaleSetVMScope) Error(err error, msg string, keysAndValues ...interface{})
Error mocks base method.
func (*MockScaleSetVMScope) GetLongRunningOperationState ¶
func (m *MockScaleSetVMScope) GetLongRunningOperationState() *v1alpha4.Future
GetLongRunningOperationState mocks base method.
func (*MockScaleSetVMScope) HashKey ¶
func (m *MockScaleSetVMScope) HashKey() string
HashKey mocks base method.
func (*MockScaleSetVMScope) Info ¶
func (m *MockScaleSetVMScope) Info(msg string, keysAndValues ...interface{})
Info mocks base method.
func (*MockScaleSetVMScope) InstanceID ¶
func (m *MockScaleSetVMScope) InstanceID() string
InstanceID mocks base method.
func (*MockScaleSetVMScope) Location ¶
func (m *MockScaleSetVMScope) Location() string
Location mocks base method.
func (*MockScaleSetVMScope) ResourceGroup ¶
func (m *MockScaleSetVMScope) ResourceGroup() string
ResourceGroup mocks base method.
func (*MockScaleSetVMScope) ScaleSetName ¶
func (m *MockScaleSetVMScope) ScaleSetName() string
ScaleSetName mocks base method.
func (*MockScaleSetVMScope) SetLongRunningOperationState ¶
func (m *MockScaleSetVMScope) SetLongRunningOperationState(future *v1alpha4.Future)
SetLongRunningOperationState mocks base method.
func (*MockScaleSetVMScope) SetVMSSVM ¶
func (m *MockScaleSetVMScope) SetVMSSVM(vmssvm *azure.VMSSVM)
SetVMSSVM mocks base method.
func (*MockScaleSetVMScope) SubscriptionID ¶
func (m *MockScaleSetVMScope) SubscriptionID() string
SubscriptionID mocks base method.
func (*MockScaleSetVMScope) TenantID ¶
func (m *MockScaleSetVMScope) TenantID() string
TenantID mocks base method.
func (*MockScaleSetVMScope) V ¶
func (m *MockScaleSetVMScope) V(level int) logr.Logger
V mocks base method.
func (*MockScaleSetVMScope) WithName ¶
func (m *MockScaleSetVMScope) WithName(name string) logr.Logger
WithName mocks base method.
func (*MockScaleSetVMScope) WithValues ¶
func (m *MockScaleSetVMScope) WithValues(keysAndValues ...interface{}) logr.Logger
WithValues mocks base method.
type MockScaleSetVMScopeMockRecorder ¶
type MockScaleSetVMScopeMockRecorder struct {
// contains filtered or unexported fields
}
MockScaleSetVMScopeMockRecorder is the mock recorder for MockScaleSetVMScope.
func (*MockScaleSetVMScopeMockRecorder) AdditionalTags ¶
func (mr *MockScaleSetVMScopeMockRecorder) AdditionalTags() *gomock.Call
AdditionalTags indicates an expected call of AdditionalTags.
func (*MockScaleSetVMScopeMockRecorder) Authorizer ¶
func (mr *MockScaleSetVMScopeMockRecorder) Authorizer() *gomock.Call
Authorizer indicates an expected call of Authorizer.
func (*MockScaleSetVMScopeMockRecorder) AvailabilitySetEnabled ¶
func (mr *MockScaleSetVMScopeMockRecorder) AvailabilitySetEnabled() *gomock.Call
AvailabilitySetEnabled indicates an expected call of AvailabilitySetEnabled.
func (*MockScaleSetVMScopeMockRecorder) BaseURI ¶
func (mr *MockScaleSetVMScopeMockRecorder) BaseURI() *gomock.Call
BaseURI indicates an expected call of BaseURI.
func (*MockScaleSetVMScopeMockRecorder) ClientID ¶
func (mr *MockScaleSetVMScopeMockRecorder) ClientID() *gomock.Call
ClientID indicates an expected call of ClientID.
func (*MockScaleSetVMScopeMockRecorder) ClientSecret ¶
func (mr *MockScaleSetVMScopeMockRecorder) ClientSecret() *gomock.Call
ClientSecret indicates an expected call of ClientSecret.
func (*MockScaleSetVMScopeMockRecorder) CloudEnvironment ¶
func (mr *MockScaleSetVMScopeMockRecorder) CloudEnvironment() *gomock.Call
CloudEnvironment indicates an expected call of CloudEnvironment.
func (*MockScaleSetVMScopeMockRecorder) CloudProviderConfigOverrides ¶
func (mr *MockScaleSetVMScopeMockRecorder) CloudProviderConfigOverrides() *gomock.Call
CloudProviderConfigOverrides indicates an expected call of CloudProviderConfigOverrides.
func (*MockScaleSetVMScopeMockRecorder) ClusterName ¶
func (mr *MockScaleSetVMScopeMockRecorder) ClusterName() *gomock.Call
ClusterName indicates an expected call of ClusterName.
func (*MockScaleSetVMScopeMockRecorder) Enabled ¶
func (mr *MockScaleSetVMScopeMockRecorder) Enabled() *gomock.Call
Enabled indicates an expected call of Enabled.
func (*MockScaleSetVMScopeMockRecorder) Error ¶
func (mr *MockScaleSetVMScopeMockRecorder) Error(err, msg interface{}, keysAndValues ...interface{}) *gomock.Call
Error indicates an expected call of Error.
func (*MockScaleSetVMScopeMockRecorder) GetLongRunningOperationState ¶
func (mr *MockScaleSetVMScopeMockRecorder) GetLongRunningOperationState() *gomock.Call
GetLongRunningOperationState indicates an expected call of GetLongRunningOperationState.
func (*MockScaleSetVMScopeMockRecorder) HashKey ¶
func (mr *MockScaleSetVMScopeMockRecorder) HashKey() *gomock.Call
HashKey indicates an expected call of HashKey.
func (*MockScaleSetVMScopeMockRecorder) Info ¶
func (mr *MockScaleSetVMScopeMockRecorder) Info(msg interface{}, keysAndValues ...interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*MockScaleSetVMScopeMockRecorder) InstanceID ¶
func (mr *MockScaleSetVMScopeMockRecorder) InstanceID() *gomock.Call
InstanceID indicates an expected call of InstanceID.
func (*MockScaleSetVMScopeMockRecorder) Location ¶
func (mr *MockScaleSetVMScopeMockRecorder) Location() *gomock.Call
Location indicates an expected call of Location.
func (*MockScaleSetVMScopeMockRecorder) ResourceGroup ¶
func (mr *MockScaleSetVMScopeMockRecorder) ResourceGroup() *gomock.Call
ResourceGroup indicates an expected call of ResourceGroup.
func (*MockScaleSetVMScopeMockRecorder) ScaleSetName ¶
func (mr *MockScaleSetVMScopeMockRecorder) ScaleSetName() *gomock.Call
ScaleSetName indicates an expected call of ScaleSetName.
func (*MockScaleSetVMScopeMockRecorder) SetLongRunningOperationState ¶
func (mr *MockScaleSetVMScopeMockRecorder) SetLongRunningOperationState(future interface{}) *gomock.Call
SetLongRunningOperationState indicates an expected call of SetLongRunningOperationState.
func (*MockScaleSetVMScopeMockRecorder) SetVMSSVM ¶
func (mr *MockScaleSetVMScopeMockRecorder) SetVMSSVM(vmssvm interface{}) *gomock.Call
SetVMSSVM indicates an expected call of SetVMSSVM.
func (*MockScaleSetVMScopeMockRecorder) SubscriptionID ¶
func (mr *MockScaleSetVMScopeMockRecorder) SubscriptionID() *gomock.Call
SubscriptionID indicates an expected call of SubscriptionID.
func (*MockScaleSetVMScopeMockRecorder) TenantID ¶
func (mr *MockScaleSetVMScopeMockRecorder) TenantID() *gomock.Call
TenantID indicates an expected call of TenantID.
func (*MockScaleSetVMScopeMockRecorder) V ¶
func (mr *MockScaleSetVMScopeMockRecorder) V(level interface{}) *gomock.Call
V indicates an expected call of V.
func (*MockScaleSetVMScopeMockRecorder) WithName ¶
func (mr *MockScaleSetVMScopeMockRecorder) WithName(name interface{}) *gomock.Call
WithName indicates an expected call of WithName.
func (*MockScaleSetVMScopeMockRecorder) WithValues ¶
func (mr *MockScaleSetVMScopeMockRecorder) WithValues(keysAndValues ...interface{}) *gomock.Call
WithValues indicates an expected call of WithValues.
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) DeleteAsync ¶
func (m *Mockclient) DeleteAsync(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha4.Future, error)
DeleteAsync 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) Get ¶
func (m *Mockclient) Get(arg0 context.Context, arg1, arg2, arg3 string) (compute.VirtualMachineScaleSetVM, error)
Get mocks base method.
func (*Mockclient) GetResultIfDone ¶
func (m *Mockclient) GetResultIfDone(ctx context.Context, future *v1alpha4.Future) (compute.VirtualMachineScaleSetVM, error)
GetResultIfDone mocks base method.
type MockclientMockRecorder ¶
type MockclientMockRecorder struct {
// contains filtered or unexported fields
}
MockclientMockRecorder is the mock recorder for Mockclient.
func (*MockclientMockRecorder) DeleteAsync ¶
func (mr *MockclientMockRecorder) DeleteAsync(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DeleteAsync indicates an expected call of DeleteAsync.
func (*MockclientMockRecorder) Get ¶
func (mr *MockclientMockRecorder) Get(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockclientMockRecorder) GetResultIfDone ¶
func (mr *MockclientMockRecorder) GetResultIfDone(ctx, future interface{}) *gomock.Call
GetResultIfDone indicates an expected call of GetResultIfDone.
type MockgenericScaleSetVMFuture ¶
type MockgenericScaleSetVMFuture struct {
// contains filtered or unexported fields
}
MockgenericScaleSetVMFuture is a mock of genericScaleSetVMFuture interface.
func NewMockgenericScaleSetVMFuture ¶
func NewMockgenericScaleSetVMFuture(ctrl *gomock.Controller) *MockgenericScaleSetVMFuture
NewMockgenericScaleSetVMFuture creates a new mock instance.
func (*MockgenericScaleSetVMFuture) DoneWithContext ¶
func (m *MockgenericScaleSetVMFuture) DoneWithContext(ctx context.Context, sender autorest.Sender) (bool, error)
DoneWithContext mocks base method.
func (*MockgenericScaleSetVMFuture) EXPECT ¶
func (m *MockgenericScaleSetVMFuture) EXPECT() *MockgenericScaleSetVMFutureMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockgenericScaleSetVMFuture) Result ¶
func (m *MockgenericScaleSetVMFuture) Result(client compute.VirtualMachineScaleSetVMsClient) (compute.VirtualMachineScaleSetVM, error)
Result mocks base method.
type MockgenericScaleSetVMFutureMockRecorder ¶
type MockgenericScaleSetVMFutureMockRecorder struct {
// contains filtered or unexported fields
}
MockgenericScaleSetVMFutureMockRecorder is the mock recorder for MockgenericScaleSetVMFuture.
func (*MockgenericScaleSetVMFutureMockRecorder) DoneWithContext ¶
func (mr *MockgenericScaleSetVMFutureMockRecorder) DoneWithContext(ctx, sender interface{}) *gomock.Call
DoneWithContext indicates an expected call of DoneWithContext.
func (*MockgenericScaleSetVMFutureMockRecorder) Result ¶
func (mr *MockgenericScaleSetVMFutureMockRecorder) Result(client interface{}) *gomock.Call
Result indicates an expected call of Result.