mock_gcloud_storage

package
v0.18.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_gcloud_storage is a generated GoMock package.

Index

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

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

func (*MockBucketHandle) Object

Object mocks base method.

func (*MockBucketHandle) Objects

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

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

func (*MockBucketIterator) Next

Next mocks base method.

type MockBucketIteratorMockRecorder

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

MockBucketIteratorMockRecorder is the mock recorder for MockBucketIterator.

func (*MockBucketIteratorMockRecorder) Next

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

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

func (*MockObjectHandle) NewReader

NewReader mocks base method.

func (*MockObjectHandle) NewWriter

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

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

func (*MockObjectIterator) Next

Next mocks base method.

type MockObjectIteratorMockRecorder

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

MockObjectIteratorMockRecorder is the mock recorder for MockObjectIterator.

func (*MockObjectIteratorMockRecorder) Next

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

func (m *MockReader) Close() error

Close mocks base method.

func (*MockReader) EXPECT

func (m *MockReader) EXPECT() *MockReaderMockRecorder

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

func (*MockReader) Read

func (m *MockReader) Read(arg0 []byte) (int, error)

Read mocks base method.

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

Bucket mocks base method.

func (*MockStorageClient) Buckets

Buckets mocks base method.

func (*MockStorageClient) EXPECT

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

func (m *MockWriter) Close() error

Close mocks base method.

func (*MockWriter) EXPECT

func (m *MockWriter) EXPECT() *MockWriterMockRecorder

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

func (*MockWriter) Write

func (m *MockWriter) Write(arg0 []byte) (int, error)

Write mocks base method.

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.

Jump to

Keyboard shortcuts

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