mock

package
v0.9.28 Latest Latest
Warning

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

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

Documentation

Overview

Package mock 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) EXPECT

func (m *MockStorage) EXPECT() *MockStorageMockRecorder

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

func (*MockStorage) IsStored

func (m *MockStorage) IsStored(arg0 ...string) (bool, error)

IsStored mocks base method.

func (*MockStorage) Retrieve

func (m *MockStorage) Retrieve(arg0 ...string) ([]byte, error)

Retrieve mocks base method.

func (*MockStorage) Store

func (m *MockStorage) Store(arg0 []byte, arg1 ...string) error

Store mocks base method.

type MockStorageMockRecorder

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

MockStorageMockRecorder is the mock recorder for MockStorage.

func (*MockStorageMockRecorder) IsStored

func (mr *MockStorageMockRecorder) IsStored(arg0 ...interface{}) *gomock.Call

IsStored indicates an expected call of IsStored.

func (*MockStorageMockRecorder) Retrieve

func (mr *MockStorageMockRecorder) Retrieve(arg0 ...interface{}) *gomock.Call

Retrieve indicates an expected call of Retrieve.

func (*MockStorageMockRecorder) Store

func (mr *MockStorageMockRecorder) Store(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Store indicates an expected call of Store.

Jump to

Keyboard shortcuts

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