Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockObject
- type MockObjectMockRecorder
- type MockObjectStorage
- func (m *MockObjectStorage) CreateBucket(ctx context.Context) error
- func (m *MockObjectStorage) DeleteObject(ctx context.Context, key string) error
- func (m *MockObjectStorage) EXPECT() *MockObjectStorageMockRecorder
- func (m *MockObjectStorage) GetObject(ctx context.Context, key string, offset, limit int64) (io.ReadCloser, error)
- func (m *MockObjectStorage) HeadBucket(ctx context.Context) error
- func (m *MockObjectStorage) HeadObject(ctx context.Context, key string) (storage.Object, error)
- func (m *MockObjectStorage) ListAllObjects(ctx context.Context, prefix, marker string) (<-chan storage.Object, error)
- func (m *MockObjectStorage) ListObjects(ctx context.Context, prefix, marker, delimiter string, limit int64) ([]storage.Object, error)
- func (m *MockObjectStorage) PutObject(ctx context.Context, key string, reader io.Reader) error
- func (m *MockObjectStorage) String() string
- type MockObjectStorageMockRecorder
- func (mr *MockObjectStorageMockRecorder) CreateBucket(ctx interface{}) *gomock.Call
- func (mr *MockObjectStorageMockRecorder) DeleteObject(ctx, key interface{}) *gomock.Call
- func (mr *MockObjectStorageMockRecorder) GetObject(ctx, key, offset, limit interface{}) *gomock.Call
- func (mr *MockObjectStorageMockRecorder) HeadBucket(ctx interface{}) *gomock.Call
- func (mr *MockObjectStorageMockRecorder) HeadObject(ctx, key interface{}) *gomock.Call
- func (mr *MockObjectStorageMockRecorder) ListAllObjects(ctx, prefix, marker interface{}) *gomock.Call
- func (mr *MockObjectStorageMockRecorder) ListObjects(ctx, prefix, marker, delimiter, limit interface{}) *gomock.Call
- func (mr *MockObjectStorageMockRecorder) PutObject(ctx, key, reader interface{}) *gomock.Call
- func (mr *MockObjectStorageMockRecorder) String() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockObject ¶
type MockObject struct {
// contains filtered or unexported fields
}
MockObject is a mock of Object interface.
func NewMockObject ¶
func NewMockObject(ctrl *gomock.Controller) *MockObject
NewMockObject creates a new mock instance.
func (*MockObject) EXPECT ¶
func (m *MockObject) EXPECT() *MockObjectMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockObjectMockRecorder ¶
type MockObjectMockRecorder struct {
// contains filtered or unexported fields
}
MockObjectMockRecorder is the mock recorder for MockObject.
func (*MockObjectMockRecorder) IsSymlink ¶
func (mr *MockObjectMockRecorder) IsSymlink() *gomock.Call
IsSymlink indicates an expected call of IsSymlink.
func (*MockObjectMockRecorder) Key ¶
func (mr *MockObjectMockRecorder) Key() *gomock.Call
Key indicates an expected call of Key.
func (*MockObjectMockRecorder) ModTime ¶
func (mr *MockObjectMockRecorder) ModTime() *gomock.Call
ModTime indicates an expected call of ModTime.
func (*MockObjectMockRecorder) Size ¶
func (mr *MockObjectMockRecorder) Size() *gomock.Call
Size indicates an expected call of Size.
type MockObjectStorage ¶
type MockObjectStorage struct {
// contains filtered or unexported fields
}
MockObjectStorage is a mock of ObjectStorage interface.
func NewMockObjectStorage ¶
func NewMockObjectStorage(ctrl *gomock.Controller) *MockObjectStorage
NewMockObjectStorage creates a new mock instance.
func (*MockObjectStorage) CreateBucket ¶
func (m *MockObjectStorage) CreateBucket(ctx context.Context) error
CreateBucket mocks base method.
func (*MockObjectStorage) DeleteObject ¶
func (m *MockObjectStorage) DeleteObject(ctx context.Context, key string) error
DeleteObject mocks base method.
func (*MockObjectStorage) EXPECT ¶
func (m *MockObjectStorage) EXPECT() *MockObjectStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockObjectStorage) GetObject ¶
func (m *MockObjectStorage) GetObject(ctx context.Context, key string, offset, limit int64) (io.ReadCloser, error)
GetObject mocks base method.
func (*MockObjectStorage) HeadBucket ¶
func (m *MockObjectStorage) HeadBucket(ctx context.Context) error
HeadBucket mocks base method.
func (*MockObjectStorage) HeadObject ¶
HeadObject mocks base method.
func (*MockObjectStorage) ListAllObjects ¶
func (m *MockObjectStorage) ListAllObjects(ctx context.Context, prefix, marker string) (<-chan storage.Object, error)
ListAllObjects mocks base method.
func (*MockObjectStorage) ListObjects ¶
func (m *MockObjectStorage) ListObjects(ctx context.Context, prefix, marker, delimiter string, limit int64) ([]storage.Object, error)
ListObjects mocks base method.
func (*MockObjectStorage) String ¶
func (m *MockObjectStorage) String() string
String mocks base method.
type MockObjectStorageMockRecorder ¶
type MockObjectStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockObjectStorageMockRecorder is the mock recorder for MockObjectStorage.
func (*MockObjectStorageMockRecorder) CreateBucket ¶
func (mr *MockObjectStorageMockRecorder) CreateBucket(ctx interface{}) *gomock.Call
CreateBucket indicates an expected call of CreateBucket.
func (*MockObjectStorageMockRecorder) DeleteObject ¶
func (mr *MockObjectStorageMockRecorder) DeleteObject(ctx, key interface{}) *gomock.Call
DeleteObject indicates an expected call of DeleteObject.
func (*MockObjectStorageMockRecorder) GetObject ¶
func (mr *MockObjectStorageMockRecorder) GetObject(ctx, key, offset, limit interface{}) *gomock.Call
GetObject indicates an expected call of GetObject.
func (*MockObjectStorageMockRecorder) HeadBucket ¶
func (mr *MockObjectStorageMockRecorder) HeadBucket(ctx interface{}) *gomock.Call
HeadBucket indicates an expected call of HeadBucket.
func (*MockObjectStorageMockRecorder) HeadObject ¶
func (mr *MockObjectStorageMockRecorder) HeadObject(ctx, key interface{}) *gomock.Call
HeadObject indicates an expected call of HeadObject.
func (*MockObjectStorageMockRecorder) ListAllObjects ¶
func (mr *MockObjectStorageMockRecorder) ListAllObjects(ctx, prefix, marker interface{}) *gomock.Call
ListAllObjects indicates an expected call of ListAllObjects.
func (*MockObjectStorageMockRecorder) ListObjects ¶
func (mr *MockObjectStorageMockRecorder) ListObjects(ctx, prefix, marker, delimiter, limit interface{}) *gomock.Call
ListObjects indicates an expected call of ListObjects.
func (*MockObjectStorageMockRecorder) PutObject ¶
func (mr *MockObjectStorageMockRecorder) PutObject(ctx, key, reader interface{}) *gomock.Call
PutObject indicates an expected call of PutObject.
func (*MockObjectStorageMockRecorder) String ¶
func (mr *MockObjectStorageMockRecorder) String() *gomock.Call
String indicates an expected call of String.