mocks

package
v7.8.6 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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
}

MockBlobstore is a mock of Blobstore interface.

func NewMockBlobstore

func NewMockBlobstore(ctrl *gomock.Controller) *MockBlobstore

NewMockBlobstore creates a new mock instance.

func (*MockBlobstore) Add

func (m *MockBlobstore) Add(arg0 string) (string, error)

Add mocks base method.

func (*MockBlobstore) EXPECT

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

func (*MockBlobstore) Get

func (m *MockBlobstore) Get(arg0 string) (blobstore.LocalBlob, error)

Get mocks base method.

type MockBlobstoreMockRecorder

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

MockBlobstoreMockRecorder is the mock recorder for MockBlobstore.

func (*MockBlobstoreMockRecorder) Add

func (mr *MockBlobstoreMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockBlobstoreMockRecorder) Get

func (mr *MockBlobstoreMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

type MockFactory

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

MockFactory is a mock of Factory interface.

func NewMockFactory

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

NewMockFactory creates a new mock instance.

func (*MockFactory) Create

func (m *MockFactory) Create(arg0 string, arg1 *http.Client) (blobstore.Blobstore, error)

Create mocks base method.

func (*MockFactory) EXPECT

func (m *MockFactory) EXPECT() *MockFactoryMockRecorder

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

type MockFactoryMockRecorder

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

MockFactoryMockRecorder is the mock recorder for MockFactory.

func (*MockFactoryMockRecorder) Create

func (mr *MockFactoryMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

Jump to

Keyboard shortcuts

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