mock_virtualmachines

package
v1.10.7 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 10 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

func (m *MockClient) CreateOrUpdateAsync(ctx context.Context, spec azure0.ResourceSpecGetter, parameters interface{}) (interface{}, azure.FutureAPI, error)

CreateOrUpdateAsync mocks base method.

func (*MockClient) DeleteAsync added in v1.1.0

func (m *MockClient) DeleteAsync(ctx context.Context, spec azure0.ResourceSpecGetter) (azure.FutureAPI, 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 azure0.ResourceSpecGetter) (interface{}, error)

Get mocks base method.

func (*MockClient) GetByID added in v1.7.0

func (m *MockClient) GetByID(arg0 context.Context, arg1 string) (compute.VirtualMachine, error)

GetByID mocks base method.

func (*MockClient) GetResultIfDone added in v1.7.0

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

GetResultIfDone mocks base method.

func (*MockClient) IsDone added in v1.1.0

func (m *MockClient) IsDone(ctx context.Context, future azure.FutureAPI) (bool, error)

IsDone mocks base method.

func (*MockClient) Result added in v1.1.0

func (m *MockClient) Result(ctx context.Context, future azure.FutureAPI, futureType string) (interface{}, error)

Result 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, parameters interface{}) *gomock.Call

CreateOrUpdateAsync indicates an expected call of CreateOrUpdateAsync.

func (*MockClientMockRecorder) DeleteAsync added in v1.1.0

func (mr *MockClientMockRecorder) DeleteAsync(ctx, spec interface{}) *gomock.Call

DeleteAsync indicates an expected call of DeleteAsync.

func (*MockClientMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockClientMockRecorder) GetByID added in v1.7.0

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

GetByID indicates an expected call of GetByID.

func (*MockClientMockRecorder) GetResultIfDone added in v1.7.0

func (mr *MockClientMockRecorder) GetResultIfDone(ctx, future interface{}) *gomock.Call

GetResultIfDone indicates an expected call of GetResultIfDone.

func (*MockClientMockRecorder) IsDone added in v1.1.0

func (mr *MockClientMockRecorder) IsDone(ctx, future interface{}) *gomock.Call

IsDone indicates an expected call of IsDone.

func (*MockClientMockRecorder) Result added in v1.1.0

func (mr *MockClientMockRecorder) Result(ctx, future, futureType interface{}) *gomock.Call

Result indicates an expected call of Result.

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

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

Authorizer mocks base method.

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

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

Authorizer indicates an expected call of Authorizer.

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) DeleteLongRunningOperationState added in v1.1.0

func (mr *MockVMScopeMockRecorder) DeleteLongRunningOperationState(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteLongRunningOperationState indicates an expected call of DeleteLongRunningOperationState.

func (*MockVMScopeMockRecorder) GetLongRunningOperationState added in v1.1.0

func (mr *MockVMScopeMockRecorder) GetLongRunningOperationState(arg0, arg1, arg2 interface{}) *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 interface{}) *gomock.Call

SetAddresses indicates an expected call of SetAddresses.

func (*MockVMScopeMockRecorder) SetAnnotation

func (mr *MockVMScopeMockRecorder) SetAnnotation(arg0, arg1 interface{}) *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 interface{}) *gomock.Call

SetConditionFalse indicates an expected call of SetConditionFalse.

func (*MockVMScopeMockRecorder) SetLongRunningOperationState added in v1.1.0

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

SetLongRunningOperationState indicates an expected call of SetLongRunningOperationState.

func (*MockVMScopeMockRecorder) SetProviderID

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

SetProviderID indicates an expected call of SetProviderID.

func (*MockVMScopeMockRecorder) SetVMState

func (mr *MockVMScopeMockRecorder) SetVMState(arg0 interface{}) *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) UpdateDeleteStatus added in v1.1.0

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

UpdateDeleteStatus indicates an expected call of UpdateDeleteStatus.

func (*MockVMScopeMockRecorder) UpdatePatchStatus added in v1.1.0

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

UpdatePatchStatus indicates an expected call of UpdatePatchStatus.

func (*MockVMScopeMockRecorder) UpdatePutStatus added in v1.1.0

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

type MockgenericVMFuture added in v1.7.0

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

MockgenericVMFuture is a mock of genericVMFuture interface.

func NewMockgenericVMFuture added in v1.7.0

func NewMockgenericVMFuture(ctrl *gomock.Controller) *MockgenericVMFuture

NewMockgenericVMFuture creates a new mock instance.

func (*MockgenericVMFuture) DoneWithContext added in v1.7.0

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

DoneWithContext mocks base method.

func (*MockgenericVMFuture) EXPECT added in v1.7.0

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

func (*MockgenericVMFuture) Result added in v1.7.0

Result mocks base method.

type MockgenericVMFutureMockRecorder added in v1.7.0

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

MockgenericVMFutureMockRecorder is the mock recorder for MockgenericVMFuture.

func (*MockgenericVMFutureMockRecorder) DoneWithContext added in v1.7.0

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

DoneWithContext indicates an expected call of DoneWithContext.

func (*MockgenericVMFutureMockRecorder) Result added in v1.7.0

func (mr *MockgenericVMFutureMockRecorder) 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