mock_aso

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: ../interfaces.go

Generated by this command:

mockgen -destination aso_mock.go -package mock_aso -source ../interfaces.go

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 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, spec azure.ASOResourceSpecGetter[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, spec azure.ASOResourceSpecGetter[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, spec, 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, spec, 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) ClusterName added in v1.12.0

func (m *MockScope) ClusterName() string

ClusterName 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) ClusterName added in v1.12.0

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

ClusterName indicates an expected call of ClusterName.

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]) GetActualTags added in v1.11.0

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

GetActualTags mocks base method.

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]) GetActualTags added in v1.11.0

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

GetActualTags indicates an expected call of GetActualTags.

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