mock_async

package
v1.0.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 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) (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) IsDone

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

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

CreateOrUpdateAsync indicates an expected call of CreateOrUpdateAsync.

func (*MockCreatorMockRecorder) IsDone

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

IsDone indicates an expected call of IsDone.

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.

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.

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.

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.

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

DeleteLongRunningOperationState mocks base method.

func (*MockFutureScope) EXPECT

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

func (*MockFutureScope) Enabled

func (m *MockFutureScope) Enabled() bool

Enabled mocks base method.

func (*MockFutureScope) Error

func (m *MockFutureScope) Error(err error, msg string, keysAndValues ...interface{})

Error mocks base method.

func (*MockFutureScope) GetLongRunningOperationState

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

GetLongRunningOperationState mocks base method.

func (*MockFutureScope) Info

func (m *MockFutureScope) Info(msg string, keysAndValues ...interface{})

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

func (*MockFutureScope) V

func (m *MockFutureScope) V(level int) logr.Logger

V mocks base method.

func (*MockFutureScope) WithName

func (m *MockFutureScope) WithName(name string) logr.Logger

WithName mocks base method.

func (*MockFutureScope) WithValues

func (m *MockFutureScope) WithValues(keysAndValues ...interface{}) logr.Logger

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

DeleteLongRunningOperationState indicates an expected call of DeleteLongRunningOperationState.

func (*MockFutureScopeMockRecorder) Enabled

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

Enabled indicates an expected call of Enabled.

func (*MockFutureScopeMockRecorder) Error

func (mr *MockFutureScopeMockRecorder) Error(err, msg interface{}, keysAndValues ...interface{}) *gomock.Call

Error indicates an expected call of Error.

func (*MockFutureScopeMockRecorder) GetLongRunningOperationState

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

GetLongRunningOperationState indicates an expected call of GetLongRunningOperationState.

func (*MockFutureScopeMockRecorder) Info

func (mr *MockFutureScopeMockRecorder) Info(msg interface{}, keysAndValues ...interface{}) *gomock.Call

Info indicates an expected call of Info.

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.

func (*MockFutureScopeMockRecorder) V

func (mr *MockFutureScopeMockRecorder) V(level interface{}) *gomock.Call

V indicates an expected call of V.

func (*MockFutureScopeMockRecorder) WithName

func (mr *MockFutureScopeMockRecorder) WithName(name interface{}) *gomock.Call

WithName indicates an expected call of WithName.

func (*MockFutureScopeMockRecorder) WithValues

func (mr *MockFutureScopeMockRecorder) WithValues(keysAndValues ...interface{}) *gomock.Call

WithValues indicates an expected call of WithValues.

Jump to

Keyboard shortcuts

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