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() v1beta1.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() *v1beta1.CloudProviderConfigOverrides
- func (m *MockScaleSetVMScope) ClusterName() string
- func (m *MockScaleSetVMScope) DeleteLongRunningOperationState(arg0, arg1 string)
- func (m *MockScaleSetVMScope) EXPECT() *MockScaleSetVMScopeMockRecorder
- func (m *MockScaleSetVMScope) FailureDomains() []string
- func (m *MockScaleSetVMScope) GetLongRunningOperationState(arg0, arg1 string) *v1beta1.Future
- func (m *MockScaleSetVMScope) HashKey() string
- func (m *MockScaleSetVMScope) InstanceID() string
- func (m *MockScaleSetVMScope) Location() string
- func (m *MockScaleSetVMScope) ResourceGroup() string
- func (m *MockScaleSetVMScope) ScaleSetName() string
- func (m *MockScaleSetVMScope) SetLongRunningOperationState(arg0 *v1beta1.Future)
- func (m *MockScaleSetVMScope) SetVMSSVM(vmssvm *azure.VMSSVM)
- func (m *MockScaleSetVMScope) SubscriptionID() string
- func (m *MockScaleSetVMScope) TenantID() string
- func (m *MockScaleSetVMScope) UpdateDeleteStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- func (m *MockScaleSetVMScope) UpdatePatchStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- func (m *MockScaleSetVMScope) UpdatePutStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- 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) DeleteLongRunningOperationState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) FailureDomains() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) GetLongRunningOperationState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) HashKey() *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(arg0 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) UpdateDeleteStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) UpdatePatchStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) UpdatePutStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- type Mockclient
- func (m *Mockclient) DeleteAsync(arg0 context.Context, arg1, arg2, arg3 string) (*v1beta1.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 *v1beta1.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() v1beta1.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() *v1beta1.CloudProviderConfigOverrides
CloudProviderConfigOverrides mocks base method.
func (*MockScaleSetVMScope) ClusterName ¶
func (m *MockScaleSetVMScope) ClusterName() string
ClusterName mocks base method.
func (*MockScaleSetVMScope) DeleteLongRunningOperationState ¶ added in v0.5.3
func (m *MockScaleSetVMScope) DeleteLongRunningOperationState(arg0, arg1 string)
DeleteLongRunningOperationState 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) FailureDomains ¶ added in v0.5.3
func (m *MockScaleSetVMScope) FailureDomains() []string
FailureDomains mocks base method.
func (*MockScaleSetVMScope) GetLongRunningOperationState ¶
func (m *MockScaleSetVMScope) GetLongRunningOperationState(arg0, arg1 string) *v1beta1.Future
GetLongRunningOperationState mocks base method.
func (*MockScaleSetVMScope) HashKey ¶
func (m *MockScaleSetVMScope) HashKey() string
HashKey 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(arg0 *v1beta1.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) UpdateDeleteStatus ¶ added in v0.5.3
func (m *MockScaleSetVMScope) UpdateDeleteStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
UpdateDeleteStatus mocks base method.
func (*MockScaleSetVMScope) UpdatePatchStatus ¶ added in v0.5.3
func (m *MockScaleSetVMScope) UpdatePatchStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
UpdatePatchStatus mocks base method.
func (*MockScaleSetVMScope) UpdatePutStatus ¶ added in v0.5.3
func (m *MockScaleSetVMScope) UpdatePutStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
UpdatePutStatus 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) DeleteLongRunningOperationState ¶ added in v0.5.3
func (mr *MockScaleSetVMScopeMockRecorder) DeleteLongRunningOperationState(arg0, arg1 interface{}) *gomock.Call
DeleteLongRunningOperationState indicates an expected call of DeleteLongRunningOperationState.
func (*MockScaleSetVMScopeMockRecorder) FailureDomains ¶ added in v0.5.3
func (mr *MockScaleSetVMScopeMockRecorder) FailureDomains() *gomock.Call
FailureDomains indicates an expected call of FailureDomains.
func (*MockScaleSetVMScopeMockRecorder) GetLongRunningOperationState ¶
func (mr *MockScaleSetVMScopeMockRecorder) GetLongRunningOperationState(arg0, arg1 interface{}) *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) 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(arg0 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) UpdateDeleteStatus ¶ added in v0.5.3
func (mr *MockScaleSetVMScopeMockRecorder) UpdateDeleteStatus(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateDeleteStatus indicates an expected call of UpdateDeleteStatus.
func (*MockScaleSetVMScopeMockRecorder) UpdatePatchStatus ¶ added in v0.5.3
func (mr *MockScaleSetVMScopeMockRecorder) UpdatePatchStatus(arg0, arg1, arg2 interface{}) *gomock.Call
UpdatePatchStatus indicates an expected call of UpdatePatchStatus.
func (*MockScaleSetVMScopeMockRecorder) UpdatePutStatus ¶ added in v0.5.3
func (mr *MockScaleSetVMScopeMockRecorder) UpdatePutStatus(arg0, arg1, arg2 interface{}) *gomock.Call
UpdatePutStatus indicates an expected call of UpdatePutStatus.
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) (*v1beta1.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 *v1beta1.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.