mocks

package
v4.167.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockWithWatch added in v4.142.0

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

MockWithWatch is a mock of WithWatch interface.

func NewMockWithWatch added in v4.142.0

func NewMockWithWatch(ctrl *gomock.Controller) *MockWithWatch

NewMockWithWatch creates a new mock instance.

func (*MockWithWatch) Create added in v4.142.0

func (m *MockWithWatch) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error

Create mocks base method.

func (*MockWithWatch) Delete added in v4.142.0

func (m *MockWithWatch) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error

Delete mocks base method.

func (*MockWithWatch) DeleteAllOf added in v4.142.0

func (m *MockWithWatch) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error

DeleteAllOf mocks base method.

func (*MockWithWatch) EXPECT added in v4.142.0

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

func (*MockWithWatch) Get added in v4.142.0

Get mocks base method.

func (*MockWithWatch) GroupVersionKindFor added in v4.142.0

func (m *MockWithWatch) GroupVersionKindFor(obj runtime.Object) (schema.GroupVersionKind, error)

GroupVersionKindFor mocks base method.

func (*MockWithWatch) IsObjectNamespaced added in v4.142.0

func (m *MockWithWatch) IsObjectNamespaced(obj runtime.Object) (bool, error)

IsObjectNamespaced mocks base method.

func (*MockWithWatch) List added in v4.142.0

func (m *MockWithWatch) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error

List mocks base method.

func (*MockWithWatch) Patch added in v4.142.0

func (m *MockWithWatch) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error

Patch mocks base method.

func (*MockWithWatch) RESTMapper added in v4.142.0

func (m *MockWithWatch) RESTMapper() meta.RESTMapper

RESTMapper mocks base method.

func (*MockWithWatch) Scheme added in v4.142.0

func (m *MockWithWatch) Scheme() *runtime.Scheme

Scheme mocks base method.

func (*MockWithWatch) Status added in v4.142.0

Status mocks base method.

func (*MockWithWatch) SubResource added in v4.142.0

func (m *MockWithWatch) SubResource(subResource string) client.SubResourceClient

SubResource mocks base method.

func (*MockWithWatch) Update added in v4.142.0

func (m *MockWithWatch) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error

Update mocks base method.

func (*MockWithWatch) Watch added in v4.142.0

Watch mocks base method.

type MockWithWatchMockRecorder added in v4.142.0

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

MockWithWatchMockRecorder is the mock recorder for MockWithWatch.

func (*MockWithWatchMockRecorder) Create added in v4.142.0

func (mr *MockWithWatchMockRecorder) Create(ctx, obj any, opts ...any) *gomock.Call

Create indicates an expected call of Create.

func (*MockWithWatchMockRecorder) Delete added in v4.142.0

func (mr *MockWithWatchMockRecorder) Delete(ctx, obj any, opts ...any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockWithWatchMockRecorder) DeleteAllOf added in v4.142.0

func (mr *MockWithWatchMockRecorder) DeleteAllOf(ctx, obj any, opts ...any) *gomock.Call

DeleteAllOf indicates an expected call of DeleteAllOf.

func (*MockWithWatchMockRecorder) Get added in v4.142.0

func (mr *MockWithWatchMockRecorder) Get(ctx, key, obj any, opts ...any) *gomock.Call

Get indicates an expected call of Get.

func (*MockWithWatchMockRecorder) GroupVersionKindFor added in v4.142.0

func (mr *MockWithWatchMockRecorder) GroupVersionKindFor(obj any) *gomock.Call

GroupVersionKindFor indicates an expected call of GroupVersionKindFor.

func (*MockWithWatchMockRecorder) IsObjectNamespaced added in v4.142.0

func (mr *MockWithWatchMockRecorder) IsObjectNamespaced(obj any) *gomock.Call

IsObjectNamespaced indicates an expected call of IsObjectNamespaced.

func (*MockWithWatchMockRecorder) List added in v4.142.0

func (mr *MockWithWatchMockRecorder) List(ctx, list any, opts ...any) *gomock.Call

List indicates an expected call of List.

func (*MockWithWatchMockRecorder) Patch added in v4.142.0

func (mr *MockWithWatchMockRecorder) Patch(ctx, obj, patch any, opts ...any) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockWithWatchMockRecorder) RESTMapper added in v4.142.0

func (mr *MockWithWatchMockRecorder) RESTMapper() *gomock.Call

RESTMapper indicates an expected call of RESTMapper.

func (*MockWithWatchMockRecorder) Scheme added in v4.142.0

func (mr *MockWithWatchMockRecorder) Scheme() *gomock.Call

Scheme indicates an expected call of Scheme.

func (*MockWithWatchMockRecorder) Status added in v4.142.0

func (mr *MockWithWatchMockRecorder) Status() *gomock.Call

Status indicates an expected call of Status.

func (*MockWithWatchMockRecorder) SubResource added in v4.142.0

func (mr *MockWithWatchMockRecorder) SubResource(subResource any) *gomock.Call

SubResource indicates an expected call of SubResource.

func (*MockWithWatchMockRecorder) Update added in v4.142.0

func (mr *MockWithWatchMockRecorder) Update(ctx, obj any, opts ...any) *gomock.Call

Update indicates an expected call of Update.

func (*MockWithWatchMockRecorder) Watch added in v4.142.0

func (mr *MockWithWatchMockRecorder) Watch(ctx, obj any, opts ...any) *gomock.Call

Watch indicates an expected call of Watch.

type MockcompositionProvider

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

MockcompositionProvider is a mock of compositionProvider interface.

func NewMockcompositionProvider

func NewMockcompositionProvider(ctrl *gomock.Controller) *MockcompositionProvider

NewMockcompositionProvider creates a new mock instance.

func (*MockcompositionProvider) EXPECT

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

func (*MockcompositionProvider) GetComposition

func (m *MockcompositionProvider) GetComposition(ctx context.Context, name string, options *v10.GetOptions) (*v1.Composition, error)

GetComposition mocks base method.

func (*MockcompositionProvider) ListCompositions

ListCompositions mocks base method.

func (*MockcompositionProvider) WatchCompositions

func (m *MockcompositionProvider) WatchCompositions(ctx context.Context, options *internalversion.ListOptions) (watch.Interface, error)

WatchCompositions mocks base method.

type MockcompositionProviderMockRecorder

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

MockcompositionProviderMockRecorder is the mock recorder for MockcompositionProvider.

func (*MockcompositionProviderMockRecorder) GetComposition

func (mr *MockcompositionProviderMockRecorder) GetComposition(ctx, name, options interface{}) *gomock.Call

GetComposition indicates an expected call of GetComposition.

func (*MockcompositionProviderMockRecorder) ListCompositions

func (mr *MockcompositionProviderMockRecorder) ListCompositions(ctx, options interface{}) *gomock.Call

ListCompositions indicates an expected call of ListCompositions.

func (*MockcompositionProviderMockRecorder) WatchCompositions

func (mr *MockcompositionProviderMockRecorder) WatchCompositions(ctx, options interface{}) *gomock.Call

WatchCompositions indicates an expected call of WatchCompositions.

type MocksgbackupProvider

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

MocksgbackupProvider is a mock of sgbackupProvider interface.

func NewMocksgbackupProvider

func NewMocksgbackupProvider(ctrl *gomock.Controller) *MocksgbackupProvider

NewMocksgbackupProvider creates a new mock instance.

func (*MocksgbackupProvider) EXPECT

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

func (*MocksgbackupProvider) GetSGBackup

func (m *MocksgbackupProvider) GetSGBackup(ctx context.Context, name, namespace string, client *dynamic.DynamicClient) (*v1.SGBackupInfo, error)

GetSGBackup mocks base method.

func (*MocksgbackupProvider) ListSGBackup

func (m *MocksgbackupProvider) ListSGBackup(ctx context.Context, namespace string, client *dynamic.DynamicClient, options *internalversion.ListOptions) (*[]v1.SGBackupInfo, error)

ListSGBackup mocks base method.

func (*MocksgbackupProvider) WatchSGBackup

func (m *MocksgbackupProvider) WatchSGBackup(ctx context.Context, namespace string, options *internalversion.ListOptions) (watch.Interface, error)

WatchSGBackup mocks base method.

type MocksgbackupProviderMockRecorder

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

MocksgbackupProviderMockRecorder is the mock recorder for MocksgbackupProvider.

func (*MocksgbackupProviderMockRecorder) GetSGBackup

func (mr *MocksgbackupProviderMockRecorder) GetSGBackup(ctx, name, namespace, client any) *gomock.Call

GetSGBackup indicates an expected call of GetSGBackup.

func (*MocksgbackupProviderMockRecorder) ListSGBackup

func (mr *MocksgbackupProviderMockRecorder) ListSGBackup(ctx, namespace, client, options any) *gomock.Call

ListSGBackup indicates an expected call of ListSGBackup.

func (*MocksgbackupProviderMockRecorder) WatchSGBackup

func (mr *MocksgbackupProviderMockRecorder) WatchSGBackup(ctx, namespace, options any) *gomock.Call

WatchSGBackup indicates an expected call of WatchSGBackup.

type MockvshnPostgresqlProvider

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

MockvshnPostgresqlProvider is a mock of vshnPostgresqlProvider interface.

func NewMockvshnPostgresqlProvider

func NewMockvshnPostgresqlProvider(ctrl *gomock.Controller) *MockvshnPostgresqlProvider

NewMockvshnPostgresqlProvider creates a new mock instance.

func (*MockvshnPostgresqlProvider) Create added in v4.142.0

Create mocks base method.

func (*MockvshnPostgresqlProvider) Delete added in v4.142.0

Delete mocks base method.

func (*MockvshnPostgresqlProvider) DeleteAllOf added in v4.142.0

DeleteAllOf mocks base method.

func (*MockvshnPostgresqlProvider) EXPECT

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

func (*MockvshnPostgresqlProvider) Get added in v4.142.0

Get mocks base method.

func (*MockvshnPostgresqlProvider) GetDynKubeClient added in v4.142.0

func (m *MockvshnPostgresqlProvider) GetDynKubeClient(ctx context.Context, instance client.Object) (*dynamic.DynamicClient, error)

GetDynKubeClient mocks base method.

func (*MockvshnPostgresqlProvider) GetKubeClient added in v4.142.0

func (m *MockvshnPostgresqlProvider) GetKubeClient(ctx context.Context, instance client.Object) (client.WithWatch, error)

GetKubeClient mocks base method.

func (*MockvshnPostgresqlProvider) GroupVersionKindFor added in v4.142.0

func (m *MockvshnPostgresqlProvider) GroupVersionKindFor(obj runtime.Object) (schema.GroupVersionKind, error)

GroupVersionKindFor mocks base method.

func (*MockvshnPostgresqlProvider) IsObjectNamespaced added in v4.142.0

func (m *MockvshnPostgresqlProvider) IsObjectNamespaced(obj runtime.Object) (bool, error)

IsObjectNamespaced mocks base method.

func (*MockvshnPostgresqlProvider) List added in v4.142.0

List mocks base method.

func (*MockvshnPostgresqlProvider) ListVSHNPostgreSQL added in v4.92.0

func (m *MockvshnPostgresqlProvider) ListVSHNPostgreSQL(ctx context.Context, namespace string) (*v1.VSHNPostgreSQLList, error)

ListVSHNPostgreSQL mocks base method.

func (*MockvshnPostgresqlProvider) Patch added in v4.142.0

Patch mocks base method.

func (*MockvshnPostgresqlProvider) RESTMapper added in v4.142.0

func (m *MockvshnPostgresqlProvider) RESTMapper() meta.RESTMapper

RESTMapper mocks base method.

func (*MockvshnPostgresqlProvider) Scheme added in v4.142.0

Scheme mocks base method.

func (*MockvshnPostgresqlProvider) Status added in v4.142.0

Status mocks base method.

func (*MockvshnPostgresqlProvider) SubResource added in v4.142.0

func (m *MockvshnPostgresqlProvider) SubResource(subResource string) client.SubResourceClient

SubResource mocks base method.

func (*MockvshnPostgresqlProvider) Update added in v4.142.0

Update mocks base method.

func (*MockvshnPostgresqlProvider) Watch added in v4.142.0

Watch mocks base method.

type MockvshnPostgresqlProviderMockRecorder

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

MockvshnPostgresqlProviderMockRecorder is the mock recorder for MockvshnPostgresqlProvider.

func (*MockvshnPostgresqlProviderMockRecorder) Create added in v4.142.0

func (mr *MockvshnPostgresqlProviderMockRecorder) Create(ctx, obj any, opts ...any) *gomock.Call

Create indicates an expected call of Create.

func (*MockvshnPostgresqlProviderMockRecorder) Delete added in v4.142.0

func (mr *MockvshnPostgresqlProviderMockRecorder) Delete(ctx, obj any, opts ...any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockvshnPostgresqlProviderMockRecorder) DeleteAllOf added in v4.142.0

func (mr *MockvshnPostgresqlProviderMockRecorder) DeleteAllOf(ctx, obj any, opts ...any) *gomock.Call

DeleteAllOf indicates an expected call of DeleteAllOf.

func (*MockvshnPostgresqlProviderMockRecorder) Get added in v4.142.0

func (mr *MockvshnPostgresqlProviderMockRecorder) Get(ctx, key, obj any, opts ...any) *gomock.Call

Get indicates an expected call of Get.

func (*MockvshnPostgresqlProviderMockRecorder) GetDynKubeClient added in v4.142.0

func (mr *MockvshnPostgresqlProviderMockRecorder) GetDynKubeClient(ctx, instance any) *gomock.Call

GetDynKubeClient indicates an expected call of GetDynKubeClient.

func (*MockvshnPostgresqlProviderMockRecorder) GetKubeClient added in v4.142.0

func (mr *MockvshnPostgresqlProviderMockRecorder) GetKubeClient(ctx, instance any) *gomock.Call

GetKubeClient indicates an expected call of GetKubeClient.

func (*MockvshnPostgresqlProviderMockRecorder) GroupVersionKindFor added in v4.142.0

func (mr *MockvshnPostgresqlProviderMockRecorder) GroupVersionKindFor(obj any) *gomock.Call

GroupVersionKindFor indicates an expected call of GroupVersionKindFor.

func (*MockvshnPostgresqlProviderMockRecorder) IsObjectNamespaced added in v4.142.0

func (mr *MockvshnPostgresqlProviderMockRecorder) IsObjectNamespaced(obj any) *gomock.Call

IsObjectNamespaced indicates an expected call of IsObjectNamespaced.

func (*MockvshnPostgresqlProviderMockRecorder) List added in v4.142.0

func (mr *MockvshnPostgresqlProviderMockRecorder) List(ctx, list any, opts ...any) *gomock.Call

List indicates an expected call of List.

func (*MockvshnPostgresqlProviderMockRecorder) ListVSHNPostgreSQL added in v4.92.0

func (mr *MockvshnPostgresqlProviderMockRecorder) ListVSHNPostgreSQL(ctx, namespace any) *gomock.Call

ListVSHNPostgreSQL indicates an expected call of ListVSHNPostgreSQL.

func (*MockvshnPostgresqlProviderMockRecorder) Patch added in v4.142.0

func (mr *MockvshnPostgresqlProviderMockRecorder) Patch(ctx, obj, patch any, opts ...any) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockvshnPostgresqlProviderMockRecorder) RESTMapper added in v4.142.0

RESTMapper indicates an expected call of RESTMapper.

func (*MockvshnPostgresqlProviderMockRecorder) Scheme added in v4.142.0

Scheme indicates an expected call of Scheme.

func (*MockvshnPostgresqlProviderMockRecorder) Status added in v4.142.0

Status indicates an expected call of Status.

func (*MockvshnPostgresqlProviderMockRecorder) SubResource added in v4.142.0

func (mr *MockvshnPostgresqlProviderMockRecorder) SubResource(subResource any) *gomock.Call

SubResource indicates an expected call of SubResource.

func (*MockvshnPostgresqlProviderMockRecorder) Update added in v4.142.0

func (mr *MockvshnPostgresqlProviderMockRecorder) Update(ctx, obj any, opts ...any) *gomock.Call

Update indicates an expected call of Update.

func (*MockvshnPostgresqlProviderMockRecorder) Watch added in v4.142.0

func (mr *MockvshnPostgresqlProviderMockRecorder) Watch(ctx, obj any, opts ...any) *gomock.Call

Watch indicates an expected call of Watch.

Jump to

Keyboard shortcuts

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