Documentation ¶
Overview ¶
Package mock_async is a generated GoMock package.
Run go generate to regenerate this mock.
Index ¶
- type MockCreator
- func (m *MockCreator) CreateOrUpdateAsync(ctx context.Context, spec azure0.ResourceSpecGetter, parameters interface{}) (interface{}, azure.FutureAPI, error)
- func (m *MockCreator) EXPECT() *MockCreatorMockRecorder
- func (m *MockCreator) Get(ctx context.Context, spec azure0.ResourceSpecGetter) (interface{}, error)
- func (m *MockCreator) IsDone(ctx context.Context, future azure.FutureAPI) (bool, error)
- func (m *MockCreator) Result(ctx context.Context, future azure.FutureAPI, futureType string) (interface{}, error)
- type MockCreatorMockRecorder
- func (mr *MockCreatorMockRecorder) CreateOrUpdateAsync(ctx, spec, parameters interface{}) *gomock.Call
- func (mr *MockCreatorMockRecorder) Get(ctx, spec interface{}) *gomock.Call
- func (mr *MockCreatorMockRecorder) IsDone(ctx, future interface{}) *gomock.Call
- func (mr *MockCreatorMockRecorder) Result(ctx, future, futureType interface{}) *gomock.Call
- type MockDeleter
- func (m *MockDeleter) DeleteAsync(ctx context.Context, spec azure0.ResourceSpecGetter) (azure.FutureAPI, error)
- func (m *MockDeleter) EXPECT() *MockDeleterMockRecorder
- func (m *MockDeleter) IsDone(ctx context.Context, future azure.FutureAPI) (bool, error)
- func (m *MockDeleter) Result(ctx context.Context, future azure.FutureAPI, futureType string) (interface{}, error)
- type MockDeleterMockRecorder
- type MockFutureHandler
- type MockFutureHandlerMockRecorder
- type MockFutureScope
- func (m *MockFutureScope) DeleteLongRunningOperationState(arg0, arg1 string)
- func (m *MockFutureScope) EXPECT() *MockFutureScopeMockRecorder
- func (m *MockFutureScope) GetLongRunningOperationState(arg0, arg1 string) *v1beta1.Future
- func (m *MockFutureScope) SetLongRunningOperationState(arg0 *v1beta1.Future)
- func (m *MockFutureScope) UpdateDeleteStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- func (m *MockFutureScope) UpdatePatchStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- func (m *MockFutureScope) UpdatePutStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- type MockFutureScopeMockRecorder
- func (mr *MockFutureScopeMockRecorder) DeleteLongRunningOperationState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFutureScopeMockRecorder) GetLongRunningOperationState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFutureScopeMockRecorder) SetLongRunningOperationState(arg0 interface{}) *gomock.Call
- func (mr *MockFutureScopeMockRecorder) UpdateDeleteStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFutureScopeMockRecorder) UpdatePatchStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFutureScopeMockRecorder) UpdatePutStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockGetter
- type MockGetterMockRecorder
- type MockReconciler
- func (m *MockReconciler) CreateResource(ctx context.Context, spec azure0.ResourceSpecGetter, serviceName string) (interface{}, error)
- func (m *MockReconciler) DeleteResource(ctx context.Context, spec azure0.ResourceSpecGetter, serviceName string) error
- func (m *MockReconciler) EXPECT() *MockReconcilerMockRecorder
- type MockReconcilerMockRecorder
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.
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 ¶
func (m *MockDeleter) DeleteAsync(ctx context.Context, spec azure0.ResourceSpecGetter) (azure.FutureAPI, error)
DeleteAsync mocks base method.
func (*MockDeleter) EXPECT ¶
func (m *MockDeleter) EXPECT() *MockDeleterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockFutureHandler) EXPECT() *MockFutureHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 string)
DeleteLongRunningOperationState mocks base method.
func (*MockFutureScope) EXPECT ¶
func (m *MockFutureScope) EXPECT() *MockFutureScopeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFutureScope) GetLongRunningOperationState ¶
func (m *MockFutureScope) GetLongRunningOperationState(arg0, arg1 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 interface{}) *gomock.Call
DeleteLongRunningOperationState indicates an expected call of DeleteLongRunningOperationState.
func (*MockFutureScopeMockRecorder) GetLongRunningOperationState ¶
func (mr *MockFutureScopeMockRecorder) GetLongRunningOperationState(arg0, arg1 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) CreateResource ¶ added in v1.1.0
func (m *MockReconciler) CreateResource(ctx context.Context, spec azure0.ResourceSpecGetter, serviceName string) (interface{}, error)
CreateResource 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
func (m *MockReconciler) EXPECT() *MockReconcilerMockRecorder
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) CreateResource ¶ added in v1.1.0
func (mr *MockReconcilerMockRecorder) CreateResource(ctx, spec, serviceName interface{}) *gomock.Call
CreateResource indicates an expected call of CreateResource.
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.