mocks

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mocks provides mock implementations for testing.

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 MockDeployer

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

MockDeployer is a mock of Deployer interface.

func NewMockDeployer

func NewMockDeployer(ctrl *gomock.Controller) *MockDeployer

NewMockDeployer creates a new mock instance.

func (*MockDeployer) Deploy

Deploy mocks base method.

func (*MockDeployer) EXPECT

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

func (*MockDeployer) Undeploy

Undeploy mocks base method.

type MockDeployerMockRecorder

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

MockDeployerMockRecorder is the mock recorder for MockDeployer.

func (*MockDeployerMockRecorder) Deploy

func (mr *MockDeployerMockRecorder) Deploy(ctx, req any) *gomock.Call

Deploy indicates an expected call of Deploy.

func (*MockDeployerMockRecorder) Undeploy

func (mr *MockDeployerMockRecorder) Undeploy(ctx, req any) *gomock.Call

Undeploy indicates an expected call of Undeploy.

type MockObjectStore

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

MockObjectStore is a mock of ObjectStore interface.

func NewMockObjectStore

func NewMockObjectStore(ctrl *gomock.Controller) *MockObjectStore

NewMockObjectStore creates a new mock instance.

func (m *MockObjectStore) AddBucketLink(ctx context.Context, name string, bucket jetstream.ObjectStore) (*jetstream.ObjectInfo, error)

AddBucketLink mocks base method.

AddLink mocks base method.

func (*MockObjectStore) Delete

func (m *MockObjectStore) Delete(ctx context.Context, name string) error

Delete mocks base method.

func (*MockObjectStore) EXPECT

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

func (*MockObjectStore) Get

Get mocks base method.

func (*MockObjectStore) GetBytes

func (m *MockObjectStore) GetBytes(ctx context.Context, name string, opts ...jetstream.GetObjectOpt) ([]byte, error)

GetBytes mocks base method.

func (*MockObjectStore) GetFile

func (m *MockObjectStore) GetFile(ctx context.Context, name, file string, opts ...jetstream.GetObjectOpt) error

GetFile mocks base method.

func (*MockObjectStore) GetInfo

GetInfo mocks base method.

func (*MockObjectStore) GetString

func (m *MockObjectStore) GetString(ctx context.Context, name string, opts ...jetstream.GetObjectOpt) (string, error)

GetString mocks base method.

func (*MockObjectStore) List

List mocks base method.

func (*MockObjectStore) Put

Put mocks base method.

func (*MockObjectStore) PutBytes

func (m *MockObjectStore) PutBytes(ctx context.Context, name string, data []byte) (*jetstream.ObjectInfo, error)

PutBytes mocks base method.

func (*MockObjectStore) PutFile

func (m *MockObjectStore) PutFile(ctx context.Context, file string) (*jetstream.ObjectInfo, error)

PutFile mocks base method.

func (*MockObjectStore) PutString

func (m *MockObjectStore) PutString(ctx context.Context, name, data string) (*jetstream.ObjectInfo, error)

PutString mocks base method.

func (*MockObjectStore) Seal

func (m *MockObjectStore) Seal(ctx context.Context) error

Seal mocks base method.

func (*MockObjectStore) Status

Status mocks base method.

func (*MockObjectStore) UpdateMeta

func (m *MockObjectStore) UpdateMeta(ctx context.Context, name string, meta jetstream.ObjectMeta) error

UpdateMeta mocks base method.

func (*MockObjectStore) Watch

Watch mocks base method.

type MockObjectStoreMockRecorder

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

MockObjectStoreMockRecorder is the mock recorder for MockObjectStore.

func (mr *MockObjectStoreMockRecorder) AddBucketLink(ctx, name, bucket any) *gomock.Call

AddBucketLink indicates an expected call of AddBucketLink.

func (mr *MockObjectStoreMockRecorder) AddLink(ctx, name, obj any) *gomock.Call

AddLink indicates an expected call of AddLink.

func (*MockObjectStoreMockRecorder) Delete

func (mr *MockObjectStoreMockRecorder) Delete(ctx, name any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockObjectStoreMockRecorder) Get

func (mr *MockObjectStoreMockRecorder) Get(ctx, name any, opts ...any) *gomock.Call

Get indicates an expected call of Get.

func (*MockObjectStoreMockRecorder) GetBytes

func (mr *MockObjectStoreMockRecorder) GetBytes(ctx, name any, opts ...any) *gomock.Call

GetBytes indicates an expected call of GetBytes.

func (*MockObjectStoreMockRecorder) GetFile

func (mr *MockObjectStoreMockRecorder) GetFile(ctx, name, file any, opts ...any) *gomock.Call

GetFile indicates an expected call of GetFile.

func (*MockObjectStoreMockRecorder) GetInfo

func (mr *MockObjectStoreMockRecorder) GetInfo(ctx, name any, opts ...any) *gomock.Call

GetInfo indicates an expected call of GetInfo.

func (*MockObjectStoreMockRecorder) GetString

func (mr *MockObjectStoreMockRecorder) GetString(ctx, name any, opts ...any) *gomock.Call

GetString indicates an expected call of GetString.

func (*MockObjectStoreMockRecorder) List

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

List indicates an expected call of List.

func (*MockObjectStoreMockRecorder) Put

func (mr *MockObjectStoreMockRecorder) Put(ctx, obj, reader any) *gomock.Call

Put indicates an expected call of Put.

func (*MockObjectStoreMockRecorder) PutBytes

func (mr *MockObjectStoreMockRecorder) PutBytes(ctx, name, data any) *gomock.Call

PutBytes indicates an expected call of PutBytes.

func (*MockObjectStoreMockRecorder) PutFile

func (mr *MockObjectStoreMockRecorder) PutFile(ctx, file any) *gomock.Call

PutFile indicates an expected call of PutFile.

func (*MockObjectStoreMockRecorder) PutString

func (mr *MockObjectStoreMockRecorder) PutString(ctx, name, data any) *gomock.Call

PutString indicates an expected call of PutString.

func (*MockObjectStoreMockRecorder) Seal

func (mr *MockObjectStoreMockRecorder) Seal(ctx any) *gomock.Call

Seal indicates an expected call of Seal.

func (*MockObjectStoreMockRecorder) Status

func (mr *MockObjectStoreMockRecorder) Status(ctx any) *gomock.Call

Status indicates an expected call of Status.

func (*MockObjectStoreMockRecorder) UpdateMeta

func (mr *MockObjectStoreMockRecorder) UpdateMeta(ctx, name, meta any) *gomock.Call

UpdateMeta indicates an expected call of UpdateMeta.

func (*MockObjectStoreMockRecorder) Watch

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

Watch indicates an expected call of Watch.

type MockProvider

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

MockProvider is a mock of Provider interface.

func NewDefaultMockProvider

func NewDefaultMockProvider(
	ctrl *gomock.Controller,
) *MockProvider

NewDefaultMockProvider creates a Mock with defaults.

func NewMockProvider

func NewMockProvider(ctrl *gomock.Controller) *MockProvider

NewMockProvider creates a new mock instance.

func NewPlainMockProvider

func NewPlainMockProvider(
	ctrl *gomock.Controller,
) *MockProvider

NewPlainMockProvider creates a Mock without defaults.

func (*MockProvider) Deploy

Deploy mocks base method.

func (*MockProvider) EXPECT

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

func (*MockProvider) Status

Status mocks base method.

func (*MockProvider) Undeploy

Undeploy mocks base method.

type MockProviderMockRecorder

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

MockProviderMockRecorder is the mock recorder for MockProvider.

func (*MockProviderMockRecorder) Deploy

func (mr *MockProviderMockRecorder) Deploy(ctx, req any) *gomock.Call

Deploy indicates an expected call of Deploy.

func (*MockProviderMockRecorder) Status

func (mr *MockProviderMockRecorder) Status(ctx, req any) *gomock.Call

Status indicates an expected call of Status.

func (*MockProviderMockRecorder) Undeploy

func (mr *MockProviderMockRecorder) Undeploy(ctx, req any) *gomock.Call

Undeploy indicates an expected call of Undeploy.

Jump to

Keyboard shortcuts

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