mock_aso

package
v1.14.6 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mock_aso 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 MockPatcher added in v1.14.0

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

MockPatcher is a mock of Patcher interface.

func NewMockPatcher added in v1.14.0

func NewMockPatcher(ctrl *gomock.Controller) *MockPatcher

NewMockPatcher creates a new mock instance.

func (*MockPatcher) EXPECT added in v1.14.0

func (m *MockPatcher) EXPECT() *MockPatcherMockRecorder

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

func (*MockPatcher) ExtraPatches added in v1.14.0

func (m *MockPatcher) ExtraPatches() []string

ExtraPatches mocks base method.

type MockPatcherMockRecorder added in v1.14.0

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

MockPatcherMockRecorder is the mock recorder for MockPatcher.

func (*MockPatcherMockRecorder) ExtraPatches added in v1.14.0

func (mr *MockPatcherMockRecorder) ExtraPatches() *gomock.Call

ExtraPatches indicates an expected call of ExtraPatches.

type MockReconciler

type MockReconciler[T genruntime.MetaObject] struct {
	// contains filtered or unexported fields
}

MockReconciler is a mock of Reconciler interface.

func NewMockReconciler

func NewMockReconciler[T genruntime.MetaObject](ctrl *gomock.Controller) *MockReconciler[T]

NewMockReconciler creates a new mock instance.

func (*MockReconciler[T]) CreateOrUpdateResource

func (m *MockReconciler[T]) CreateOrUpdateResource(ctx context.Context, spec azure.ASOResourceSpecGetter[T], serviceName string) (T, error)

CreateOrUpdateResource mocks base method.

func (*MockReconciler[T]) DeleteResource

func (m *MockReconciler[T]) DeleteResource(ctx context.Context, resource T, serviceName string) error

DeleteResource mocks base method.

func (*MockReconciler[T]) EXPECT

func (m *MockReconciler[T]) EXPECT() *MockReconcilerMockRecorder[T]

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

func (*MockReconciler[T]) PauseResource added in v1.12.0

func (m *MockReconciler[T]) PauseResource(ctx context.Context, resource T, serviceName string) error

PauseResource mocks base method.

type MockReconcilerMockRecorder

type MockReconcilerMockRecorder[T genruntime.MetaObject] struct {
	// contains filtered or unexported fields
}

MockReconcilerMockRecorder is the mock recorder for MockReconciler.

func (*MockReconcilerMockRecorder[T]) CreateOrUpdateResource

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

CreateOrUpdateResource indicates an expected call of CreateOrUpdateResource.

func (*MockReconcilerMockRecorder[T]) DeleteResource

func (mr *MockReconcilerMockRecorder[T]) DeleteResource(ctx, resource, serviceName any) *gomock.Call

DeleteResource indicates an expected call of DeleteResource.

func (*MockReconcilerMockRecorder[T]) PauseResource added in v1.12.0

func (mr *MockReconcilerMockRecorder[T]) PauseResource(ctx, resource, serviceName any) *gomock.Call

PauseResource indicates an expected call of PauseResource.

type MockScope added in v1.12.0

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

MockScope is a mock of Scope interface.

func NewMockScope added in v1.12.0

func NewMockScope(ctrl *gomock.Controller) *MockScope

NewMockScope creates a new mock instance.

func (*MockScope) ASOOwner added in v1.14.0

func (m *MockScope) ASOOwner() client.Object

ASOOwner mocks base method.

func (*MockScope) ClusterName added in v1.12.0

func (m *MockScope) ClusterName() string

ClusterName mocks base method.

func (*MockScope) DefaultedAzureCallTimeout added in v1.13.0

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

DefaultedAzureCallTimeout mocks base method.

func (*MockScope) DefaultedAzureServiceReconcileTimeout added in v1.13.0

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

DefaultedAzureServiceReconcileTimeout mocks base method.

func (*MockScope) DefaultedReconcilerRequeue added in v1.13.0

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

DefaultedReconcilerRequeue mocks base method.

func (*MockScope) DeleteLongRunningOperationState added in v1.12.0

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

DeleteLongRunningOperationState mocks base method.

func (*MockScope) EXPECT added in v1.12.0

func (m *MockScope) EXPECT() *MockScopeMockRecorder

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

func (*MockScope) GetClient added in v1.12.0

func (m *MockScope) GetClient() client.Client

GetClient mocks base method.

func (*MockScope) GetLongRunningOperationState added in v1.12.0

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

GetLongRunningOperationState mocks base method.

func (*MockScope) SetLongRunningOperationState added in v1.12.0

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

SetLongRunningOperationState mocks base method.

func (*MockScope) UpdateDeleteStatus added in v1.12.0

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

UpdateDeleteStatus mocks base method.

func (*MockScope) UpdatePatchStatus added in v1.12.0

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

UpdatePatchStatus mocks base method.

func (*MockScope) UpdatePutStatus added in v1.12.0

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

UpdatePutStatus mocks base method.

type MockScopeMockRecorder added in v1.12.0

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

MockScopeMockRecorder is the mock recorder for MockScope.

func (*MockScopeMockRecorder) ASOOwner added in v1.14.0

func (mr *MockScopeMockRecorder) ASOOwner() *gomock.Call

ASOOwner indicates an expected call of ASOOwner.

func (*MockScopeMockRecorder) ClusterName added in v1.12.0

func (mr *MockScopeMockRecorder) ClusterName() *gomock.Call

ClusterName indicates an expected call of ClusterName.

func (*MockScopeMockRecorder) DefaultedAzureCallTimeout added in v1.13.0

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

DefaultedAzureCallTimeout indicates an expected call of DefaultedAzureCallTimeout.

func (*MockScopeMockRecorder) DefaultedAzureServiceReconcileTimeout added in v1.13.0

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

DefaultedAzureServiceReconcileTimeout indicates an expected call of DefaultedAzureServiceReconcileTimeout.

func (*MockScopeMockRecorder) DefaultedReconcilerRequeue added in v1.13.0

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

DefaultedReconcilerRequeue indicates an expected call of DefaultedReconcilerRequeue.

func (*MockScopeMockRecorder) DeleteLongRunningOperationState added in v1.12.0

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

DeleteLongRunningOperationState indicates an expected call of DeleteLongRunningOperationState.

func (*MockScopeMockRecorder) GetClient added in v1.12.0

func (mr *MockScopeMockRecorder) GetClient() *gomock.Call

GetClient indicates an expected call of GetClient.

func (*MockScopeMockRecorder) GetLongRunningOperationState added in v1.12.0

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

GetLongRunningOperationState indicates an expected call of GetLongRunningOperationState.

func (*MockScopeMockRecorder) SetLongRunningOperationState added in v1.12.0

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

SetLongRunningOperationState indicates an expected call of SetLongRunningOperationState.

func (*MockScopeMockRecorder) UpdateDeleteStatus added in v1.12.0

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

UpdateDeleteStatus indicates an expected call of UpdateDeleteStatus.

func (*MockScopeMockRecorder) UpdatePatchStatus added in v1.12.0

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

UpdatePatchStatus indicates an expected call of UpdatePatchStatus.

func (*MockScopeMockRecorder) UpdatePutStatus added in v1.12.0

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

UpdatePutStatus indicates an expected call of UpdatePutStatus.

type MockTagsGetterSetter added in v1.11.0

type MockTagsGetterSetter[T genruntime.MetaObject] struct {
	// contains filtered or unexported fields
}

MockTagsGetterSetter is a mock of TagsGetterSetter interface.

func NewMockTagsGetterSetter added in v1.11.0

func NewMockTagsGetterSetter[T genruntime.MetaObject](ctrl *gomock.Controller) *MockTagsGetterSetter[T]

NewMockTagsGetterSetter creates a new mock instance.

func (*MockTagsGetterSetter[T]) EXPECT added in v1.11.0

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

func (*MockTagsGetterSetter[T]) GetAdditionalTags added in v1.11.0

func (m *MockTagsGetterSetter[T]) GetAdditionalTags() v1beta1.Tags

GetAdditionalTags mocks base method.

func (*MockTagsGetterSetter[T]) GetDesiredTags added in v1.11.0

func (m *MockTagsGetterSetter[T]) GetDesiredTags(resource T) v1beta1.Tags

GetDesiredTags mocks base method.

func (*MockTagsGetterSetter[T]) SetTags added in v1.11.0

func (m *MockTagsGetterSetter[T]) SetTags(resource T, tags v1beta1.Tags)

SetTags mocks base method.

type MockTagsGetterSetterMockRecorder added in v1.11.0

type MockTagsGetterSetterMockRecorder[T genruntime.MetaObject] struct {
	// contains filtered or unexported fields
}

MockTagsGetterSetterMockRecorder is the mock recorder for MockTagsGetterSetter.

func (*MockTagsGetterSetterMockRecorder[T]) GetAdditionalTags added in v1.11.0

func (mr *MockTagsGetterSetterMockRecorder[T]) GetAdditionalTags() *gomock.Call

GetAdditionalTags indicates an expected call of GetAdditionalTags.

func (*MockTagsGetterSetterMockRecorder[T]) GetDesiredTags added in v1.11.0

func (mr *MockTagsGetterSetterMockRecorder[T]) GetDesiredTags(resource any) *gomock.Call

GetDesiredTags indicates an expected call of GetDesiredTags.

func (*MockTagsGetterSetterMockRecorder[T]) SetTags added in v1.11.0

func (mr *MockTagsGetterSetterMockRecorder[T]) SetTags(resource, tags any) *gomock.Call

SetTags indicates an expected call of SetTags.

Jump to

Keyboard shortcuts

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