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

mocks

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 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) CreateExclusive added in v0.8.1

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

CreateExclusive mocks base method.

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.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) CreateExclusive added in v0.8.1

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

CreateExclusive indicates an expected call of CreateExclusive.

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.

Jump to

Keyboard shortcuts

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