mock_virtualmachines

package
v1.14.4 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package mock_virtualmachines is a generated GoMock package.

Run go generate to regenerate this mock.

Package mock_virtualmachines 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 added in v1.1.0

CreateOrUpdateAsync mocks base method.

func (*MockClient) DeleteAsync added in v1.1.0

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.1.0

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

CreateOrUpdateAsync indicates an expected call of CreateOrUpdateAsync.

func (*MockClientMockRecorder) DeleteAsync added in v1.1.0

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.

type MockVMScope

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

MockVMScope is a mock of VMScope interface.

func NewMockVMScope

func NewMockVMScope(ctrl *gomock.Controller) *MockVMScope

NewMockVMScope creates a new mock instance.

func (*MockVMScope) BaseURI

func (m *MockVMScope) BaseURI() string

BaseURI mocks base method.

func (*MockVMScope) ClientID

func (m *MockVMScope) ClientID() string

ClientID mocks base method.

func (*MockVMScope) ClientSecret

func (m *MockVMScope) ClientSecret() string

ClientSecret mocks base method.

func (*MockVMScope) CloudEnvironment

func (m *MockVMScope) CloudEnvironment() string

CloudEnvironment mocks base method.

func (*MockVMScope) DefaultedAzureCallTimeout added in v1.13.0

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

DefaultedAzureCallTimeout mocks base method.

func (*MockVMScope) DefaultedAzureServiceReconcileTimeout added in v1.13.0

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

DefaultedAzureServiceReconcileTimeout mocks base method.

func (*MockVMScope) DefaultedReconcilerRequeue added in v1.13.0

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

DefaultedReconcilerRequeue mocks base method.

func (*MockVMScope) DeleteLongRunningOperationState added in v1.1.0

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

DeleteLongRunningOperationState mocks base method.

func (*MockVMScope) EXPECT

func (m *MockVMScope) EXPECT() *MockVMScopeMockRecorder

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

func (*MockVMScope) GetLongRunningOperationState added in v1.1.0

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

GetLongRunningOperationState mocks base method.

func (*MockVMScope) HashKey

func (m *MockVMScope) HashKey() string

HashKey mocks base method.

func (*MockVMScope) SetAddresses

func (m *MockVMScope) SetAddresses(arg0 []v1.NodeAddress)

SetAddresses mocks base method.

func (*MockVMScope) SetAnnotation

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

SetAnnotation mocks base method.

func (*MockVMScope) SetConditionFalse added in v1.7.0

func (m *MockVMScope) SetConditionFalse(arg0 v1beta10.ConditionType, arg1 string, arg2 v1beta10.ConditionSeverity, arg3 string)

SetConditionFalse mocks base method.

func (*MockVMScope) SetLongRunningOperationState added in v1.1.0

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

SetLongRunningOperationState mocks base method.

func (*MockVMScope) SetProviderID

func (m *MockVMScope) SetProviderID(arg0 string)

SetProviderID mocks base method.

func (*MockVMScope) SetVMState

func (m *MockVMScope) SetVMState(arg0 v1beta1.ProvisioningState)

SetVMState mocks base method.

func (*MockVMScope) SubscriptionID

func (m *MockVMScope) SubscriptionID() string

SubscriptionID mocks base method.

func (*MockVMScope) TenantID

func (m *MockVMScope) TenantID() string

TenantID mocks base method.

func (*MockVMScope) Token added in v1.11.0

func (m *MockVMScope) Token() azcore.TokenCredential

Token mocks base method.

func (*MockVMScope) UpdateDeleteStatus added in v1.1.0

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

UpdateDeleteStatus mocks base method.

func (*MockVMScope) UpdatePatchStatus added in v1.1.0

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

UpdatePatchStatus mocks base method.

func (*MockVMScope) UpdatePutStatus added in v1.1.0

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

UpdatePutStatus mocks base method.

func (*MockVMScope) VMSpec

func (m *MockVMScope) VMSpec() azure.ResourceSpecGetter

VMSpec mocks base method.

type MockVMScopeMockRecorder

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

MockVMScopeMockRecorder is the mock recorder for MockVMScope.

func (*MockVMScopeMockRecorder) BaseURI

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

BaseURI indicates an expected call of BaseURI.

func (*MockVMScopeMockRecorder) ClientID

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

ClientID indicates an expected call of ClientID.

func (*MockVMScopeMockRecorder) ClientSecret

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

ClientSecret indicates an expected call of ClientSecret.

func (*MockVMScopeMockRecorder) CloudEnvironment

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

CloudEnvironment indicates an expected call of CloudEnvironment.

func (*MockVMScopeMockRecorder) DefaultedAzureCallTimeout added in v1.13.0

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

DefaultedAzureCallTimeout indicates an expected call of DefaultedAzureCallTimeout.

func (*MockVMScopeMockRecorder) DefaultedAzureServiceReconcileTimeout added in v1.13.0

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

DefaultedAzureServiceReconcileTimeout indicates an expected call of DefaultedAzureServiceReconcileTimeout.

func (*MockVMScopeMockRecorder) DefaultedReconcilerRequeue added in v1.13.0

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

DefaultedReconcilerRequeue indicates an expected call of DefaultedReconcilerRequeue.

func (*MockVMScopeMockRecorder) DeleteLongRunningOperationState added in v1.1.0

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

DeleteLongRunningOperationState indicates an expected call of DeleteLongRunningOperationState.

func (*MockVMScopeMockRecorder) GetLongRunningOperationState added in v1.1.0

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

GetLongRunningOperationState indicates an expected call of GetLongRunningOperationState.

func (*MockVMScopeMockRecorder) HashKey

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

HashKey indicates an expected call of HashKey.

func (*MockVMScopeMockRecorder) SetAddresses

func (mr *MockVMScopeMockRecorder) SetAddresses(arg0 any) *gomock.Call

SetAddresses indicates an expected call of SetAddresses.

func (*MockVMScopeMockRecorder) SetAnnotation

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

SetAnnotation indicates an expected call of SetAnnotation.

func (*MockVMScopeMockRecorder) SetConditionFalse added in v1.7.0

func (mr *MockVMScopeMockRecorder) SetConditionFalse(arg0, arg1, arg2, arg3 any) *gomock.Call

SetConditionFalse indicates an expected call of SetConditionFalse.

func (*MockVMScopeMockRecorder) SetLongRunningOperationState added in v1.1.0

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

SetLongRunningOperationState indicates an expected call of SetLongRunningOperationState.

func (*MockVMScopeMockRecorder) SetProviderID

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

SetProviderID indicates an expected call of SetProviderID.

func (*MockVMScopeMockRecorder) SetVMState

func (mr *MockVMScopeMockRecorder) SetVMState(arg0 any) *gomock.Call

SetVMState indicates an expected call of SetVMState.

func (*MockVMScopeMockRecorder) SubscriptionID

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

SubscriptionID indicates an expected call of SubscriptionID.

func (*MockVMScopeMockRecorder) TenantID

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

TenantID indicates an expected call of TenantID.

func (*MockVMScopeMockRecorder) Token added in v1.11.0

func (mr *MockVMScopeMockRecorder) Token() *gomock.Call

Token indicates an expected call of Token.

func (*MockVMScopeMockRecorder) UpdateDeleteStatus added in v1.1.0

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

UpdateDeleteStatus indicates an expected call of UpdateDeleteStatus.

func (*MockVMScopeMockRecorder) UpdatePatchStatus added in v1.1.0

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

UpdatePatchStatus indicates an expected call of UpdatePatchStatus.

func (*MockVMScopeMockRecorder) UpdatePutStatus added in v1.1.0

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

UpdatePutStatus indicates an expected call of UpdatePutStatus.

func (*MockVMScopeMockRecorder) VMSpec

func (mr *MockVMScopeMockRecorder) VMSpec() *gomock.Call

VMSpec indicates an expected call of VMSpec.

Jump to

Keyboard shortcuts

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