mock_scalesets

package
v1.16.1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package mock_scalesets is a generated GoMock package.

Run go generate to regenerate this mock.

Package mock_scalesets 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) CreateOrUpdateAsync

CreateOrUpdateAsync mocks base method.

func (*MockClient) DeleteAsync

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.

func (*MockClient) List

List mocks base method.

func (*MockClient) ListInstances

func (m *MockClient) ListInstances(arg0 context.Context, arg1, arg2 string) ([]armcompute.VirtualMachineScaleSetVM, error)

ListInstances mocks base method.

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) CreateOrUpdateAsync

func (mr *MockClientMockRecorder) CreateOrUpdateAsync(ctx, spec, resumeToken, parameters any) *gomock.Call

CreateOrUpdateAsync indicates an expected call of CreateOrUpdateAsync.

func (*MockClientMockRecorder) DeleteAsync

func (mr *MockClientMockRecorder) DeleteAsync(ctx, spec, resumeToken any) *gomock.Call

DeleteAsync indicates an expected call of DeleteAsync.

func (*MockClientMockRecorder) Get

func (mr *MockClientMockRecorder) Get(arg0, arg1 any) *gomock.Call

Get indicates an expected call of Get.

func (*MockClientMockRecorder) List

func (mr *MockClientMockRecorder) List(arg0, arg1 any) *gomock.Call

List indicates an expected call of List.

func (*MockClientMockRecorder) ListInstances

func (mr *MockClientMockRecorder) ListInstances(arg0, arg1, arg2 any) *gomock.Call

ListInstances indicates an expected call of ListInstances.

type MockScaleSetScope

type MockScaleSetScope struct {
	// contains filtered or unexported fields
}

MockScaleSetScope is a mock of ScaleSetScope interface.

func NewMockScaleSetScope

func NewMockScaleSetScope(ctrl *gomock.Controller) *MockScaleSetScope

NewMockScaleSetScope creates a new mock instance.

func (*MockScaleSetScope) AdditionalTags

func (m *MockScaleSetScope) AdditionalTags() v1beta1.Tags

AdditionalTags mocks base method.

func (*MockScaleSetScope) AvailabilitySetEnabled

func (m *MockScaleSetScope) AvailabilitySetEnabled() bool

AvailabilitySetEnabled mocks base method.

func (*MockScaleSetScope) BaseURI

func (m *MockScaleSetScope) BaseURI() string

BaseURI mocks base method.

func (*MockScaleSetScope) ClientID

func (m *MockScaleSetScope) ClientID() string

ClientID mocks base method.

func (*MockScaleSetScope) ClientSecret

func (m *MockScaleSetScope) ClientSecret() string

ClientSecret mocks base method.

func (*MockScaleSetScope) CloudEnvironment

func (m *MockScaleSetScope) CloudEnvironment() string

CloudEnvironment mocks base method.

func (*MockScaleSetScope) CloudProviderConfigOverrides

func (m *MockScaleSetScope) CloudProviderConfigOverrides() *v1beta1.CloudProviderConfigOverrides

CloudProviderConfigOverrides mocks base method.

func (*MockScaleSetScope) ClusterName

func (m *MockScaleSetScope) ClusterName() string

ClusterName mocks base method.

func (*MockScaleSetScope) DefaultedAzureCallTimeout added in v1.13.0

func (m *MockScaleSetScope) DefaultedAzureCallTimeout() time.Duration

DefaultedAzureCallTimeout mocks base method.

func (*MockScaleSetScope) DefaultedAzureServiceReconcileTimeout added in v1.13.0

func (m *MockScaleSetScope) DefaultedAzureServiceReconcileTimeout() time.Duration

DefaultedAzureServiceReconcileTimeout mocks base method.

func (*MockScaleSetScope) DefaultedReconcilerRequeue added in v1.13.0

func (m *MockScaleSetScope) DefaultedReconcilerRequeue() time.Duration

DefaultedReconcilerRequeue mocks base method.

func (*MockScaleSetScope) DeleteLongRunningOperationState added in v0.5.3

func (m *MockScaleSetScope) DeleteLongRunningOperationState(arg0, arg1, arg2 string)

DeleteLongRunningOperationState mocks base method.

func (*MockScaleSetScope) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockScaleSetScope) ExtendedLocation added in v1.8.0

func (m *MockScaleSetScope) ExtendedLocation() *v1beta1.ExtendedLocationSpec

ExtendedLocation mocks base method.

func (*MockScaleSetScope) ExtendedLocationName added in v1.8.0

func (m *MockScaleSetScope) ExtendedLocationName() string

ExtendedLocationName mocks base method.

func (*MockScaleSetScope) ExtendedLocationType added in v1.8.0

func (m *MockScaleSetScope) ExtendedLocationType() string

ExtendedLocationType mocks base method.

func (*MockScaleSetScope) FailureDomains added in v0.5.3

func (m *MockScaleSetScope) FailureDomains() []*string

FailureDomains mocks base method.

func (*MockScaleSetScope) GetLongRunningOperationState

func (m *MockScaleSetScope) GetLongRunningOperationState(arg0, arg1, arg2 string) *v1beta1.Future

GetLongRunningOperationState mocks base method.

func (*MockScaleSetScope) HashKey

func (m *MockScaleSetScope) HashKey() string

HashKey mocks base method.

func (*MockScaleSetScope) Location

func (m *MockScaleSetScope) Location() string

Location mocks base method.

func (*MockScaleSetScope) NodeResourceGroup added in v1.12.0

func (m *MockScaleSetScope) NodeResourceGroup() string

NodeResourceGroup mocks base method.

func (*MockScaleSetScope) ReconcileReplicas added in v1.7.0

func (m *MockScaleSetScope) ReconcileReplicas(arg0 context.Context, arg1 *azure.VMSS) error

ReconcileReplicas mocks base method.

func (*MockScaleSetScope) ResourceGroup

func (m *MockScaleSetScope) ResourceGroup() string

ResourceGroup mocks base method.

func (*MockScaleSetScope) ScaleSetSpec

ScaleSetSpec mocks base method.

func (*MockScaleSetScope) SetAnnotation

func (m *MockScaleSetScope) SetAnnotation(arg0, arg1 string)

SetAnnotation mocks base method.

func (*MockScaleSetScope) SetLongRunningOperationState

func (m *MockScaleSetScope) SetLongRunningOperationState(arg0 *v1beta1.Future)

SetLongRunningOperationState mocks base method.

func (*MockScaleSetScope) SetProviderID

func (m *MockScaleSetScope) SetProviderID(arg0 string)

SetProviderID mocks base method.

func (*MockScaleSetScope) SetVMSSState

func (m *MockScaleSetScope) SetVMSSState(arg0 *azure.VMSS)

SetVMSSState mocks base method.

func (*MockScaleSetScope) SubscriptionID

func (m *MockScaleSetScope) SubscriptionID() string

SubscriptionID mocks base method.

func (*MockScaleSetScope) TenantID

func (m *MockScaleSetScope) TenantID() string

TenantID mocks base method.

func (*MockScaleSetScope) Token added in v1.11.0

Token mocks base method.

func (*MockScaleSetScope) UpdateDeleteStatus added in v0.5.3

func (m *MockScaleSetScope) UpdateDeleteStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)

UpdateDeleteStatus mocks base method.

func (*MockScaleSetScope) UpdatePatchStatus added in v0.5.3

func (m *MockScaleSetScope) UpdatePatchStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)

UpdatePatchStatus mocks base method.

func (*MockScaleSetScope) UpdatePutStatus added in v0.5.3

func (m *MockScaleSetScope) UpdatePutStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)

UpdatePutStatus mocks base method.

func (*MockScaleSetScope) VMSSExtensionSpecs

func (m *MockScaleSetScope) VMSSExtensionSpecs() []azure.ResourceSpecGetter

VMSSExtensionSpecs mocks base method.

type MockScaleSetScopeMockRecorder

type MockScaleSetScopeMockRecorder struct {
	// contains filtered or unexported fields
}

MockScaleSetScopeMockRecorder is the mock recorder for MockScaleSetScope.

func (*MockScaleSetScopeMockRecorder) AdditionalTags

func (mr *MockScaleSetScopeMockRecorder) AdditionalTags() *gomock.Call

AdditionalTags indicates an expected call of AdditionalTags.

func (*MockScaleSetScopeMockRecorder) AvailabilitySetEnabled

func (mr *MockScaleSetScopeMockRecorder) AvailabilitySetEnabled() *gomock.Call

AvailabilitySetEnabled indicates an expected call of AvailabilitySetEnabled.

func (*MockScaleSetScopeMockRecorder) BaseURI

func (mr *MockScaleSetScopeMockRecorder) BaseURI() *gomock.Call

BaseURI indicates an expected call of BaseURI.

func (*MockScaleSetScopeMockRecorder) ClientID

func (mr *MockScaleSetScopeMockRecorder) ClientID() *gomock.Call

ClientID indicates an expected call of ClientID.

func (*MockScaleSetScopeMockRecorder) ClientSecret

func (mr *MockScaleSetScopeMockRecorder) ClientSecret() *gomock.Call

ClientSecret indicates an expected call of ClientSecret.

func (*MockScaleSetScopeMockRecorder) CloudEnvironment

func (mr *MockScaleSetScopeMockRecorder) CloudEnvironment() *gomock.Call

CloudEnvironment indicates an expected call of CloudEnvironment.

func (*MockScaleSetScopeMockRecorder) CloudProviderConfigOverrides

func (mr *MockScaleSetScopeMockRecorder) CloudProviderConfigOverrides() *gomock.Call

CloudProviderConfigOverrides indicates an expected call of CloudProviderConfigOverrides.

func (*MockScaleSetScopeMockRecorder) ClusterName

func (mr *MockScaleSetScopeMockRecorder) ClusterName() *gomock.Call

ClusterName indicates an expected call of ClusterName.

func (*MockScaleSetScopeMockRecorder) DefaultedAzureCallTimeout added in v1.13.0

func (mr *MockScaleSetScopeMockRecorder) DefaultedAzureCallTimeout() *gomock.Call

DefaultedAzureCallTimeout indicates an expected call of DefaultedAzureCallTimeout.

func (*MockScaleSetScopeMockRecorder) DefaultedAzureServiceReconcileTimeout added in v1.13.0

func (mr *MockScaleSetScopeMockRecorder) DefaultedAzureServiceReconcileTimeout() *gomock.Call

DefaultedAzureServiceReconcileTimeout indicates an expected call of DefaultedAzureServiceReconcileTimeout.

func (*MockScaleSetScopeMockRecorder) DefaultedReconcilerRequeue added in v1.13.0

func (mr *MockScaleSetScopeMockRecorder) DefaultedReconcilerRequeue() *gomock.Call

DefaultedReconcilerRequeue indicates an expected call of DefaultedReconcilerRequeue.

func (*MockScaleSetScopeMockRecorder) DeleteLongRunningOperationState added in v0.5.3

func (mr *MockScaleSetScopeMockRecorder) DeleteLongRunningOperationState(arg0, arg1, arg2 any) *gomock.Call

DeleteLongRunningOperationState indicates an expected call of DeleteLongRunningOperationState.

func (*MockScaleSetScopeMockRecorder) ExtendedLocation added in v1.8.0

func (mr *MockScaleSetScopeMockRecorder) ExtendedLocation() *gomock.Call

ExtendedLocation indicates an expected call of ExtendedLocation.

func (*MockScaleSetScopeMockRecorder) ExtendedLocationName added in v1.8.0

func (mr *MockScaleSetScopeMockRecorder) ExtendedLocationName() *gomock.Call

ExtendedLocationName indicates an expected call of ExtendedLocationName.

func (*MockScaleSetScopeMockRecorder) ExtendedLocationType added in v1.8.0

func (mr *MockScaleSetScopeMockRecorder) ExtendedLocationType() *gomock.Call

ExtendedLocationType indicates an expected call of ExtendedLocationType.

func (*MockScaleSetScopeMockRecorder) FailureDomains added in v0.5.3

func (mr *MockScaleSetScopeMockRecorder) FailureDomains() *gomock.Call

FailureDomains indicates an expected call of FailureDomains.

func (*MockScaleSetScopeMockRecorder) GetLongRunningOperationState

func (mr *MockScaleSetScopeMockRecorder) GetLongRunningOperationState(arg0, arg1, arg2 any) *gomock.Call

GetLongRunningOperationState indicates an expected call of GetLongRunningOperationState.

func (*MockScaleSetScopeMockRecorder) HashKey

func (mr *MockScaleSetScopeMockRecorder) HashKey() *gomock.Call

HashKey indicates an expected call of HashKey.

func (*MockScaleSetScopeMockRecorder) Location

func (mr *MockScaleSetScopeMockRecorder) Location() *gomock.Call

Location indicates an expected call of Location.

func (*MockScaleSetScopeMockRecorder) NodeResourceGroup added in v1.12.0

func (mr *MockScaleSetScopeMockRecorder) NodeResourceGroup() *gomock.Call

NodeResourceGroup indicates an expected call of NodeResourceGroup.

func (*MockScaleSetScopeMockRecorder) ReconcileReplicas added in v1.7.0

func (mr *MockScaleSetScopeMockRecorder) ReconcileReplicas(arg0, arg1 any) *gomock.Call

ReconcileReplicas indicates an expected call of ReconcileReplicas.

func (*MockScaleSetScopeMockRecorder) ResourceGroup

func (mr *MockScaleSetScopeMockRecorder) ResourceGroup() *gomock.Call

ResourceGroup indicates an expected call of ResourceGroup.

func (*MockScaleSetScopeMockRecorder) ScaleSetSpec

func (mr *MockScaleSetScopeMockRecorder) ScaleSetSpec(arg0 any) *gomock.Call

ScaleSetSpec indicates an expected call of ScaleSetSpec.

func (*MockScaleSetScopeMockRecorder) SetAnnotation

func (mr *MockScaleSetScopeMockRecorder) SetAnnotation(arg0, arg1 any) *gomock.Call

SetAnnotation indicates an expected call of SetAnnotation.

func (*MockScaleSetScopeMockRecorder) SetLongRunningOperationState

func (mr *MockScaleSetScopeMockRecorder) SetLongRunningOperationState(arg0 any) *gomock.Call

SetLongRunningOperationState indicates an expected call of SetLongRunningOperationState.

func (*MockScaleSetScopeMockRecorder) SetProviderID

func (mr *MockScaleSetScopeMockRecorder) SetProviderID(arg0 any) *gomock.Call

SetProviderID indicates an expected call of SetProviderID.

func (*MockScaleSetScopeMockRecorder) SetVMSSState

func (mr *MockScaleSetScopeMockRecorder) SetVMSSState(arg0 any) *gomock.Call

SetVMSSState indicates an expected call of SetVMSSState.

func (*MockScaleSetScopeMockRecorder) SubscriptionID

func (mr *MockScaleSetScopeMockRecorder) SubscriptionID() *gomock.Call

SubscriptionID indicates an expected call of SubscriptionID.

func (*MockScaleSetScopeMockRecorder) TenantID

func (mr *MockScaleSetScopeMockRecorder) TenantID() *gomock.Call

TenantID indicates an expected call of TenantID.

func (*MockScaleSetScopeMockRecorder) Token added in v1.11.0

Token indicates an expected call of Token.

func (*MockScaleSetScopeMockRecorder) UpdateDeleteStatus added in v0.5.3

func (mr *MockScaleSetScopeMockRecorder) UpdateDeleteStatus(arg0, arg1, arg2 any) *gomock.Call

UpdateDeleteStatus indicates an expected call of UpdateDeleteStatus.

func (*MockScaleSetScopeMockRecorder) UpdatePatchStatus added in v0.5.3

func (mr *MockScaleSetScopeMockRecorder) UpdatePatchStatus(arg0, arg1, arg2 any) *gomock.Call

UpdatePatchStatus indicates an expected call of UpdatePatchStatus.

func (*MockScaleSetScopeMockRecorder) UpdatePutStatus added in v0.5.3

func (mr *MockScaleSetScopeMockRecorder) UpdatePutStatus(arg0, arg1, arg2 any) *gomock.Call

UpdatePutStatus indicates an expected call of UpdatePutStatus.

func (*MockScaleSetScopeMockRecorder) VMSSExtensionSpecs

func (mr *MockScaleSetScopeMockRecorder) VMSSExtensionSpecs() *gomock.Call

VMSSExtensionSpecs indicates an expected call of VMSSExtensionSpecs.

Jump to

Keyboard shortcuts

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