mock_cache

package
v15.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_cache is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockErrCacher

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

MockErrCacher is a mock of ErrCacher interface.

func NewMockErrCacher

func NewMockErrCacher(ctrl *gomock.Controller) *MockErrCacher

NewMockErrCacher creates a new mock instance.

func (*MockErrCacher) CacheError

func (m *MockErrCacher) CacheError(arg0 context.Context, arg1 interface{}, arg2 error, arg3 time.Duration)

CacheError mocks base method.

func (*MockErrCacher) EXPECT

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

func (*MockErrCacher) GetError

func (m *MockErrCacher) GetError(arg0 context.Context, arg1 interface{}) error

GetError mocks base method.

type MockErrCacherMockRecorder

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

MockErrCacherMockRecorder is the mock recorder for MockErrCacher.

func (*MockErrCacherMockRecorder) CacheError

func (mr *MockErrCacherMockRecorder) CacheError(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CacheError indicates an expected call of CacheError.

func (*MockErrCacherMockRecorder) GetError

func (mr *MockErrCacherMockRecorder) GetError(arg0, arg1 interface{}) *gomock.Call

GetError indicates an expected call of GetError.

Jump to

Keyboard shortcuts

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