Version: v0.0.0-...-9649b88 Latest Latest

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 2 Imported by: 0




This section is empty.


This section is empty.


This section is empty.


type MockDbAccessor

type MockDbAccessor struct {
	// contains filtered or unexported fields

Mock of DbAccessor interface

func NewMockDbAccessor

func NewMockDbAccessor(ctrl *gomock.Controller) *MockDbAccessor

func (*MockDbAccessor) DeleteDir

func (_m *MockDbAccessor) DeleteDir(_param0 string) error

func (*MockDbAccessor) DeleteLeaf

func (_m *MockDbAccessor) DeleteLeaf(_param0 string) error

func (*MockDbAccessor) EXPECT

func (_m *MockDbAccessor) EXPECT() *MockDbAccessorRecorder

func (*MockDbAccessor) Lock

func (_m *MockDbAccessor) Lock(_param0 string) bool

func (*MockDbAccessor) ReadDir

func (_m *MockDbAccessor) ReadDir(_param0 string) ([]*client.Node, error)

func (*MockDbAccessor) ReadLeaf

func (_m *MockDbAccessor) ReadLeaf(_param0 string) (string, error)

func (*MockDbAccessor) SaveLeaf

func (_m *MockDbAccessor) SaveLeaf(_param0 string, _param1 string) error

func (*MockDbAccessor) Unlock

func (_m *MockDbAccessor) Unlock(_param0 string) bool

func (*MockDbAccessor) WatcherDir

func (_m *MockDbAccessor) WatcherDir(_param0 string) (*client.Response, error)

type MockDbAccessorRecorder

type MockDbAccessorRecorder struct {
	// contains filtered or unexported fields

Recorder for MockDbAccessor (not exported)

func (*MockDbAccessorRecorder) DeleteDir

func (_mr *MockDbAccessorRecorder) DeleteDir(arg0 interface{}) *gomock.Call

func (*MockDbAccessorRecorder) DeleteLeaf

func (_mr *MockDbAccessorRecorder) DeleteLeaf(arg0 interface{}) *gomock.Call

func (*MockDbAccessorRecorder) Lock

func (_mr *MockDbAccessorRecorder) Lock(arg0 interface{}) *gomock.Call

func (*MockDbAccessorRecorder) ReadDir

func (_mr *MockDbAccessorRecorder) ReadDir(arg0 interface{}) *gomock.Call

func (*MockDbAccessorRecorder) ReadLeaf

func (_mr *MockDbAccessorRecorder) ReadLeaf(arg0 interface{}) *gomock.Call

func (*MockDbAccessorRecorder) SaveLeaf

func (_mr *MockDbAccessorRecorder) SaveLeaf(arg0, arg1 interface{}) *gomock.Call

func (*MockDbAccessorRecorder) Unlock

func (_mr *MockDbAccessorRecorder) Unlock(arg0 interface{}) *gomock.Call

func (*MockDbAccessorRecorder) WatcherDir

func (_mr *MockDbAccessorRecorder) WatcherDir(arg0 interface{}) *gomock.Call

Source Files

Jump to

Keyboard shortcuts

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