mock_scalesets

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 8 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

func (m *MockClient) CreateOrUpdateAsync(arg0 context.Context, arg1, arg2 string, arg3 compute.VirtualMachineScaleSet) (*v1beta1.Future, error)

CreateOrUpdateAsync mocks base method.

func (*MockClient) DeleteAsync

func (m *MockClient) DeleteAsync(arg0 context.Context, arg1, arg2 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 string) (compute.VirtualMachineScaleSet, error)

Get mocks base method.

func (*MockClient) GetResultIfDone

func (m *MockClient) GetResultIfDone(ctx context.Context, future *v1beta1.Future) (compute.VirtualMachineScaleSet, error)

GetResultIfDone mocks base method.

func (*MockClient) List

List mocks base method.

func (*MockClient) ListInstances

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

ListInstances mocks base method.

func (*MockClient) UpdateAsync

func (m *MockClient) UpdateAsync(arg0 context.Context, arg1, arg2 string, arg3 compute.VirtualMachineScaleSetUpdate) (*v1beta1.Future, error)

UpdateAsync mocks base method.

func (*MockClient) UpdateInstances

func (m *MockClient) UpdateInstances(arg0 context.Context, arg1, arg2 string, arg3 []string) error

UpdateInstances 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(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CreateOrUpdateAsync indicates an expected call of CreateOrUpdateAsync.

func (*MockClientMockRecorder) DeleteAsync

func (mr *MockClientMockRecorder) DeleteAsync(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteAsync indicates an expected call of DeleteAsync.

func (*MockClientMockRecorder) Get

func (mr *MockClientMockRecorder) Get(arg0, arg1, arg2 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.

func (*MockClientMockRecorder) List

func (mr *MockClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockClientMockRecorder) ListInstances

func (mr *MockClientMockRecorder) ListInstances(arg0, arg1, arg2 interface{}) *gomock.Call

ListInstances indicates an expected call of ListInstances.

func (*MockClientMockRecorder) UpdateAsync

func (mr *MockClientMockRecorder) UpdateAsync(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateAsync indicates an expected call of UpdateAsync.

func (*MockClientMockRecorder) UpdateInstances

func (mr *MockClientMockRecorder) UpdateInstances(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateInstances indicates an expected call of UpdateInstances.

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) Authorizer

func (m *MockScaleSetScope) Authorizer() autorest.Authorizer

Authorizer 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) 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) GetBootstrapData

func (m *MockScaleSetScope) GetBootstrapData(arg0 context.Context) (string, error)

GetBootstrapData mocks base method.

func (*MockScaleSetScope) GetLongRunningOperationState

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

GetLongRunningOperationState mocks base method.

func (*MockScaleSetScope) GetVMImage

func (m *MockScaleSetScope) GetVMImage(arg0 context.Context) (*v1beta1.Image, error)

GetVMImage mocks base method.

func (*MockScaleSetScope) HasBootstrapDataChanges added in v1.7.3

func (m *MockScaleSetScope) HasBootstrapDataChanges(arg0 context.Context) (bool, error)

HasBootstrapDataChanges mocks base method.

func (*MockScaleSetScope) HasReplicasExternallyManaged added in v1.7.3

func (m *MockScaleSetScope) HasReplicasExternallyManaged(arg0 context.Context) bool

HasReplicasExternallyManaged 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) MaxSurge

func (m *MockScaleSetScope) MaxSurge() (int, error)

MaxSurge 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) SaveVMImageToStatus

func (m *MockScaleSetScope) SaveVMImageToStatus(arg0 *v1beta1.Image)

SaveVMImageToStatus mocks base method.

func (*MockScaleSetScope) ScaleSetSpec

func (m *MockScaleSetScope) ScaleSetSpec() azure.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) 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) Authorizer

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

Authorizer indicates an expected call of Authorizer.

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) DeleteLongRunningOperationState added in v0.5.3

func (mr *MockScaleSetScopeMockRecorder) DeleteLongRunningOperationState(arg0, arg1, arg2 interface{}) *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) GetBootstrapData

func (mr *MockScaleSetScopeMockRecorder) GetBootstrapData(arg0 interface{}) *gomock.Call

GetBootstrapData indicates an expected call of GetBootstrapData.

func (*MockScaleSetScopeMockRecorder) GetLongRunningOperationState

func (mr *MockScaleSetScopeMockRecorder) GetLongRunningOperationState(arg0, arg1, arg2 interface{}) *gomock.Call

GetLongRunningOperationState indicates an expected call of GetLongRunningOperationState.

func (*MockScaleSetScopeMockRecorder) GetVMImage

func (mr *MockScaleSetScopeMockRecorder) GetVMImage(arg0 interface{}) *gomock.Call

GetVMImage indicates an expected call of GetVMImage.

func (*MockScaleSetScopeMockRecorder) HasBootstrapDataChanges added in v1.7.3

func (mr *MockScaleSetScopeMockRecorder) HasBootstrapDataChanges(arg0 interface{}) *gomock.Call

HasBootstrapDataChanges indicates an expected call of HasBootstrapDataChanges.

func (*MockScaleSetScopeMockRecorder) HasReplicasExternallyManaged added in v1.7.3

func (mr *MockScaleSetScopeMockRecorder) HasReplicasExternallyManaged(arg0 interface{}) *gomock.Call

HasReplicasExternallyManaged indicates an expected call of HasReplicasExternallyManaged.

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) MaxSurge

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

MaxSurge indicates an expected call of MaxSurge.

func (*MockScaleSetScopeMockRecorder) ReconcileReplicas added in v1.7.0

func (mr *MockScaleSetScopeMockRecorder) ReconcileReplicas(arg0, arg1 interface{}) *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) SaveVMImageToStatus

func (mr *MockScaleSetScopeMockRecorder) SaveVMImageToStatus(arg0 interface{}) *gomock.Call

SaveVMImageToStatus indicates an expected call of SaveVMImageToStatus.

func (*MockScaleSetScopeMockRecorder) ScaleSetSpec

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

ScaleSetSpec indicates an expected call of ScaleSetSpec.

func (*MockScaleSetScopeMockRecorder) SetAnnotation

func (mr *MockScaleSetScopeMockRecorder) SetAnnotation(arg0, arg1 interface{}) *gomock.Call

SetAnnotation indicates an expected call of SetAnnotation.

func (*MockScaleSetScopeMockRecorder) SetLongRunningOperationState

func (mr *MockScaleSetScopeMockRecorder) SetLongRunningOperationState(arg0 interface{}) *gomock.Call

SetLongRunningOperationState indicates an expected call of SetLongRunningOperationState.

func (*MockScaleSetScopeMockRecorder) SetProviderID

func (mr *MockScaleSetScopeMockRecorder) SetProviderID(arg0 interface{}) *gomock.Call

SetProviderID indicates an expected call of SetProviderID.

func (*MockScaleSetScopeMockRecorder) SetVMSSState

func (mr *MockScaleSetScopeMockRecorder) SetVMSSState(arg0 interface{}) *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) UpdateDeleteStatus added in v0.5.3

func (mr *MockScaleSetScopeMockRecorder) UpdateDeleteStatus(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateDeleteStatus indicates an expected call of UpdateDeleteStatus.

func (*MockScaleSetScopeMockRecorder) UpdatePatchStatus added in v0.5.3

func (mr *MockScaleSetScopeMockRecorder) UpdatePatchStatus(arg0, arg1, arg2 interface{}) *gomock.Call

UpdatePatchStatus indicates an expected call of UpdatePatchStatus.

func (*MockScaleSetScopeMockRecorder) UpdatePutStatus added in v0.5.3

func (mr *MockScaleSetScopeMockRecorder) UpdatePutStatus(arg0, arg1, arg2 interface{}) *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.

type MockgenericScaleSetFuture

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

MockgenericScaleSetFuture is a mock of genericScaleSetFuture interface.

func NewMockgenericScaleSetFuture

func NewMockgenericScaleSetFuture(ctrl *gomock.Controller) *MockgenericScaleSetFuture

NewMockgenericScaleSetFuture creates a new mock instance.

func (*MockgenericScaleSetFuture) DoneWithContext

func (m *MockgenericScaleSetFuture) DoneWithContext(ctx context.Context, sender autorest.Sender) (bool, error)

DoneWithContext mocks base method.

func (*MockgenericScaleSetFuture) EXPECT

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

func (*MockgenericScaleSetFuture) Result

Result mocks base method.

type MockgenericScaleSetFutureMockRecorder

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

MockgenericScaleSetFutureMockRecorder is the mock recorder for MockgenericScaleSetFuture.

func (*MockgenericScaleSetFutureMockRecorder) DoneWithContext

func (mr *MockgenericScaleSetFutureMockRecorder) DoneWithContext(ctx, sender interface{}) *gomock.Call

DoneWithContext indicates an expected call of DoneWithContext.

func (*MockgenericScaleSetFutureMockRecorder) Result

func (mr *MockgenericScaleSetFutureMockRecorder) Result(client interface{}) *gomock.Call

Result indicates an expected call of Result.

Jump to

Keyboard shortcuts

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