mocks

package
v2.0.30+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBlobstore

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

Mock of Blobstore interface

func NewMockBlobstore

func NewMockBlobstore(ctrl *gomock.Controller) *MockBlobstore

func (*MockBlobstore) Add

func (_m *MockBlobstore) Add(_param0 string) (string, error)

func (*MockBlobstore) EXPECT

func (_m *MockBlobstore) EXPECT() *_MockBlobstoreRecorder

func (*MockBlobstore) Get

func (_m *MockBlobstore) Get(_param0 string) (blobstore.LocalBlob, error)

type MockFactory

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

Mock of Factory interface

func NewMockFactory

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

func (*MockFactory) Create

func (_m *MockFactory) Create(_param0 string, _param1 *http.Client) (blobstore.Blobstore, error)

func (*MockFactory) EXPECT

func (_m *MockFactory) EXPECT() *_MockFactoryRecorder

Jump to

Keyboard shortcuts

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