cachemocks

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func NewManager added in v1.1.2

func NewManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *Manager

NewManager creates a new instance of Manager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Manager) GetCache

func (_m *Manager) GetCache(cc *cache.CConfig) (cache.CInterface, error)

GetCache provides a mock function with given fields: cc

func (*Manager) ListCacheNames added in v1.3.0

func (_m *Manager) ListCacheNames(namespace string) []string

ListCacheNames provides a mock function with given fields: namespace

func (*Manager) ResetCachesForNamespace added in v1.3.0

func (_m *Manager) ResetCachesForNamespace(ns string)

ResetCachesForNamespace provides a mock function with given fields: ns

Jump to

Keyboard shortcuts

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