Documentation ¶
Overview ¶
Package filestoretest is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) Close() error
- func (m *MockStore) Delete(arg0 context.Context, arg1 string) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Get(arg0 context.Context, arg1 string) ([]byte, error)
- func (m *MockStore) GetReader(arg0 context.Context, arg1 string) (io.ReadCloser, error)
- func (m *MockStore) List(arg0 context.Context, arg1 string) ([]filestore.ObjectAttrs, error)
- func (m *MockStore) Put(arg0 context.Context, arg1 string, arg2 []byte) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) Close() *gomock.Call
- func (mr *MockStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetReader(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Put(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface.
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance.
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) Close ¶
func (mr *MockStoreMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockStoreMockRecorder) Delete ¶
func (mr *MockStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockStoreMockRecorder) Get ¶
func (mr *MockStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockStoreMockRecorder) GetReader ¶
func (mr *MockStoreMockRecorder) GetReader(arg0, arg1 interface{}) *gomock.Call
GetReader indicates an expected call of GetReader.
func (*MockStoreMockRecorder) List ¶
func (mr *MockStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockStoreMockRecorder) Put ¶
func (mr *MockStoreMockRecorder) Put(arg0, arg1, arg2 interface{}) *gomock.Call
Put indicates an expected call of Put.
Click to show internal directories.
Click to hide internal directories.