mock_revcache

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_revcache is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRevCache

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

MockRevCache is a mock of RevCache interface

func NewMockRevCache

func NewMockRevCache(ctrl *gomock.Controller) *MockRevCache

NewMockRevCache creates a new mock instance

func (*MockRevCache) Close

func (m *MockRevCache) Close() error

Close mocks base method

func (*MockRevCache) DeleteExpired

func (m *MockRevCache) DeleteExpired(arg0 context.Context) (int64, error)

DeleteExpired mocks base method

func (*MockRevCache) EXPECT

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

func (*MockRevCache) Get

Get mocks base method

func (*MockRevCache) GetAll

func (m *MockRevCache) GetAll(arg0 context.Context) (revcache.ResultChan, error)

GetAll mocks base method

func (*MockRevCache) Insert

func (m *MockRevCache) Insert(arg0 context.Context, arg1 *path_mgmt.SignedRevInfo) (bool, error)

Insert mocks base method

func (*MockRevCache) SetMaxIdleConns

func (m *MockRevCache) SetMaxIdleConns(arg0 int)

SetMaxIdleConns mocks base method

func (*MockRevCache) SetMaxOpenConns

func (m *MockRevCache) SetMaxOpenConns(arg0 int)

SetMaxOpenConns mocks base method

type MockRevCacheMockRecorder

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

MockRevCacheMockRecorder is the mock recorder for MockRevCache

func (*MockRevCacheMockRecorder) Close

func (mr *MockRevCacheMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockRevCacheMockRecorder) DeleteExpired

func (mr *MockRevCacheMockRecorder) DeleteExpired(arg0 interface{}) *gomock.Call

DeleteExpired indicates an expected call of DeleteExpired

func (*MockRevCacheMockRecorder) Get

func (mr *MockRevCacheMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockRevCacheMockRecorder) GetAll

func (mr *MockRevCacheMockRecorder) GetAll(arg0 interface{}) *gomock.Call

GetAll indicates an expected call of GetAll

func (*MockRevCacheMockRecorder) Insert

func (mr *MockRevCacheMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call

Insert indicates an expected call of Insert

func (*MockRevCacheMockRecorder) SetMaxIdleConns

func (mr *MockRevCacheMockRecorder) SetMaxIdleConns(arg0 interface{}) *gomock.Call

SetMaxIdleConns indicates an expected call of SetMaxIdleConns

func (*MockRevCacheMockRecorder) SetMaxOpenConns

func (mr *MockRevCacheMockRecorder) SetMaxOpenConns(arg0 interface{}) *gomock.Call

SetMaxOpenConns indicates an expected call of SetMaxOpenConns

Jump to

Keyboard shortcuts

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