Documentation ¶
Overview ¶
Package mock_gcsifaces is a generated GoMock package.
Index ¶
- type MockStorageBucket
- type MockStorageBucketMockRecorder
- type MockStorageClient
- func (m *MockStorageClient) Bucket(name string) gcsifaces.StorageBucket
- func (m *MockStorageClient) EXPECT() *MockStorageClientMockRecorder
- func (m *MockStorageClient) FindDefaultCredentials(ctx context.Context, scope string) (*google.Credentials, error)
- func (m *MockStorageClient) JWTConfigFromJSON(keyJSON []byte) (*jwt.Config, error)
- func (m *MockStorageClient) SignedURL(bucket, name string, opts *storage.SignedURLOptions) (string, error)
- type MockStorageClientMockRecorder
- func (mr *MockStorageClientMockRecorder) Bucket(name interface{}) *gomock.Call
- func (mr *MockStorageClientMockRecorder) FindDefaultCredentials(ctx, scope interface{}) *gomock.Call
- func (mr *MockStorageClientMockRecorder) JWTConfigFromJSON(keyJSON interface{}) *gomock.Call
- func (mr *MockStorageClientMockRecorder) SignedURL(bucket, name, opts interface{}) *gomock.Call
- type MockStorageObject
- type MockStorageObjectMockRecorder
- type MockStorageWriter
- type MockStorageWriterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStorageBucket ¶
type MockStorageBucket struct {
// contains filtered or unexported fields
}
MockStorageBucket is a mock of StorageBucket interface
func NewMockStorageBucket ¶
func NewMockStorageBucket(ctrl *gomock.Controller) *MockStorageBucket
NewMockStorageBucket creates a new mock instance
func (*MockStorageBucket) EXPECT ¶
func (m *MockStorageBucket) EXPECT() *MockStorageBucketMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStorageBucket) Object ¶
func (m *MockStorageBucket) Object(key string) gcsifaces.StorageObject
Object mocks base method
type MockStorageBucketMockRecorder ¶
type MockStorageBucketMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageBucketMockRecorder is the mock recorder for MockStorageBucket
func (*MockStorageBucketMockRecorder) Object ¶
func (mr *MockStorageBucketMockRecorder) Object(key interface{}) *gomock.Call
Object indicates an expected call of Object
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(name string) gcsifaces.StorageBucket
Bucket mocks base method
func (*MockStorageClient) EXPECT ¶
func (m *MockStorageClient) EXPECT() *MockStorageClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStorageClient) FindDefaultCredentials ¶
func (m *MockStorageClient) FindDefaultCredentials(ctx context.Context, scope string) (*google.Credentials, error)
FindDefaultCredentials mocks base method
func (*MockStorageClient) JWTConfigFromJSON ¶
func (m *MockStorageClient) JWTConfigFromJSON(keyJSON []byte) (*jwt.Config, error)
JWTConfigFromJSON mocks base method
func (*MockStorageClient) SignedURL ¶
func (m *MockStorageClient) SignedURL(bucket, name string, opts *storage.SignedURLOptions) (string, error)
SignedURL mocks base method
type MockStorageClientMockRecorder ¶
type MockStorageClientMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageClientMockRecorder is the mock recorder for MockStorageClient
func (*MockStorageClientMockRecorder) Bucket ¶
func (mr *MockStorageClientMockRecorder) Bucket(name interface{}) *gomock.Call
Bucket indicates an expected call of Bucket
func (*MockStorageClientMockRecorder) FindDefaultCredentials ¶
func (mr *MockStorageClientMockRecorder) FindDefaultCredentials(ctx, scope interface{}) *gomock.Call
FindDefaultCredentials indicates an expected call of FindDefaultCredentials
func (*MockStorageClientMockRecorder) JWTConfigFromJSON ¶
func (mr *MockStorageClientMockRecorder) JWTConfigFromJSON(keyJSON interface{}) *gomock.Call
JWTConfigFromJSON indicates an expected call of JWTConfigFromJSON
func (*MockStorageClientMockRecorder) SignedURL ¶
func (mr *MockStorageClientMockRecorder) SignedURL(bucket, name, opts interface{}) *gomock.Call
SignedURL indicates an expected call of SignedURL
type MockStorageObject ¶
type MockStorageObject struct {
// contains filtered or unexported fields
}
MockStorageObject is a mock of StorageObject interface
func NewMockStorageObject ¶
func NewMockStorageObject(ctrl *gomock.Controller) *MockStorageObject
NewMockStorageObject creates a new mock instance
func (*MockStorageObject) EXPECT ¶
func (m *MockStorageObject) EXPECT() *MockStorageObjectMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStorageObject) NewWriter ¶
func (m *MockStorageObject) NewWriter(ctx context.Context) gcsifaces.StorageWriter
NewWriter mocks base method
type MockStorageObjectMockRecorder ¶
type MockStorageObjectMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageObjectMockRecorder is the mock recorder for MockStorageObject
func (*MockStorageObjectMockRecorder) NewWriter ¶
func (mr *MockStorageObjectMockRecorder) NewWriter(ctx interface{}) *gomock.Call
NewWriter indicates an expected call of NewWriter
type MockStorageWriter ¶
type MockStorageWriter struct {
// contains filtered or unexported fields
}
MockStorageWriter is a mock of StorageWriter interface
func NewMockStorageWriter ¶
func NewMockStorageWriter(ctrl *gomock.Controller) *MockStorageWriter
NewMockStorageWriter creates a new mock instance
func (*MockStorageWriter) EXPECT ¶
func (m *MockStorageWriter) EXPECT() *MockStorageWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStorageWriter) SetACL ¶
func (m *MockStorageWriter) SetACL(acl string)
SetACL mocks base method
type MockStorageWriterMockRecorder ¶
type MockStorageWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageWriterMockRecorder is the mock recorder for MockStorageWriter
func (*MockStorageWriterMockRecorder) Close ¶
func (mr *MockStorageWriterMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockStorageWriterMockRecorder) SetACL ¶
func (mr *MockStorageWriterMockRecorder) SetACL(acl interface{}) *gomock.Call
SetACL indicates an expected call of SetACL
func (*MockStorageWriterMockRecorder) Write ¶
func (mr *MockStorageWriterMockRecorder) Write(p interface{}) *gomock.Call
Write indicates an expected call of Write