Documentation ¶
Overview ¶
Package mock_gcloud_storage is a generated GoMock package.
Index ¶
- type MockBucketHandle
- func (m *MockBucketHandle) EXPECT() *MockBucketHandleMockRecorder
- func (m *MockBucketHandle) Object(arg0 string) ifaces_gcloud_storage.ObjectHandle
- func (m *MockBucketHandle) Objects(arg0 context.Context, arg1 *storage.Query) ifaces_gcloud_storage.ObjectIterator
- func (m *MockBucketHandle) SignedURL(arg0 string, arg1 *storage.SignedURLOptions) (string, error)
- type MockBucketHandleMockRecorder
- type MockBucketIterator
- type MockBucketIteratorMockRecorder
- type MockObjectHandle
- func (m *MockObjectHandle) Delete(arg0 context.Context) error
- func (m *MockObjectHandle) EXPECT() *MockObjectHandleMockRecorder
- func (m *MockObjectHandle) NewReader(arg0 context.Context) (ifaces_gcloud_storage.Reader, error)
- func (m *MockObjectHandle) NewWriter(arg0 context.Context) ifaces_gcloud_storage.Writer
- type MockObjectHandleMockRecorder
- type MockObjectIterator
- type MockObjectIteratorMockRecorder
- type MockReader
- type MockReaderMockRecorder
- type MockStorageClient
- type MockStorageClientMockRecorder
- type MockWriter
- type MockWriterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBucketHandle ¶
type MockBucketHandle struct {
// contains filtered or unexported fields
}
MockBucketHandle is a mock of BucketHandle interface.
func NewMockBucketHandle ¶
func NewMockBucketHandle(ctrl *gomock.Controller) *MockBucketHandle
NewMockBucketHandle creates a new mock instance.
func (*MockBucketHandle) EXPECT ¶
func (m *MockBucketHandle) EXPECT() *MockBucketHandleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBucketHandle) Object ¶
func (m *MockBucketHandle) Object(arg0 string) ifaces_gcloud_storage.ObjectHandle
Object mocks base method.
func (*MockBucketHandle) Objects ¶
func (m *MockBucketHandle) Objects(arg0 context.Context, arg1 *storage.Query) ifaces_gcloud_storage.ObjectIterator
Objects mocks base method.
func (*MockBucketHandle) SignedURL ¶
func (m *MockBucketHandle) SignedURL(arg0 string, arg1 *storage.SignedURLOptions) (string, error)
SignedURL mocks base method.
type MockBucketHandleMockRecorder ¶
type MockBucketHandleMockRecorder struct {
// contains filtered or unexported fields
}
MockBucketHandleMockRecorder is the mock recorder for MockBucketHandle.
func (*MockBucketHandleMockRecorder) Object ¶
func (mr *MockBucketHandleMockRecorder) Object(arg0 interface{}) *gomock.Call
Object indicates an expected call of Object.
func (*MockBucketHandleMockRecorder) Objects ¶
func (mr *MockBucketHandleMockRecorder) Objects(arg0, arg1 interface{}) *gomock.Call
Objects indicates an expected call of Objects.
func (*MockBucketHandleMockRecorder) SignedURL ¶
func (mr *MockBucketHandleMockRecorder) SignedURL(arg0, arg1 interface{}) *gomock.Call
SignedURL indicates an expected call of SignedURL.
type MockBucketIterator ¶
type MockBucketIterator struct {
// contains filtered or unexported fields
}
MockBucketIterator is a mock of BucketIterator interface.
func NewMockBucketIterator ¶
func NewMockBucketIterator(ctrl *gomock.Controller) *MockBucketIterator
NewMockBucketIterator creates a new mock instance.
func (*MockBucketIterator) EXPECT ¶
func (m *MockBucketIterator) EXPECT() *MockBucketIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBucketIterator) Next ¶
func (m *MockBucketIterator) Next() (*storage.BucketAttrs, error)
Next mocks base method.
type MockBucketIteratorMockRecorder ¶
type MockBucketIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockBucketIteratorMockRecorder is the mock recorder for MockBucketIterator.
func (*MockBucketIteratorMockRecorder) Next ¶
func (mr *MockBucketIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
type MockObjectHandle ¶
type MockObjectHandle struct {
// contains filtered or unexported fields
}
MockObjectHandle is a mock of ObjectHandle interface.
func NewMockObjectHandle ¶
func NewMockObjectHandle(ctrl *gomock.Controller) *MockObjectHandle
NewMockObjectHandle creates a new mock instance.
func (*MockObjectHandle) Delete ¶
func (m *MockObjectHandle) Delete(arg0 context.Context) error
Delete mocks base method.
func (*MockObjectHandle) EXPECT ¶
func (m *MockObjectHandle) EXPECT() *MockObjectHandleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockObjectHandle) NewReader ¶
func (m *MockObjectHandle) NewReader(arg0 context.Context) (ifaces_gcloud_storage.Reader, error)
NewReader mocks base method.
func (*MockObjectHandle) NewWriter ¶
func (m *MockObjectHandle) NewWriter(arg0 context.Context) ifaces_gcloud_storage.Writer
NewWriter mocks base method.
type MockObjectHandleMockRecorder ¶
type MockObjectHandleMockRecorder struct {
// contains filtered or unexported fields
}
MockObjectHandleMockRecorder is the mock recorder for MockObjectHandle.
func (*MockObjectHandleMockRecorder) Delete ¶
func (mr *MockObjectHandleMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockObjectHandleMockRecorder) NewReader ¶
func (mr *MockObjectHandleMockRecorder) NewReader(arg0 interface{}) *gomock.Call
NewReader indicates an expected call of NewReader.
func (*MockObjectHandleMockRecorder) NewWriter ¶
func (mr *MockObjectHandleMockRecorder) NewWriter(arg0 interface{}) *gomock.Call
NewWriter indicates an expected call of NewWriter.
type MockObjectIterator ¶
type MockObjectIterator struct {
// contains filtered or unexported fields
}
MockObjectIterator is a mock of ObjectIterator interface.
func NewMockObjectIterator ¶
func NewMockObjectIterator(ctrl *gomock.Controller) *MockObjectIterator
NewMockObjectIterator creates a new mock instance.
func (*MockObjectIterator) EXPECT ¶
func (m *MockObjectIterator) EXPECT() *MockObjectIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockObjectIterator) Next ¶
func (m *MockObjectIterator) Next() (*storage.ObjectAttrs, error)
Next mocks base method.
type MockObjectIteratorMockRecorder ¶
type MockObjectIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockObjectIteratorMockRecorder is the mock recorder for MockObjectIterator.
func (*MockObjectIteratorMockRecorder) Next ¶
func (mr *MockObjectIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
type MockReader ¶
type MockReader struct {
// contains filtered or unexported fields
}
MockReader is a mock of Reader interface.
func NewMockReader ¶
func NewMockReader(ctrl *gomock.Controller) *MockReader
NewMockReader creates a new mock instance.
func (*MockReader) EXPECT ¶
func (m *MockReader) EXPECT() *MockReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockReaderMockRecorder ¶
type MockReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockReaderMockRecorder is the mock recorder for MockReader.
func (*MockReaderMockRecorder) Close ¶
func (mr *MockReaderMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockReaderMockRecorder) Read ¶
func (mr *MockReaderMockRecorder) Read(arg0 interface{}) *gomock.Call
Read indicates an expected call of Read.
type MockStorageClient ¶
type MockStorageClient struct {
// contains filtered or unexported fields
}
MockStorageClient is a mock of StorageClient interface.
func NewMockStorageClient ¶
func NewMockStorageClient(ctrl *gomock.Controller) *MockStorageClient
NewMockStorageClient creates a new mock instance.
func (*MockStorageClient) Bucket ¶
func (m *MockStorageClient) Bucket(arg0 string) ifaces_gcloud_storage.BucketHandle
Bucket mocks base method.
func (*MockStorageClient) Buckets ¶
func (m *MockStorageClient) Buckets(arg0 context.Context, arg1 string) ifaces_gcloud_storage.BucketIterator
Buckets mocks base method.
func (*MockStorageClient) EXPECT ¶
func (m *MockStorageClient) EXPECT() *MockStorageClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockStorageClientMockRecorder ¶
type MockStorageClientMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageClientMockRecorder is the mock recorder for MockStorageClient.
func (*MockStorageClientMockRecorder) Bucket ¶
func (mr *MockStorageClientMockRecorder) Bucket(arg0 interface{}) *gomock.Call
Bucket indicates an expected call of Bucket.
func (*MockStorageClientMockRecorder) Buckets ¶
func (mr *MockStorageClientMockRecorder) Buckets(arg0, arg1 interface{}) *gomock.Call
Buckets indicates an expected call of Buckets.
type MockWriter ¶
type MockWriter struct {
// contains filtered or unexported fields
}
MockWriter is a mock of Writer interface.
func NewMockWriter ¶
func NewMockWriter(ctrl *gomock.Controller) *MockWriter
NewMockWriter creates a new mock instance.
func (*MockWriter) EXPECT ¶
func (m *MockWriter) EXPECT() *MockWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockWriterMockRecorder ¶
type MockWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockWriterMockRecorder is the mock recorder for MockWriter.
func (*MockWriterMockRecorder) Close ¶
func (mr *MockWriterMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockWriterMockRecorder) Write ¶
func (mr *MockWriterMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write.