Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockLogStore
- func (m *MockLogStore) Create(arg0 io.Reader) (int64, error)
- func (m *MockLogStore) Delete(arg0 int64) error
- func (m *MockLogStore) EXPECT() *MockLogStoreMockRecorder
- func (m *MockLogStore) Exists(arg0 int64) bool
- func (m *MockLogStore) Find(arg0 int64) (io.ReadCloser, error)
- func (m *MockLogStore) Update(arg0 int64, arg1 io.Reader) error
- type MockLogStoreMockRecorder
- func (mr *MockLogStoreMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockLogStoreMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockLogStoreMockRecorder) Exists(arg0 interface{}) *gomock.Call
- func (mr *MockLogStoreMockRecorder) Find(arg0 interface{}) *gomock.Call
- func (mr *MockLogStoreMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
- type MockLogStream
- func (m *MockLogStream) Create(arg0 context.Context, arg1 int64) error
- func (m *MockLogStream) Delete(arg0 context.Context, arg1 int64) error
- func (m *MockLogStream) EXPECT() *MockLogStreamMockRecorder
- func (m *MockLogStream) Tail(arg0 context.Context, arg1 int64) (<-chan *core.LogLine, error)
- func (m *MockLogStream) Write(arg0 context.Context, arg1 int64, arg2 *core.LogLine) error
- type MockLogStreamMockRecorder
- func (mr *MockLogStreamMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLogStreamMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLogStreamMockRecorder) Tail(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLogStreamMockRecorder) Write(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLogStore ¶
type MockLogStore struct {
// contains filtered or unexported fields
}
MockLogStore is a mock of LogStore interface
func NewMockLogStore ¶
func NewMockLogStore(ctrl *gomock.Controller) *MockLogStore
NewMockLogStore creates a new mock instance
func (*MockLogStore) Create ¶
func (m *MockLogStore) Create(arg0 io.Reader) (int64, error)
Create mocks base method
func (*MockLogStore) Delete ¶
func (m *MockLogStore) Delete(arg0 int64) error
Delete mocks base method
func (*MockLogStore) EXPECT ¶
func (m *MockLogStore) EXPECT() *MockLogStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLogStore) Exists ¶
func (m *MockLogStore) Exists(arg0 int64) bool
Exists mocks base method
func (*MockLogStore) Find ¶
func (m *MockLogStore) Find(arg0 int64) (io.ReadCloser, error)
Find mocks base method
type MockLogStoreMockRecorder ¶
type MockLogStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockLogStoreMockRecorder is the mock recorder for MockLogStore
func (*MockLogStoreMockRecorder) Create ¶
func (mr *MockLogStoreMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockLogStoreMockRecorder) Delete ¶
func (mr *MockLogStoreMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockLogStoreMockRecorder) Exists ¶
func (mr *MockLogStoreMockRecorder) Exists(arg0 interface{}) *gomock.Call
Exists indicates an expected call of Exists
func (*MockLogStoreMockRecorder) Find ¶
func (mr *MockLogStoreMockRecorder) Find(arg0 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockLogStoreMockRecorder) Update ¶
func (mr *MockLogStoreMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update
type MockLogStream ¶
type MockLogStream struct {
// contains filtered or unexported fields
}
MockLogStream is a mock of LogStream interface
func NewMockLogStream ¶
func NewMockLogStream(ctrl *gomock.Controller) *MockLogStream
NewMockLogStream creates a new mock instance
func (*MockLogStream) Create ¶
func (m *MockLogStream) Create(arg0 context.Context, arg1 int64) error
Create mocks base method
func (*MockLogStream) Delete ¶
func (m *MockLogStream) Delete(arg0 context.Context, arg1 int64) error
Delete mocks base method
func (*MockLogStream) EXPECT ¶
func (m *MockLogStream) EXPECT() *MockLogStreamMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockLogStreamMockRecorder ¶
type MockLogStreamMockRecorder struct {
// contains filtered or unexported fields
}
MockLogStreamMockRecorder is the mock recorder for MockLogStream
func (*MockLogStreamMockRecorder) Create ¶
func (mr *MockLogStreamMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockLogStreamMockRecorder) Delete ¶
func (mr *MockLogStreamMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockLogStreamMockRecorder) Tail ¶
func (mr *MockLogStreamMockRecorder) Tail(arg0, arg1 interface{}) *gomock.Call
Tail indicates an expected call of Tail
func (*MockLogStreamMockRecorder) Write ¶
func (mr *MockLogStreamMockRecorder) Write(arg0, arg1, arg2 interface{}) *gomock.Call
Write indicates an expected call of Write