redis

package
v0.0.0-...-d01dfd4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CachedManager

type CachedManager struct {
	mock.Mock
}

CachedManager is an autogenerated mock type for the CachedManager type

func NewCachedManager

func NewCachedManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *CachedManager

NewCachedManager creates a new instance of CachedManager. 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 (*CachedManager) CacheClient

func (_m *CachedManager) CacheClient(ctx context.Context) cache.Cache

CacheClient provides a mock function with given fields: ctx

func (*CachedManager) CountCache

func (_m *CachedManager) CountCache(ctx context.Context) (int64, error)

CountCache provides a mock function with given fields: ctx

func (*CachedManager) Delete

func (_m *CachedManager) Delete(ctx context.Context, digest string) error

Delete provides a mock function with given fields: ctx, digest

func (*CachedManager) DeleteCache

func (_m *CachedManager) DeleteCache(ctx context.Context, key string) error

DeleteCache provides a mock function with given fields: ctx, key

func (*CachedManager) FlushAll

func (_m *CachedManager) FlushAll(ctx context.Context) error

FlushAll provides a mock function with given fields: ctx

func (*CachedManager) Get

func (_m *CachedManager) Get(ctx context.Context, digest string) ([]byte, error)

Get provides a mock function with given fields: ctx, digest

func (*CachedManager) ResourceType

func (_m *CachedManager) ResourceType(ctx context.Context) string

ResourceType provides a mock function with given fields: ctx

func (*CachedManager) Save

func (_m *CachedManager) Save(ctx context.Context, digest string, manifest []byte) error

Save provides a mock function with given fields: ctx, digest, manifest

Jump to

Keyboard shortcuts

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