Documentation ¶
Overview ¶
Package mockstorage is a generated GoMock package.
Index ¶
- type MockExternalStorage
- func (m *MockExternalStorage) Create(arg0 context.Context, arg1 string) (storage.ExternalFileWriter, error)
- func (m *MockExternalStorage) EXPECT() *MockExternalStorageMockRecorder
- func (m *MockExternalStorage) FileExists(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockExternalStorage) Open(arg0 context.Context, arg1 string) (storage.ExternalFileReader, error)
- func (m *MockExternalStorage) ReadFile(arg0 context.Context, arg1 string) ([]byte, error)
- func (m *MockExternalStorage) URI() string
- func (m *MockExternalStorage) WalkDir(arg0 context.Context, arg1 *storage.WalkOption, arg2 func(string, int64) error) error
- func (m *MockExternalStorage) WriteFile(arg0 context.Context, arg1 string, arg2 []byte) error
- type MockExternalStorageMockRecorder
- func (mr *MockExternalStorageMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockExternalStorageMockRecorder) FileExists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockExternalStorageMockRecorder) Open(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockExternalStorageMockRecorder) ReadFile(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockExternalStorageMockRecorder) URI() *gomock.Call
- func (mr *MockExternalStorageMockRecorder) WalkDir(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockExternalStorageMockRecorder) WriteFile(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExternalStorage ¶
type MockExternalStorage struct {
// contains filtered or unexported fields
}
MockExternalStorage is a mock of ExternalStorage interface
func NewMockExternalStorage ¶
func NewMockExternalStorage(ctrl *gomock.Controller) *MockExternalStorage
NewMockExternalStorage creates a new mock instance
func (*MockExternalStorage) Create ¶
func (m *MockExternalStorage) Create(arg0 context.Context, arg1 string) (storage.ExternalFileWriter, error)
Create mocks base method
func (*MockExternalStorage) EXPECT ¶
func (m *MockExternalStorage) EXPECT() *MockExternalStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockExternalStorage) FileExists ¶
FileExists mocks base method
func (*MockExternalStorage) Open ¶
func (m *MockExternalStorage) Open(arg0 context.Context, arg1 string) (storage.ExternalFileReader, error)
Open mocks base method
type MockExternalStorageMockRecorder ¶
type MockExternalStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockExternalStorageMockRecorder is the mock recorder for MockExternalStorage
func (*MockExternalStorageMockRecorder) Create ¶
func (mr *MockExternalStorageMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockExternalStorageMockRecorder) FileExists ¶
func (mr *MockExternalStorageMockRecorder) FileExists(arg0, arg1 interface{}) *gomock.Call
FileExists indicates an expected call of FileExists
func (*MockExternalStorageMockRecorder) Open ¶
func (mr *MockExternalStorageMockRecorder) Open(arg0, arg1 interface{}) *gomock.Call
Open indicates an expected call of Open
func (*MockExternalStorageMockRecorder) ReadFile ¶
func (mr *MockExternalStorageMockRecorder) ReadFile(arg0, arg1 interface{}) *gomock.Call
ReadFile indicates an expected call of ReadFile
func (*MockExternalStorageMockRecorder) URI ¶
func (mr *MockExternalStorageMockRecorder) URI() *gomock.Call
URI indicates an expected call of URI
func (*MockExternalStorageMockRecorder) WalkDir ¶
func (mr *MockExternalStorageMockRecorder) WalkDir(arg0, arg1, arg2 interface{}) *gomock.Call
WalkDir indicates an expected call of WalkDir
func (*MockExternalStorageMockRecorder) WriteFile ¶
func (mr *MockExternalStorageMockRecorder) WriteFile(arg0, arg1, arg2 interface{}) *gomock.Call
WriteFile indicates an expected call of WriteFile