mock

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause 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 MockEngine

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

MockEngine is a mock of Engine interface.

func NewMockEngine

func NewMockEngine(ctrl *gomock.Controller) *MockEngine

NewMockEngine creates a new mock instance.

func (*MockEngine) Delete

func (m *MockEngine) Delete(arg0 context.Context, arg1 *storage.URI) error

Delete mocks base method.

func (*MockEngine) DeleteByPrefix

func (m *MockEngine) DeleteByPrefix(arg0 context.Context, arg1 *storage.URI) error

DeleteByPrefix mocks base method.

func (*MockEngine) EXPECT

func (m *MockEngine) EXPECT() *MockEngineMockRecorder

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

func (*MockEngine) Exists

func (m *MockEngine) Exists(arg0 context.Context, arg1 *storage.URI) (bool, error)

Exists mocks base method.

func (*MockEngine) Get

func (m *MockEngine) Get(arg0 context.Context, arg1 *storage.URI) (storage.Reader, error)

Get mocks base method.

func (*MockEngine) List

func (m *MockEngine) List(arg0 context.Context, arg1 *storage.URI) ([]storage.Info, error)

List mocks base method.

func (*MockEngine) Put

func (m *MockEngine) Put(arg0 context.Context, arg1 *storage.URI) (io.WriteCloser, error)

Put mocks base method.

func (*MockEngine) PutIfNotExists

func (m *MockEngine) PutIfNotExists(arg0 context.Context, arg1 *storage.URI, arg2 []byte) error

PutIfNotExists mocks base method.

func (*MockEngine) Size

func (m *MockEngine) Size(arg0 context.Context, arg1 *storage.URI) (int64, error)

Size mocks base method.

type MockEngineMockRecorder

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

MockEngineMockRecorder is the mock recorder for MockEngine.

func (*MockEngineMockRecorder) Delete

func (mr *MockEngineMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockEngineMockRecorder) DeleteByPrefix

func (mr *MockEngineMockRecorder) DeleteByPrefix(arg0, arg1 interface{}) *gomock.Call

DeleteByPrefix indicates an expected call of DeleteByPrefix.

func (*MockEngineMockRecorder) Exists

func (mr *MockEngineMockRecorder) Exists(arg0, arg1 interface{}) *gomock.Call

Exists indicates an expected call of Exists.

func (*MockEngineMockRecorder) Get

func (mr *MockEngineMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockEngineMockRecorder) List

func (mr *MockEngineMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockEngineMockRecorder) Put

func (mr *MockEngineMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call

Put indicates an expected call of Put.

func (*MockEngineMockRecorder) PutIfNotExists

func (mr *MockEngineMockRecorder) PutIfNotExists(arg0, arg1, arg2 interface{}) *gomock.Call

PutIfNotExists indicates an expected call of PutIfNotExists.

func (*MockEngineMockRecorder) Size

func (mr *MockEngineMockRecorder) Size(arg0, arg1 interface{}) *gomock.Call

Size indicates an expected call of Size.

Jump to

Keyboard shortcuts

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