Documentation
¶
Overview ¶
Package mock_obj is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBucket ¶
type MockBucket struct {
// contains filtered or unexported fields
}
MockBucket is a mock of Bucket interface.
func NewMockBucket ¶
func NewMockBucket(ctrl *gomock.Controller) *MockBucket
NewMockBucket creates a new mock instance.
func (*MockBucket) EXPECT ¶
func (m *MockBucket) EXPECT() *MockBucketMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBucketMockRecorder ¶
type MockBucketMockRecorder struct {
// contains filtered or unexported fields
}
MockBucketMockRecorder is the mock recorder for MockBucket.
func (*MockBucketMockRecorder) Object ¶
func (mr *MockBucketMockRecorder) Object(name interface{}) *gomock.Call
Object indicates an expected call of Object.
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) Bucket ¶
func (m *MockClient) Bucket(name string) obj.Bucket
Bucket mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Bucket ¶
func (mr *MockClientMockRecorder) Bucket(name interface{}) *gomock.Call
Bucket indicates an expected call of Bucket.
func (*MockClientMockRecorder) Close ¶
func (mr *MockClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
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.
func (*MockObject) NewRangeReader ¶
func (m *MockObject) NewRangeReader(ctx context.Context, offset, length int64) (io.ReadCloser, error)
NewRangeReader mocks base method.
type MockObjectMockRecorder ¶
type MockObjectMockRecorder struct {
// contains filtered or unexported fields
}
MockObjectMockRecorder is the mock recorder for MockObject.
func (*MockObjectMockRecorder) NewRangeReader ¶
func (mr *MockObjectMockRecorder) NewRangeReader(ctx, offset, length interface{}) *gomock.Call
NewRangeReader indicates an expected call of NewRangeReader.