mock_async

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: Apache-2.0 Imports: 8 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 struct {
	// contains filtered or unexported fields
}

MockCreator is a mock of Creator interface.

func NewMockCreator

func NewMockCreator(ctrl *gomock.Controller) *MockCreator

NewMockCreator creates a new mock instance.

func (*MockCreator) CreateOrUpdateAsync

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

CreateOrUpdateAsync mocks base method.

func (*MockCreator) EXPECT

func (m *MockCreator) EXPECT() *MockCreatorMockRecorder

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

func (*MockCreator) Get added in v1.1.0

func (m *MockCreator) Get(ctx context.Context, spec azure0.ResourceSpecGetter) (interface{}, error)

Get mocks base method.

func (*MockCreator) IsDone

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

IsDone mocks base method.

func (*MockCreator) Result added in v1.1.0

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

Result mocks base method.

type MockCreatorMockRecorder

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

MockCreatorMockRecorder is the mock recorder for MockCreator.

func (*MockCreatorMockRecorder) CreateOrUpdateAsync

func (mr *MockCreatorMockRecorder) CreateOrUpdateAsync(ctx, spec, parameters interface{}) *gomock.Call

CreateOrUpdateAsync indicates an expected call of CreateOrUpdateAsync.

func (*MockCreatorMockRecorder) Get added in v1.1.0

func (mr *MockCreatorMockRecorder) Get(ctx, spec interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockCreatorMockRecorder) IsDone

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

IsDone indicates an expected call of IsDone.

func (*MockCreatorMockRecorder) Result added in v1.1.0

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

Result indicates an expected call of Result.

type MockDeleter

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

MockDeleter is a mock of Deleter interface.

func NewMockDeleter

func NewMockDeleter(ctrl *gomock.Controller) *MockDeleter

NewMockDeleter creates a new mock instance.

func (*MockDeleter) DeleteAsync

DeleteAsync mocks base method.

func (*MockDeleter) EXPECT

func (m *MockDeleter) EXPECT() *MockDeleterMockRecorder

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

func (*MockDeleter) IsDone

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

IsDone mocks base method.

func (*MockDeleter) Result added in v1.1.0

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

Result mocks base method.

type MockDeleterMockRecorder

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

MockDeleterMockRecorder is the mock recorder for MockDeleter.

func (*MockDeleterMockRecorder) DeleteAsync

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

DeleteAsync indicates an expected call of DeleteAsync.

func (*MockDeleterMockRecorder) IsDone

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

IsDone indicates an expected call of IsDone.

func (*MockDeleterMockRecorder) Result added in v1.1.0

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

Result indicates an expected call of Result.

type MockFutureHandler

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

MockFutureHandler is a mock of FutureHandler interface.

func NewMockFutureHandler

func NewMockFutureHandler(ctrl *gomock.Controller) *MockFutureHandler

NewMockFutureHandler creates a new mock instance.

func (*MockFutureHandler) EXPECT

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

func (*MockFutureHandler) IsDone

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

IsDone mocks base method.

func (*MockFutureHandler) Result added in v1.1.0

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

Result mocks base method.

type MockFutureHandlerMockRecorder

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

MockFutureHandlerMockRecorder is the mock recorder for MockFutureHandler.

func (*MockFutureHandlerMockRecorder) IsDone

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

IsDone indicates an expected call of IsDone.

func (*MockFutureHandlerMockRecorder) Result added in v1.1.0

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

Result indicates an expected call of Result.

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

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

DeleteLongRunningOperationState indicates an expected call of DeleteLongRunningOperationState.

func (*MockFutureScopeMockRecorder) GetLongRunningOperationState

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

GetLongRunningOperationState indicates an expected call of GetLongRunningOperationState.

func (*MockFutureScopeMockRecorder) SetLongRunningOperationState

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

SetLongRunningOperationState indicates an expected call of SetLongRunningOperationState.

func (*MockFutureScopeMockRecorder) UpdateDeleteStatus

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

UpdateDeleteStatus indicates an expected call of UpdateDeleteStatus.

func (*MockFutureScopeMockRecorder) UpdatePatchStatus

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

UpdatePatchStatus indicates an expected call of UpdatePatchStatus.

func (*MockFutureScopeMockRecorder) UpdatePutStatus

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

func (m *MockGetter) Get(ctx context.Context, spec azure0.ResourceSpecGetter) (interface{}, error)

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 interface{}) *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 azure0.ResourceSpecGetter, serviceName string) (interface{}, error)

CreateOrUpdateResource mocks base method.

func (*MockReconciler) DeleteResource added in v1.1.0

func (m *MockReconciler) DeleteResource(ctx context.Context, spec azure0.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 interface{}) *gomock.Call

CreateOrUpdateResource indicates an expected call of CreateOrUpdateResource.

func (*MockReconcilerMockRecorder) DeleteResource added in v1.1.0

func (mr *MockReconcilerMockRecorder) DeleteResource(ctx, spec, serviceName interface{}) *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) (resources.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 interface{}) *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