Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockFS
- func (m *MockFS) Create(ctx context.Context, namespace string) (pyramid.StoredFile, error)
- func (m *MockFS) EXPECT() *MockFSMockRecorder
- func (m *MockFS) Exists(ctx context.Context, namespace, filename string) (bool, error)
- func (m *MockFS) GetRemoteURI(ctx context.Context, namespace, filename string) (string, error)
- func (m *MockFS) Open(ctx context.Context, namespace, filename string) (pyramid.File, error)
- type MockFSMockRecorder
- func (mr *MockFSMockRecorder) Create(ctx, namespace interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) Exists(ctx, namespace, filename interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) GetRemoteURI(ctx, namespace, filename interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) Open(ctx, namespace, filename interface{}) *gomock.Call
- type MockFile
- func (m *MockFile) Close() error
- func (m *MockFile) EXPECT() *MockFileMockRecorder
- func (m *MockFile) Read(p []byte) (int, error)
- func (m *MockFile) ReadAt(p []byte, off int64) (int, error)
- func (m *MockFile) Stat() (os.FileInfo, error)
- func (m *MockFile) Sync() error
- func (m *MockFile) Write(p []byte) (int, error)
- type MockFileMockRecorder
- func (mr *MockFileMockRecorder) Close() *gomock.Call
- func (mr *MockFileMockRecorder) Read(p interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) ReadAt(p, off interface{}) *gomock.Call
- func (mr *MockFileMockRecorder) Stat() *gomock.Call
- func (mr *MockFileMockRecorder) Sync() *gomock.Call
- func (mr *MockFileMockRecorder) Write(p interface{}) *gomock.Call
- type MockStoredFile
- func (m *MockStoredFile) Abort(ctx context.Context) error
- func (m *MockStoredFile) Close() error
- func (m *MockStoredFile) EXPECT() *MockStoredFileMockRecorder
- func (m *MockStoredFile) Read(p []byte) (int, error)
- func (m *MockStoredFile) ReadAt(p []byte, off int64) (int, error)
- func (m *MockStoredFile) Stat() (os.FileInfo, error)
- func (m *MockStoredFile) Store(ctx context.Context, filename string) error
- func (m *MockStoredFile) Sync() error
- func (m *MockStoredFile) Write(p []byte) (int, error)
- type MockStoredFileMockRecorder
- func (mr *MockStoredFileMockRecorder) Abort(ctx interface{}) *gomock.Call
- func (mr *MockStoredFileMockRecorder) Close() *gomock.Call
- func (mr *MockStoredFileMockRecorder) Read(p interface{}) *gomock.Call
- func (mr *MockStoredFileMockRecorder) ReadAt(p, off interface{}) *gomock.Call
- func (mr *MockStoredFileMockRecorder) Stat() *gomock.Call
- func (mr *MockStoredFileMockRecorder) Store(ctx, filename interface{}) *gomock.Call
- func (mr *MockStoredFileMockRecorder) Sync() *gomock.Call
- func (mr *MockStoredFileMockRecorder) Write(p interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFS ¶
type MockFS struct {
// contains filtered or unexported fields
}
MockFS is a mock of FS interface.
func NewMockFS ¶
func NewMockFS(ctrl *gomock.Controller) *MockFS
NewMockFS creates a new mock instance.
func (*MockFS) EXPECT ¶
func (m *MockFS) EXPECT() *MockFSMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFS) GetRemoteURI ¶
GetRemoteURI mocks base method.
type MockFSMockRecorder ¶
type MockFSMockRecorder struct {
// contains filtered or unexported fields
}
MockFSMockRecorder is the mock recorder for MockFS.
func (*MockFSMockRecorder) Create ¶
func (mr *MockFSMockRecorder) Create(ctx, namespace interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockFSMockRecorder) Exists ¶
func (mr *MockFSMockRecorder) Exists(ctx, namespace, filename interface{}) *gomock.Call
Exists indicates an expected call of Exists.
func (*MockFSMockRecorder) GetRemoteURI ¶
func (mr *MockFSMockRecorder) GetRemoteURI(ctx, namespace, filename interface{}) *gomock.Call
GetRemoteURI indicates an expected call of GetRemoteURI.
func (*MockFSMockRecorder) Open ¶
func (mr *MockFSMockRecorder) Open(ctx, namespace, filename interface{}) *gomock.Call
Open indicates an expected call of Open.
type MockFile ¶
type MockFile struct {
// contains filtered or unexported fields
}
MockFile is a mock of File interface.
func NewMockFile ¶
func NewMockFile(ctrl *gomock.Controller) *MockFile
NewMockFile creates a new mock instance.
func (*MockFile) EXPECT ¶
func (m *MockFile) EXPECT() *MockFileMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFileMockRecorder ¶
type MockFileMockRecorder struct {
// contains filtered or unexported fields
}
MockFileMockRecorder is the mock recorder for MockFile.
func (*MockFileMockRecorder) Close ¶
func (mr *MockFileMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockFileMockRecorder) Read ¶
func (mr *MockFileMockRecorder) Read(p interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockFileMockRecorder) ReadAt ¶
func (mr *MockFileMockRecorder) ReadAt(p, off interface{}) *gomock.Call
ReadAt indicates an expected call of ReadAt.
func (*MockFileMockRecorder) Stat ¶
func (mr *MockFileMockRecorder) Stat() *gomock.Call
Stat indicates an expected call of Stat.
func (*MockFileMockRecorder) Sync ¶
func (mr *MockFileMockRecorder) Sync() *gomock.Call
Sync indicates an expected call of Sync.
func (*MockFileMockRecorder) Write ¶
func (mr *MockFileMockRecorder) Write(p interface{}) *gomock.Call
Write indicates an expected call of Write.
type MockStoredFile ¶
type MockStoredFile struct {
// contains filtered or unexported fields
}
MockStoredFile is a mock of StoredFile interface.
func NewMockStoredFile ¶
func NewMockStoredFile(ctrl *gomock.Controller) *MockStoredFile
NewMockStoredFile creates a new mock instance.
func (*MockStoredFile) Abort ¶
func (m *MockStoredFile) Abort(ctx context.Context) error
Abort mocks base method.
func (*MockStoredFile) EXPECT ¶
func (m *MockStoredFile) EXPECT() *MockStoredFileMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStoredFile) Read ¶
func (m *MockStoredFile) Read(p []byte) (int, error)
Read mocks base method.
func (*MockStoredFile) ReadAt ¶
func (m *MockStoredFile) ReadAt(p []byte, off int64) (int, error)
ReadAt mocks base method.
func (*MockStoredFile) Stat ¶
func (m *MockStoredFile) Stat() (os.FileInfo, error)
Stat mocks base method.
type MockStoredFileMockRecorder ¶
type MockStoredFileMockRecorder struct {
// contains filtered or unexported fields
}
MockStoredFileMockRecorder is the mock recorder for MockStoredFile.
func (*MockStoredFileMockRecorder) Abort ¶
func (mr *MockStoredFileMockRecorder) Abort(ctx interface{}) *gomock.Call
Abort indicates an expected call of Abort.
func (*MockStoredFileMockRecorder) Close ¶
func (mr *MockStoredFileMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockStoredFileMockRecorder) Read ¶
func (mr *MockStoredFileMockRecorder) Read(p interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockStoredFileMockRecorder) ReadAt ¶
func (mr *MockStoredFileMockRecorder) ReadAt(p, off interface{}) *gomock.Call
ReadAt indicates an expected call of ReadAt.
func (*MockStoredFileMockRecorder) Stat ¶
func (mr *MockStoredFileMockRecorder) Stat() *gomock.Call
Stat indicates an expected call of Stat.
func (*MockStoredFileMockRecorder) Store ¶
func (mr *MockStoredFileMockRecorder) Store(ctx, filename interface{}) *gomock.Call
Store indicates an expected call of Store.
func (*MockStoredFileMockRecorder) Sync ¶
func (mr *MockStoredFileMockRecorder) Sync() *gomock.Call
Sync indicates an expected call of Sync.
func (*MockStoredFileMockRecorder) Write ¶
func (mr *MockStoredFileMockRecorder) Write(p interface{}) *gomock.Call
Write indicates an expected call of Write.