mock_cache

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: Apache-2.0 Imports: 3 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 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) Delete

func (m *MockCache) Delete(id string)

Delete mocks base method.

func (*MockCache) EXPECT

func (m *MockCache) EXPECT() *MockCacheMockRecorder

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

func (*MockCache) FindId

func (m *MockCache) FindId(key string) (string, bool)

FindId mocks base method.

func (*MockCache) FindKeys

func (m *MockCache) FindKeys(id string) []string

FindKeys mocks base method.

func (*MockCache) Get

func (m *MockCache) Get(key string) *config.APIConfig

Get mocks base method.

func (*MockCache) Set

func (m *MockCache) Set(id, key string, config config.APIConfig, override bool) error

Set mocks base method.

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.

Jump to

Keyboard shortcuts

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