mock_async

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: 9 Imported by: 0

Documentation

Overview

Package mock_async is a generated GoMock package.

Run go generate to regenerate this mock.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCreator

type MockCreator[T any] struct {
	// contains filtered or unexported fields
}

MockCreator is a mock of Creator interface.

func NewMockCreator

func NewMockCreator[T any](ctrl *gomock.Controller) *MockCreator[T]

NewMockCreator creates a new mock instance.

func (*MockCreator[T]) CreateOrUpdateAsync

func (m *MockCreator[T]) CreateOrUpdateAsync(ctx context.Context, spec azure.ResourceSpecGetter, resumeToken string, parameters any) (any, *runtime.Poller[T], error)

CreateOrUpdateAsync mocks base method.

func (*MockCreator[T]) EXPECT

func (m *MockCreator[T]) EXPECT() *MockCreatorMockRecorder[T]

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

func (*MockCreator[T]) Get added in v1.1.0

func (m *MockCreator[T]) Get(ctx context.Context, spec azure.ResourceSpecGetter) (any, error)

Get mocks base method.

type MockCreatorMockRecorder

type MockCreatorMockRecorder[T any] struct {
	// contains filtered or unexported fields
}

MockCreatorMockRecorder is the mock recorder for MockCreator.

func (*MockCreatorMockRecorder[T]) CreateOrUpdateAsync

func (mr *MockCreatorMockRecorder[T]) CreateOrUpdateAsync(ctx, spec, resumeToken, parameters any) *gomock.Call

CreateOrUpdateAsync indicates an expected call of CreateOrUpdateAsync.

func (*MockCreatorMockRecorder[T]) Get added in v1.1.0

func (mr *MockCreatorMockRecorder[T]) Get(ctx, spec any) *gomock.Call

Get indicates an expected call of Get.

type MockDeleter

type MockDeleter[T any] struct {
	// contains filtered or unexported fields
}

MockDeleter is a mock of Deleter interface.

func NewMockDeleter

func NewMockDeleter[T any](ctrl *gomock.Controller) *MockDeleter[T]

NewMockDeleter creates a new mock instance.

func (*MockDeleter[T]) DeleteAsync

func (m *MockDeleter[T]) DeleteAsync(ctx context.Context, spec azure.ResourceSpecGetter, resumeToken string) (*runtime.Poller[T], error)

DeleteAsync mocks base method.

func (*MockDeleter[T]) EXPECT

func (m *MockDeleter[T]) EXPECT() *MockDeleterMockRecorder[T]

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

type MockDeleterMockRecorder

type MockDeleterMockRecorder[T any] struct {
	// contains filtered or unexported fields
}

MockDeleterMockRecorder is the mock recorder for MockDeleter.

func (*MockDeleterMockRecorder[T]) DeleteAsync

func (mr *MockDeleterMockRecorder[T]) DeleteAsync(ctx, spec, resumeToken any) *gomock.Call

DeleteAsync indicates an expected call of DeleteAsync.

type MockFutureScope

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

MockFutureScope is a mock of FutureScope interface.

func NewMockFutureScope

func NewMockFutureScope(ctrl *gomock.Controller) *MockFutureScope

NewMockFutureScope creates a new mock instance.

func (*MockFutureScope) DefaultedAzureCallTimeout added in v1.13.0

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

DefaultedAzureCallTimeout mocks base method.

func (*MockFutureScope) DefaultedAzureServiceReconcileTimeout added in v1.13.0

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

DefaultedAzureServiceReconcileTimeout mocks base method.

func (*MockFutureScope) DefaultedReconcilerRequeue added in v1.13.0

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

DefaultedReconcilerRequeue mocks base method.

func (*MockFutureScope) DeleteLongRunningOperationState

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

DeleteLongRunningOperationState mocks base method.

func (*MockFutureScope) EXPECT

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

func (*MockFutureScope) GetLongRunningOperationState

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

GetLongRunningOperationState mocks base method.

func (*MockFutureScope) SetLongRunningOperationState

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

SetLongRunningOperationState mocks base method.

func (*MockFutureScope) UpdateDeleteStatus

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

UpdateDeleteStatus mocks base method.

func (*MockFutureScope) UpdatePatchStatus

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

UpdatePatchStatus mocks base method.

func (*MockFutureScope) UpdatePutStatus

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

UpdatePutStatus mocks base method.

type MockFutureScopeMockRecorder

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

MockFutureScopeMockRecorder is the mock recorder for MockFutureScope.

func (*MockFutureScopeMockRecorder) DefaultedAzureCallTimeout added in v1.13.0

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

DefaultedAzureCallTimeout indicates an expected call of DefaultedAzureCallTimeout.

func (*MockFutureScopeMockRecorder) DefaultedAzureServiceReconcileTimeout added in v1.13.0

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

DefaultedAzureServiceReconcileTimeout indicates an expected call of DefaultedAzureServiceReconcileTimeout.

func (*MockFutureScopeMockRecorder) DefaultedReconcilerRequeue added in v1.13.0

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

DefaultedReconcilerRequeue indicates an expected call of DefaultedReconcilerRequeue.

func (*MockFutureScopeMockRecorder) DeleteLongRunningOperationState

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

DeleteLongRunningOperationState indicates an expected call of DeleteLongRunningOperationState.

func (*MockFutureScopeMockRecorder) GetLongRunningOperationState

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

GetLongRunningOperationState indicates an expected call of GetLongRunningOperationState.

func (*MockFutureScopeMockRecorder) SetLongRunningOperationState

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

SetLongRunningOperationState indicates an expected call of SetLongRunningOperationState.

func (*MockFutureScopeMockRecorder) UpdateDeleteStatus

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

UpdateDeleteStatus indicates an expected call of UpdateDeleteStatus.

func (*MockFutureScopeMockRecorder) UpdatePatchStatus

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

UpdatePatchStatus indicates an expected call of UpdatePatchStatus.

func (*MockFutureScopeMockRecorder) UpdatePutStatus

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

UpdatePutStatus indicates an expected call of UpdatePutStatus.

type MockGetter added in v1.2.0

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

MockGetter is a mock of Getter interface.

func NewMockGetter added in v1.2.0

func NewMockGetter(ctrl *gomock.Controller) *MockGetter

NewMockGetter creates a new mock instance.

func (*MockGetter) EXPECT added in v1.2.0

func (m *MockGetter) EXPECT() *MockGetterMockRecorder

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

func (*MockGetter) Get added in v1.2.0

Get mocks base method.

type MockGetterMockRecorder added in v1.2.0

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

MockGetterMockRecorder is the mock recorder for MockGetter.

func (*MockGetterMockRecorder) Get added in v1.2.0

func (mr *MockGetterMockRecorder) Get(ctx, spec any) *gomock.Call

Get indicates an expected call of Get.

type MockReconciler added in v1.1.0

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

MockReconciler is a mock of Reconciler interface.

func NewMockReconciler added in v1.1.0

func NewMockReconciler(ctrl *gomock.Controller) *MockReconciler

NewMockReconciler creates a new mock instance.

func (*MockReconciler) CreateOrUpdateResource added in v1.6.0

func (m *MockReconciler) CreateOrUpdateResource(ctx context.Context, spec azure.ResourceSpecGetter, serviceName string) (any, error)

CreateOrUpdateResource mocks base method.

func (*MockReconciler) DeleteResource added in v1.1.0

func (m *MockReconciler) DeleteResource(ctx context.Context, spec azure.ResourceSpecGetter, serviceName string) error

DeleteResource mocks base method.

func (*MockReconciler) EXPECT added in v1.1.0

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

type MockReconcilerMockRecorder added in v1.1.0

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

MockReconcilerMockRecorder is the mock recorder for MockReconciler.

func (*MockReconcilerMockRecorder) CreateOrUpdateResource added in v1.6.0

func (mr *MockReconcilerMockRecorder) CreateOrUpdateResource(ctx, spec, serviceName any) *gomock.Call

CreateOrUpdateResource indicates an expected call of CreateOrUpdateResource.

func (*MockReconcilerMockRecorder) DeleteResource added in v1.1.0

func (mr *MockReconcilerMockRecorder) DeleteResource(ctx, spec, serviceName any) *gomock.Call

DeleteResource indicates an expected call of DeleteResource.

type MockTagsGetter added in v1.6.0

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

MockTagsGetter is a mock of TagsGetter interface.

func NewMockTagsGetter added in v1.6.0

func NewMockTagsGetter(ctrl *gomock.Controller) *MockTagsGetter

NewMockTagsGetter creates a new mock instance.

func (*MockTagsGetter) EXPECT added in v1.6.0

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

func (*MockTagsGetter) GetAtScope added in v1.6.0

func (m *MockTagsGetter) GetAtScope(ctx context.Context, scope string) (armresources.TagsResource, error)

GetAtScope mocks base method.

type MockTagsGetterMockRecorder added in v1.6.0

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

MockTagsGetterMockRecorder is the mock recorder for MockTagsGetter.

func (*MockTagsGetterMockRecorder) GetAtScope added in v1.6.0

func (mr *MockTagsGetterMockRecorder) GetAtScope(ctx, scope any) *gomock.Call

GetAtScope indicates an expected call of GetAtScope.

Jump to

Keyboard shortcuts

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