mock_gcs

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_gcs is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStorage

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

MockStorage is a mock of Storage interface

func NewMockStorage

func NewMockStorage(ctrl *gomock.Controller) *MockStorage

NewMockStorage creates a new mock instance

func (*MockStorage) Delete

func (m *MockStorage) Delete(ctx context.Context, objName string) error

Delete mocks base method

func (*MockStorage) EXPECT

func (m *MockStorage) EXPECT() *MockStorageMockRecorder

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

func (*MockStorage) Get

func (m *MockStorage) Get(ctx context.Context, objName string) ([]byte, error)

Get mocks base method

func (*MockStorage) List

func (m *MockStorage) List(ctx context.Context, filePrefix string) ([]string, error)

List mocks base method

func (*MockStorage) MakeObjectPublic

func (m *MockStorage) MakeObjectPublic(ctx context.Context, objName string) error

MakeObjectPublic mocks base method

func (*MockStorage) Put

func (m *MockStorage) Put(ctx context.Context, objName string, data []byte) error

Put mocks base method

type MockStorageMockRecorder

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

MockStorageMockRecorder is the mock recorder for MockStorage

func (*MockStorageMockRecorder) Delete

func (mr *MockStorageMockRecorder) Delete(ctx, objName interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockStorageMockRecorder) Get

func (mr *MockStorageMockRecorder) Get(ctx, objName interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockStorageMockRecorder) List

func (mr *MockStorageMockRecorder) List(ctx, filePrefix interface{}) *gomock.Call

List indicates an expected call of List

func (*MockStorageMockRecorder) MakeObjectPublic

func (mr *MockStorageMockRecorder) MakeObjectPublic(ctx, objName interface{}) *gomock.Call

MakeObjectPublic indicates an expected call of MakeObjectPublic

func (*MockStorageMockRecorder) Put

func (mr *MockStorageMockRecorder) Put(ctx, objName, data interface{}) *gomock.Call

Put indicates an expected call of Put

Jump to

Keyboard shortcuts

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