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) 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) DefaultedAzureCallTimeout() time.Duration
- func (m *MockScaleSetVMScope) DefaultedAzureServiceReconcileTimeout() time.Duration
- func (m *MockScaleSetVMScope) DefaultedReconcilerRequeue() time.Duration
- func (m *MockScaleSetVMScope) DeleteLongRunningOperationState(arg0, arg1, arg2 string)
- func (m *MockScaleSetVMScope) EXPECT() *MockScaleSetVMScopeMockRecorder
- func (m *MockScaleSetVMScope) ExtendedLocation() *v1beta1.ExtendedLocationSpec
- func (m *MockScaleSetVMScope) ExtendedLocationName() string
- func (m *MockScaleSetVMScope) ExtendedLocationType() string
- func (m *MockScaleSetVMScope) FailureDomains() []*string
- func (m *MockScaleSetVMScope) GetLongRunningOperationState(arg0, arg1, arg2 string) *v1beta1.Future
- func (m *MockScaleSetVMScope) HashKey() string
- func (m *MockScaleSetVMScope) Location() string
- func (m *MockScaleSetVMScope) NodeResourceGroup() string
- func (m *MockScaleSetVMScope) ResourceGroup() string
- func (m *MockScaleSetVMScope) ScaleSetVMSpec() azure.ResourceSpecGetter
- func (m *MockScaleSetVMScope) SetLongRunningOperationState(arg0 *v1beta1.Future)
- func (m *MockScaleSetVMScope) SetVMSSVM(vmssvm *azure.VMSSVM)
- func (m *MockScaleSetVMScope) SetVMSSVMState(state v1beta1.ProvisioningState)
- func (m *MockScaleSetVMScope) SubscriptionID() string
- func (m *MockScaleSetVMScope) TenantID() string
- func (m *MockScaleSetVMScope) Token() azcore.TokenCredential
- 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) 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) DefaultedAzureCallTimeout() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) DefaultedAzureServiceReconcileTimeout() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) DefaultedReconcilerRequeue() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) DeleteLongRunningOperationState(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) ExtendedLocation() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) ExtendedLocationName() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) ExtendedLocationType() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) FailureDomains() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) GetLongRunningOperationState(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) HashKey() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) Location() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) NodeResourceGroup() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) ResourceGroup() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) ScaleSetVMSpec() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) SetLongRunningOperationState(arg0 any) *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) SetVMSSVM(vmssvm any) *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) SetVMSSVMState(state any) *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) SubscriptionID() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) TenantID() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) Token() *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) UpdateDeleteStatus(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) UpdatePatchStatus(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockScaleSetVMScopeMockRecorder) UpdatePutStatus(arg0, arg1, arg2 any) *gomock.Call
- type Mockclient
- func (m *Mockclient) CreateOrUpdateAsync(arg0 context.Context, arg1 azure.ResourceSpecGetter, arg2 string, arg3 any) (any, *runtime.Poller[armcompute.VirtualMachineScaleSetVMsClientUpdateResponse], ...)
- func (m *Mockclient) DeleteAsync(arg0 context.Context, arg1 azure.ResourceSpecGetter, arg2 string) (*runtime.Poller[armcompute.VirtualMachineScaleSetVMsClientDeleteResponse], ...)
- func (m *Mockclient) EXPECT() *MockclientMockRecorder
- func (m *Mockclient) Get(arg0 context.Context, arg1 azure.ResourceSpecGetter) (any, error)
- type MockclientMockRecorder
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) 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) DefaultedAzureCallTimeout ¶ added in v1.13.0
func (m *MockScaleSetVMScope) DefaultedAzureCallTimeout() time.Duration
DefaultedAzureCallTimeout mocks base method.
func (*MockScaleSetVMScope) DefaultedAzureServiceReconcileTimeout ¶ added in v1.13.0
func (m *MockScaleSetVMScope) DefaultedAzureServiceReconcileTimeout() time.Duration
DefaultedAzureServiceReconcileTimeout mocks base method.
func (*MockScaleSetVMScope) DefaultedReconcilerRequeue ¶ added in v1.13.0
func (m *MockScaleSetVMScope) DefaultedReconcilerRequeue() time.Duration
DefaultedReconcilerRequeue mocks base method.
func (*MockScaleSetVMScope) DeleteLongRunningOperationState ¶ added in v0.5.3
func (m *MockScaleSetVMScope) DeleteLongRunningOperationState(arg0, arg1, arg2 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) ExtendedLocation ¶ added in v1.8.0
func (m *MockScaleSetVMScope) ExtendedLocation() *v1beta1.ExtendedLocationSpec
ExtendedLocation mocks base method.
func (*MockScaleSetVMScope) ExtendedLocationName ¶ added in v1.8.0
func (m *MockScaleSetVMScope) ExtendedLocationName() string
ExtendedLocationName mocks base method.
func (*MockScaleSetVMScope) ExtendedLocationType ¶ added in v1.8.0
func (m *MockScaleSetVMScope) ExtendedLocationType() string
ExtendedLocationType mocks base method.
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, arg2 string) *v1beta1.Future
GetLongRunningOperationState mocks base method.
func (*MockScaleSetVMScope) HashKey ¶
func (m *MockScaleSetVMScope) HashKey() string
HashKey mocks base method.
func (*MockScaleSetVMScope) Location ¶
func (m *MockScaleSetVMScope) Location() string
Location mocks base method.
func (*MockScaleSetVMScope) NodeResourceGroup ¶ added in v1.12.0
func (m *MockScaleSetVMScope) NodeResourceGroup() string
NodeResourceGroup mocks base method.
func (*MockScaleSetVMScope) ResourceGroup ¶
func (m *MockScaleSetVMScope) ResourceGroup() string
ResourceGroup mocks base method.
func (*MockScaleSetVMScope) ScaleSetVMSpec ¶ added in v1.11.0
func (m *MockScaleSetVMScope) ScaleSetVMSpec() azure.ResourceSpecGetter
ScaleSetVMSpec 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) SetVMSSVMState ¶ added in v1.11.0
func (m *MockScaleSetVMScope) SetVMSSVMState(state v1beta1.ProvisioningState)
SetVMSSVMState 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) Token ¶ added in v1.11.0
func (m *MockScaleSetVMScope) Token() azcore.TokenCredential
Token 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) 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) DefaultedAzureCallTimeout ¶ added in v1.13.0
func (mr *MockScaleSetVMScopeMockRecorder) DefaultedAzureCallTimeout() *gomock.Call
DefaultedAzureCallTimeout indicates an expected call of DefaultedAzureCallTimeout.
func (*MockScaleSetVMScopeMockRecorder) DefaultedAzureServiceReconcileTimeout ¶ added in v1.13.0
func (mr *MockScaleSetVMScopeMockRecorder) DefaultedAzureServiceReconcileTimeout() *gomock.Call
DefaultedAzureServiceReconcileTimeout indicates an expected call of DefaultedAzureServiceReconcileTimeout.
func (*MockScaleSetVMScopeMockRecorder) DefaultedReconcilerRequeue ¶ added in v1.13.0
func (mr *MockScaleSetVMScopeMockRecorder) DefaultedReconcilerRequeue() *gomock.Call
DefaultedReconcilerRequeue indicates an expected call of DefaultedReconcilerRequeue.
func (*MockScaleSetVMScopeMockRecorder) DeleteLongRunningOperationState ¶ added in v0.5.3
func (mr *MockScaleSetVMScopeMockRecorder) DeleteLongRunningOperationState(arg0, arg1, arg2 any) *gomock.Call
DeleteLongRunningOperationState indicates an expected call of DeleteLongRunningOperationState.
func (*MockScaleSetVMScopeMockRecorder) ExtendedLocation ¶ added in v1.8.0
func (mr *MockScaleSetVMScopeMockRecorder) ExtendedLocation() *gomock.Call
ExtendedLocation indicates an expected call of ExtendedLocation.
func (*MockScaleSetVMScopeMockRecorder) ExtendedLocationName ¶ added in v1.8.0
func (mr *MockScaleSetVMScopeMockRecorder) ExtendedLocationName() *gomock.Call
ExtendedLocationName indicates an expected call of ExtendedLocationName.
func (*MockScaleSetVMScopeMockRecorder) ExtendedLocationType ¶ added in v1.8.0
func (mr *MockScaleSetVMScopeMockRecorder) ExtendedLocationType() *gomock.Call
ExtendedLocationType indicates an expected call of ExtendedLocationType.
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, arg2 any) *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) Location ¶
func (mr *MockScaleSetVMScopeMockRecorder) Location() *gomock.Call
Location indicates an expected call of Location.
func (*MockScaleSetVMScopeMockRecorder) NodeResourceGroup ¶ added in v1.12.0
func (mr *MockScaleSetVMScopeMockRecorder) NodeResourceGroup() *gomock.Call
NodeResourceGroup indicates an expected call of NodeResourceGroup.
func (*MockScaleSetVMScopeMockRecorder) ResourceGroup ¶
func (mr *MockScaleSetVMScopeMockRecorder) ResourceGroup() *gomock.Call
ResourceGroup indicates an expected call of ResourceGroup.
func (*MockScaleSetVMScopeMockRecorder) ScaleSetVMSpec ¶ added in v1.11.0
func (mr *MockScaleSetVMScopeMockRecorder) ScaleSetVMSpec() *gomock.Call
ScaleSetVMSpec indicates an expected call of ScaleSetVMSpec.
func (*MockScaleSetVMScopeMockRecorder) SetLongRunningOperationState ¶
func (mr *MockScaleSetVMScopeMockRecorder) SetLongRunningOperationState(arg0 any) *gomock.Call
SetLongRunningOperationState indicates an expected call of SetLongRunningOperationState.
func (*MockScaleSetVMScopeMockRecorder) SetVMSSVM ¶
func (mr *MockScaleSetVMScopeMockRecorder) SetVMSSVM(vmssvm any) *gomock.Call
SetVMSSVM indicates an expected call of SetVMSSVM.
func (*MockScaleSetVMScopeMockRecorder) SetVMSSVMState ¶ added in v1.11.0
func (mr *MockScaleSetVMScopeMockRecorder) SetVMSSVMState(state any) *gomock.Call
SetVMSSVMState indicates an expected call of SetVMSSVMState.
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) Token ¶ added in v1.11.0
func (mr *MockScaleSetVMScopeMockRecorder) Token() *gomock.Call
Token indicates an expected call of Token.
func (*MockScaleSetVMScopeMockRecorder) UpdateDeleteStatus ¶ added in v0.5.3
func (mr *MockScaleSetVMScopeMockRecorder) UpdateDeleteStatus(arg0, arg1, arg2 any) *gomock.Call
UpdateDeleteStatus indicates an expected call of UpdateDeleteStatus.
func (*MockScaleSetVMScopeMockRecorder) UpdatePatchStatus ¶ added in v0.5.3
func (mr *MockScaleSetVMScopeMockRecorder) UpdatePatchStatus(arg0, arg1, arg2 any) *gomock.Call
UpdatePatchStatus indicates an expected call of UpdatePatchStatus.
func (*MockScaleSetVMScopeMockRecorder) UpdatePutStatus ¶ added in v0.5.3
func (mr *MockScaleSetVMScopeMockRecorder) UpdatePutStatus(arg0, arg1, arg2 any) *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) CreateOrUpdateAsync ¶ added in v1.11.0
func (m *Mockclient) CreateOrUpdateAsync(arg0 context.Context, arg1 azure.ResourceSpecGetter, arg2 string, arg3 any) (any, *runtime.Poller[armcompute.VirtualMachineScaleSetVMsClientUpdateResponse], error)
CreateOrUpdateAsync mocks base method.
func (*Mockclient) DeleteAsync ¶
func (m *Mockclient) DeleteAsync(arg0 context.Context, arg1 azure.ResourceSpecGetter, arg2 string) (*runtime.Poller[armcompute.VirtualMachineScaleSetVMsClientDeleteResponse], 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 azure.ResourceSpecGetter) (any, error)
Get mocks base method.
type MockclientMockRecorder ¶
type MockclientMockRecorder struct {
// contains filtered or unexported fields
}
MockclientMockRecorder is the mock recorder for Mockclient.
func (*MockclientMockRecorder) CreateOrUpdateAsync ¶ added in v1.11.0
func (mr *MockclientMockRecorder) CreateOrUpdateAsync(arg0, arg1, arg2, arg3 any) *gomock.Call
CreateOrUpdateAsync indicates an expected call of CreateOrUpdateAsync.
func (*MockclientMockRecorder) DeleteAsync ¶
func (mr *MockclientMockRecorder) DeleteAsync(arg0, arg1, arg2 any) *gomock.Call
DeleteAsync indicates an expected call of DeleteAsync.