Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockReadCloser
- type MockReadCloserMockRecorder
- type MockScheduler
- type MockSchedulerMockRecorder
- type MockServicer
- func (m *MockServicer) Create(arg0 string, arg1 ...*types.Pair) (storage.Storager, error)
- func (m *MockServicer) Delete(arg0 string, arg1 ...*types.Pair) error
- func (m *MockServicer) EXPECT() *MockServicerMockRecorder
- func (m *MockServicer) Get(arg0 string, arg1 ...*types.Pair) (storage.Storager, error)
- func (m *MockServicer) Init(arg0 ...*types.Pair) error
- func (m *MockServicer) List(arg0 ...*types.Pair) ([]storage.Storager, error)
- type MockServicerMockRecorder
- func (mr *MockServicerMockRecorder) Create(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockServicerMockRecorder) Delete(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockServicerMockRecorder) Get(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockServicerMockRecorder) Init(arg0 ...interface{}) *gomock.Call
- func (mr *MockServicerMockRecorder) List(arg0 ...interface{}) *gomock.Call
- type MockStorager
- func (m *MockStorager) AbortSegment(arg0 string, arg1 ...*types.Pair) error
- func (m *MockStorager) Capable(arg0 string, arg1 ...string) bool
- func (m *MockStorager) CompleteSegment(arg0 string, arg1 ...*types.Pair) error
- func (m *MockStorager) Copy(arg0, arg1 string, arg2 ...*types.Pair) error
- func (m *MockStorager) Delete(arg0 string, arg1 ...*types.Pair) error
- func (m *MockStorager) EXPECT() *MockStoragerMockRecorder
- func (m *MockStorager) Init(arg0 ...*types.Pair) error
- func (m *MockStorager) InitSegment(arg0 string, arg1 ...*types.Pair) (string, error)
- func (m *MockStorager) ListDir(arg0 string, arg1 ...*types.Pair) iterator.ObjectIterator
- func (m *MockStorager) ListSegments(arg0 string, arg1 ...*types.Pair) iterator.SegmentIterator
- func (m *MockStorager) Metadata() (types.Metadata, error)
- func (m *MockStorager) Move(arg0, arg1 string, arg2 ...*types.Pair) error
- func (m *MockStorager) Reach(arg0 string, arg1 ...*types.Pair) (string, error)
- func (m *MockStorager) Read(arg0 string, arg1 ...*types.Pair) (io.ReadCloser, error)
- func (m *MockStorager) Stat(arg0 string, arg1 ...*types.Pair) (*types.Object, error)
- func (m *MockStorager) String() string
- func (m *MockStorager) Write(arg0 string, arg1 io.Reader, arg2 ...*types.Pair) error
- func (m *MockStorager) WriteSegment(arg0 string, arg1, arg2 int64, arg3 io.Reader, arg4 ...*types.Pair) error
- type MockStoragerMockRecorder
- func (mr *MockStoragerMockRecorder) AbortSegment(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockStoragerMockRecorder) Capable(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockStoragerMockRecorder) CompleteSegment(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockStoragerMockRecorder) Copy(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockStoragerMockRecorder) Delete(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockStoragerMockRecorder) Init(arg0 ...interface{}) *gomock.Call
- func (mr *MockStoragerMockRecorder) InitSegment(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockStoragerMockRecorder) ListDir(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockStoragerMockRecorder) ListSegments(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockStoragerMockRecorder) Metadata() *gomock.Call
- func (mr *MockStoragerMockRecorder) Move(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockStoragerMockRecorder) Reach(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockStoragerMockRecorder) Read(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockStoragerMockRecorder) Stat(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockStoragerMockRecorder) String() *gomock.Call
- func (mr *MockStoragerMockRecorder) Write(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockStoragerMockRecorder) WriteSegment(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockReadCloser ¶
type MockReadCloser struct {
// contains filtered or unexported fields
}
MockReadCloser is a mock of ReadCloser interface
func NewMockReadCloser ¶
func NewMockReadCloser(ctrl *gomock.Controller) *MockReadCloser
NewMockReadCloser creates a new mock instance
func (*MockReadCloser) EXPECT ¶
func (m *MockReadCloser) EXPECT() *MockReadCloserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockReadCloserMockRecorder ¶
type MockReadCloserMockRecorder struct {
// contains filtered or unexported fields
}
MockReadCloserMockRecorder is the mock recorder for MockReadCloser
func (*MockReadCloserMockRecorder) Close ¶
func (mr *MockReadCloserMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockReadCloserMockRecorder) Read ¶
func (mr *MockReadCloserMockRecorder) Read(arg0 interface{}) *gomock.Call
Read indicates an expected call of Read
type MockScheduler ¶
type MockScheduler struct {
// contains filtered or unexported fields
}
MockScheduler is a mock of Scheduler interface
func NewMockScheduler ¶
func NewMockScheduler(ctrl *gomock.Controller) *MockScheduler
NewMockScheduler creates a new mock instance
func (*MockScheduler) Async ¶
func (m *MockScheduler) Async(arg0 navvy.Task)
Async mocks base method
func (*MockScheduler) EXPECT ¶
func (m *MockScheduler) EXPECT() *MockSchedulerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockSchedulerMockRecorder ¶
type MockSchedulerMockRecorder struct {
// contains filtered or unexported fields
}
MockSchedulerMockRecorder is the mock recorder for MockScheduler
func (*MockSchedulerMockRecorder) Async ¶
func (mr *MockSchedulerMockRecorder) Async(arg0 interface{}) *gomock.Call
Async indicates an expected call of Async
func (*MockSchedulerMockRecorder) Sync ¶
func (mr *MockSchedulerMockRecorder) Sync(arg0 interface{}) *gomock.Call
Sync indicates an expected call of Sync
func (*MockSchedulerMockRecorder) Wait ¶
func (mr *MockSchedulerMockRecorder) Wait() *gomock.Call
Wait indicates an expected call of Wait
type MockServicer ¶
type MockServicer struct {
// contains filtered or unexported fields
}
MockServicer is a mock of Servicer interface
func NewMockServicer ¶
func NewMockServicer(ctrl *gomock.Controller) *MockServicer
NewMockServicer creates a new mock instance
func (*MockServicer) Delete ¶
func (m *MockServicer) Delete(arg0 string, arg1 ...*types.Pair) error
Delete mocks base method
func (*MockServicer) EXPECT ¶
func (m *MockServicer) EXPECT() *MockServicerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockServicerMockRecorder ¶
type MockServicerMockRecorder struct {
// contains filtered or unexported fields
}
MockServicerMockRecorder is the mock recorder for MockServicer
func (*MockServicerMockRecorder) Create ¶
func (mr *MockServicerMockRecorder) Create(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockServicerMockRecorder) Delete ¶
func (mr *MockServicerMockRecorder) Delete(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockServicerMockRecorder) Get ¶
func (mr *MockServicerMockRecorder) Get(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockServicerMockRecorder) Init ¶
func (mr *MockServicerMockRecorder) Init(arg0 ...interface{}) *gomock.Call
Init indicates an expected call of Init
func (*MockServicerMockRecorder) List ¶
func (mr *MockServicerMockRecorder) List(arg0 ...interface{}) *gomock.Call
List indicates an expected call of List
type MockStorager ¶
type MockStorager struct {
// contains filtered or unexported fields
}
MockStorager is a mock of Storager interface
func NewMockStorager ¶
func NewMockStorager(ctrl *gomock.Controller) *MockStorager
NewMockStorager creates a new mock instance
func (*MockStorager) AbortSegment ¶
func (m *MockStorager) AbortSegment(arg0 string, arg1 ...*types.Pair) error
AbortSegment mocks base method
func (*MockStorager) Capable ¶
func (m *MockStorager) Capable(arg0 string, arg1 ...string) bool
Capable mocks base method
func (*MockStorager) CompleteSegment ¶
func (m *MockStorager) CompleteSegment(arg0 string, arg1 ...*types.Pair) error
CompleteSegment mocks base method
func (*MockStorager) Copy ¶
func (m *MockStorager) Copy(arg0, arg1 string, arg2 ...*types.Pair) error
Copy mocks base method
func (*MockStorager) Delete ¶
func (m *MockStorager) Delete(arg0 string, arg1 ...*types.Pair) error
Delete mocks base method
func (*MockStorager) EXPECT ¶
func (m *MockStorager) EXPECT() *MockStoragerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStorager) Init ¶
func (m *MockStorager) Init(arg0 ...*types.Pair) error
Init mocks base method
func (*MockStorager) InitSegment ¶
InitSegment mocks base method
func (*MockStorager) ListDir ¶
func (m *MockStorager) ListDir(arg0 string, arg1 ...*types.Pair) iterator.ObjectIterator
ListDir mocks base method
func (*MockStorager) ListSegments ¶
func (m *MockStorager) ListSegments(arg0 string, arg1 ...*types.Pair) iterator.SegmentIterator
ListSegments mocks base method
func (*MockStorager) Metadata ¶
func (m *MockStorager) Metadata() (types.Metadata, error)
Metadata mocks base method
func (*MockStorager) Move ¶
func (m *MockStorager) Move(arg0, arg1 string, arg2 ...*types.Pair) error
Move mocks base method
func (*MockStorager) Read ¶
func (m *MockStorager) Read(arg0 string, arg1 ...*types.Pair) (io.ReadCloser, error)
Read mocks base method
func (*MockStorager) WriteSegment ¶
func (m *MockStorager) WriteSegment(arg0 string, arg1, arg2 int64, arg3 io.Reader, arg4 ...*types.Pair) error
WriteSegment mocks base method
type MockStoragerMockRecorder ¶
type MockStoragerMockRecorder struct {
// contains filtered or unexported fields
}
MockStoragerMockRecorder is the mock recorder for MockStorager
func (*MockStoragerMockRecorder) AbortSegment ¶
func (mr *MockStoragerMockRecorder) AbortSegment(arg0 interface{}, arg1 ...interface{}) *gomock.Call
AbortSegment indicates an expected call of AbortSegment
func (*MockStoragerMockRecorder) Capable ¶
func (mr *MockStoragerMockRecorder) Capable(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Capable indicates an expected call of Capable
func (*MockStoragerMockRecorder) CompleteSegment ¶
func (mr *MockStoragerMockRecorder) CompleteSegment(arg0 interface{}, arg1 ...interface{}) *gomock.Call
CompleteSegment indicates an expected call of CompleteSegment
func (*MockStoragerMockRecorder) Copy ¶
func (mr *MockStoragerMockRecorder) Copy(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Copy indicates an expected call of Copy
func (*MockStoragerMockRecorder) Delete ¶
func (mr *MockStoragerMockRecorder) Delete(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockStoragerMockRecorder) Init ¶
func (mr *MockStoragerMockRecorder) Init(arg0 ...interface{}) *gomock.Call
Init indicates an expected call of Init
func (*MockStoragerMockRecorder) InitSegment ¶
func (mr *MockStoragerMockRecorder) InitSegment(arg0 interface{}, arg1 ...interface{}) *gomock.Call
InitSegment indicates an expected call of InitSegment
func (*MockStoragerMockRecorder) ListDir ¶
func (mr *MockStoragerMockRecorder) ListDir(arg0 interface{}, arg1 ...interface{}) *gomock.Call
ListDir indicates an expected call of ListDir
func (*MockStoragerMockRecorder) ListSegments ¶
func (mr *MockStoragerMockRecorder) ListSegments(arg0 interface{}, arg1 ...interface{}) *gomock.Call
ListSegments indicates an expected call of ListSegments
func (*MockStoragerMockRecorder) Metadata ¶
func (mr *MockStoragerMockRecorder) Metadata() *gomock.Call
Metadata indicates an expected call of Metadata
func (*MockStoragerMockRecorder) Move ¶
func (mr *MockStoragerMockRecorder) Move(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Move indicates an expected call of Move
func (*MockStoragerMockRecorder) Reach ¶
func (mr *MockStoragerMockRecorder) Reach(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Reach indicates an expected call of Reach
func (*MockStoragerMockRecorder) Read ¶
func (mr *MockStoragerMockRecorder) Read(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Read indicates an expected call of Read
func (*MockStoragerMockRecorder) Stat ¶
func (mr *MockStoragerMockRecorder) Stat(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Stat indicates an expected call of Stat
func (*MockStoragerMockRecorder) String ¶
func (mr *MockStoragerMockRecorder) String() *gomock.Call
String indicates an expected call of String
func (*MockStoragerMockRecorder) Write ¶
func (mr *MockStoragerMockRecorder) Write(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Write indicates an expected call of Write
func (*MockStoragerMockRecorder) WriteSegment ¶
func (mr *MockStoragerMockRecorder) WriteSegment(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
WriteSegment indicates an expected call of WriteSegment