Documentation ¶
Overview ¶
Package mock_revcache is a generated GoMock package.
Index ¶
- type MockRevCache
- func (m *MockRevCache) Close() error
- func (m *MockRevCache) DeleteExpired(arg0 context.Context) (int64, error)
- func (m *MockRevCache) EXPECT() *MockRevCacheMockRecorder
- func (m *MockRevCache) Get(arg0 context.Context, arg1 revcache.KeySet) (revcache.Revocations, error)
- func (m *MockRevCache) GetAll(arg0 context.Context) (revcache.ResultChan, error)
- func (m *MockRevCache) Insert(arg0 context.Context, arg1 *path_mgmt.SignedRevInfo) (bool, error)
- func (m *MockRevCache) SetMaxIdleConns(arg0 int)
- func (m *MockRevCache) SetMaxOpenConns(arg0 int)
- type MockRevCacheMockRecorder
- func (mr *MockRevCacheMockRecorder) Close() *gomock.Call
- func (mr *MockRevCacheMockRecorder) DeleteExpired(arg0 interface{}) *gomock.Call
- func (mr *MockRevCacheMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRevCacheMockRecorder) GetAll(arg0 interface{}) *gomock.Call
- func (mr *MockRevCacheMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRevCacheMockRecorder) SetMaxIdleConns(arg0 interface{}) *gomock.Call
- func (mr *MockRevCacheMockRecorder) SetMaxOpenConns(arg0 interface{}) *gomock.Call
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) DeleteExpired ¶
func (m *MockRevCache) DeleteExpired(arg0 context.Context) (int64, error)
DeleteExpired mocks base method
func (*MockRevCache) EXPECT ¶
func (m *MockRevCache) EXPECT() *MockRevCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRevCache) Get ¶
func (m *MockRevCache) Get(arg0 context.Context, arg1 revcache.KeySet) (revcache.Revocations, error)
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