mock

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

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

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) Copy

func (m *MockStore) Copy(ctx context.Context, srcKey, dstKey string) error

Copy mocks base method.

func (*MockStore) Delete

func (m *MockStore) Delete(ctx context.Context, key string) error

Delete mocks base method.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) Load

func (m *MockStore) Load(ctx context.Context, key string) (io.ReadCloser, *store.Headers, error)

Load mocks base method.

func (*MockStore) Store

func (m *MockStore) Store(ctx context.Context, key string, reader io.Reader, headers *store.Headers) error

Store mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) Copy

func (mr *MockStoreMockRecorder) Copy(ctx, srcKey, dstKey any) *gomock.Call

Copy indicates an expected call of Copy.

func (*MockStoreMockRecorder) Delete

func (mr *MockStoreMockRecorder) Delete(ctx, key any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockStoreMockRecorder) Load

func (mr *MockStoreMockRecorder) Load(ctx, key any) *gomock.Call

Load indicates an expected call of Load.

func (*MockStoreMockRecorder) Store

func (mr *MockStoreMockRecorder) Store(ctx, key, reader, headers any) *gomock.Call

Store indicates an expected call of Store.

Jump to

Keyboard shortcuts

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