Documentation ¶
Overview ¶
Package mock_cache is a generated GoMock package.
Index ¶
- type MockCache
- func (m *MockCache) Delete(id string)
- func (m *MockCache) EXPECT() *MockCacheMockRecorder
- func (m *MockCache) FindId(key string) (string, bool)
- func (m *MockCache) FindKeys(id string) []string
- func (m *MockCache) Get(key string) *config.APIConfig
- func (m *MockCache) Set(id, key string, config config.APIConfig, override bool) error
- type MockCacheMockRecorder
- func (mr *MockCacheMockRecorder) Delete(id interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) FindId(key interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) FindKeys(id interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) Get(key interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) Set(id, key, config, override interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCache ¶
type MockCache struct {
// contains filtered or unexported fields
}
MockCache is a mock of Cache interface.
func NewMockCache ¶
func NewMockCache(ctrl *gomock.Controller) *MockCache
NewMockCache creates a new mock instance.
func (*MockCache) EXPECT ¶
func (m *MockCache) EXPECT() *MockCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCacheMockRecorder ¶
type MockCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockCacheMockRecorder is the mock recorder for MockCache.
func (*MockCacheMockRecorder) Delete ¶
func (mr *MockCacheMockRecorder) Delete(id interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockCacheMockRecorder) FindId ¶
func (mr *MockCacheMockRecorder) FindId(key interface{}) *gomock.Call
FindId indicates an expected call of FindId.
func (*MockCacheMockRecorder) FindKeys ¶
func (mr *MockCacheMockRecorder) FindKeys(id interface{}) *gomock.Call
FindKeys indicates an expected call of FindKeys.
func (*MockCacheMockRecorder) Get ¶
func (mr *MockCacheMockRecorder) Get(key interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockCacheMockRecorder) Set ¶
func (mr *MockCacheMockRecorder) Set(id, key, config, override interface{}) *gomock.Call
Set indicates an expected call of Set.
Click to show internal directories.
Click to hide internal directories.