Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockEngine
- func (m *MockEngine) Delete(arg0 context.Context, arg1 *storage.URI) error
- func (m *MockEngine) DeleteByPrefix(arg0 context.Context, arg1 *storage.URI) error
- func (m *MockEngine) EXPECT() *MockEngineMockRecorder
- func (m *MockEngine) Exists(arg0 context.Context, arg1 *storage.URI) (bool, error)
- func (m *MockEngine) Get(arg0 context.Context, arg1 *storage.URI) (storage.Reader, error)
- func (m *MockEngine) List(arg0 context.Context, arg1 *storage.URI) ([]storage.Info, error)
- func (m *MockEngine) Put(arg0 context.Context, arg1 *storage.URI) (io.WriteCloser, error)
- func (m *MockEngine) PutIfNotExists(arg0 context.Context, arg1 *storage.URI, arg2 []byte) error
- func (m *MockEngine) Size(arg0 context.Context, arg1 *storage.URI) (int64, error)
- type MockEngineMockRecorder
- func (mr *MockEngineMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) DeleteByPrefix(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) Exists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) PutIfNotExists(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) Size(arg0, arg1 interface{}) *gomock.Call
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) DeleteByPrefix ¶
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) Put ¶
func (m *MockEngine) Put(arg0 context.Context, arg1 *storage.URI) (io.WriteCloser, error)
Put mocks base method.
func (*MockEngine) PutIfNotExists ¶
PutIfNotExists 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.