mock_gcsifaces

package
v0.0.85-test Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_gcsifaces is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStorageBucket) Object

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

Bucket mocks base method

func (*MockStorageClient) EXPECT

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStorageObject) NewWriter

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) Close

func (m *MockStorageWriter) Close() error

Close mocks base method

func (*MockStorageWriter) EXPECT

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

func (*MockStorageWriter) Write

func (m *MockStorageWriter) Write(p []byte) (int, error)

Write mocks base method

type MockStorageWriterMockRecorder

type MockStorageWriterMockRecorder struct {
	// contains filtered or unexported fields
}

MockStorageWriterMockRecorder is the mock recorder for MockStorageWriter

func (*MockStorageWriterMockRecorder) Close

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL