mockgcsbackend

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mockgcsbackend is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGCS

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

MockGCS is a mock of GCS interface

func NewMockGCS

func NewMockGCS(ctrl *gomock.Controller) *MockGCS

NewMockGCS creates a new mock instance

func (*MockGCS) Download

func (m *MockGCS) Download(arg0 string, arg1 io.Writer) (int64, error)

Download mocks base method

func (*MockGCS) EXPECT

func (m *MockGCS) EXPECT() *MockGCSMockRecorder

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

func (*MockGCS) GetObjectIterator

func (m *MockGCS) GetObjectIterator(arg0 string) iterator.Pageable

GetObjectIterator mocks base method

func (*MockGCS) NextPage

func (m *MockGCS) NextPage(arg0 *iterator.Pager) ([]string, string, error)

NextPage mocks base method

func (*MockGCS) ObjectAttrs

func (m *MockGCS) ObjectAttrs(arg0 string) (*storage.ObjectAttrs, error)

ObjectAttrs mocks base method

func (*MockGCS) Upload

func (m *MockGCS) Upload(arg0 string, arg1 io.Reader) (int64, error)

Upload mocks base method

type MockGCSMockRecorder

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

MockGCSMockRecorder is the mock recorder for MockGCS

func (*MockGCSMockRecorder) Download

func (mr *MockGCSMockRecorder) Download(arg0, arg1 interface{}) *gomock.Call

Download indicates an expected call of Download

func (*MockGCSMockRecorder) GetObjectIterator

func (mr *MockGCSMockRecorder) GetObjectIterator(arg0 interface{}) *gomock.Call

GetObjectIterator indicates an expected call of GetObjectIterator

func (*MockGCSMockRecorder) NextPage

func (mr *MockGCSMockRecorder) NextPage(arg0 interface{}) *gomock.Call

NextPage indicates an expected call of NextPage

func (*MockGCSMockRecorder) ObjectAttrs

func (mr *MockGCSMockRecorder) ObjectAttrs(arg0 interface{}) *gomock.Call

ObjectAttrs indicates an expected call of ObjectAttrs

func (*MockGCSMockRecorder) Upload

func (mr *MockGCSMockRecorder) Upload(arg0, arg1 interface{}) *gomock.Call

Upload indicates an expected call of Upload

Jump to

Keyboard shortcuts

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