Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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 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) Delete

func (m *MockStore) Delete(ctx context.Context, name 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) Exists

func (m *MockStore) Exists(ctx context.Context, name string) (bool, error)

Exists mocks base method.

func (*MockStore) GetReader

func (m *MockStore) GetReader(ctx context.Context, name string) (io.ReadCloser, error)

GetReader mocks base method.

func (*MockStore) GetWriter

func (m *MockStore) GetWriter(ctx context.Context, name string) (io.WriteCloser, error)

GetWriter mocks base method.

func (*MockStore) List

func (m *MockStore) List(ctx context.Context) ([]string, error)

List mocks base method.

func (*MockStore) Load

func (m *MockStore) Load(ctx context.Context, name string, w io.Writer) error

Load mocks base method.

func (*MockStore) Save

func (m *MockStore) Save(ctx context.Context, name string, r io.Reader) error

Save mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockStoreMockRecorder) Exists

func (mr *MockStoreMockRecorder) Exists(ctx, name any) *gomock.Call

Exists indicates an expected call of Exists.

func (*MockStoreMockRecorder) GetReader

func (mr *MockStoreMockRecorder) GetReader(ctx, name any) *gomock.Call

GetReader indicates an expected call of GetReader.

func (*MockStoreMockRecorder) GetWriter

func (mr *MockStoreMockRecorder) GetWriter(ctx, name any) *gomock.Call

GetWriter indicates an expected call of GetWriter.

func (*MockStoreMockRecorder) List

func (mr *MockStoreMockRecorder) List(ctx any) *gomock.Call

List indicates an expected call of List.

func (*MockStoreMockRecorder) Load

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

Load indicates an expected call of Load.

func (*MockStoreMockRecorder) Save

func (mr *MockStoreMockRecorder) Save(ctx, name, r any) *gomock.Call

Save indicates an expected call of Save.

Jump to

Keyboard shortcuts

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