mock_scalesetvms

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

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

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

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) 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) 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(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.

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

BaseURI indicates an expected call of BaseURI.

func (*MockScaleSetVMScopeMockRecorder) ClientID

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

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

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

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

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.

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) (*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

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

func (*MockgenericScaleSetVMFuture) Result

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.

Jump to

Keyboard shortcuts

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