mocks

package
v0.0.0-...-a96dc21 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisWrapper

type RedisWrapper struct {
	mock.Mock
}

RedisWrapper is an autogenerated mock type for the RedisWrapper type

func NewRedisWrapper

func NewRedisWrapper(t interface {
	mock.TestingT
	Cleanup(func())
}) *RedisWrapper

NewRedisWrapper creates a new instance of RedisWrapper. 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 (*RedisWrapper) ListRedisInstances

func (_m *RedisWrapper) ListRedisInstances(_a0 context.Context, _a1 string) []*redispb.Instance

ListRedisInstances provides a mock function with given fields: _a0, _a1

func (*RedisWrapper) StartRefreshRoutine

func (_m *RedisWrapper) StartRefreshRoutine(_a0 context.Context, _a1 time.Duration, _a2 *config.InstanceConfig) error

StartRefreshRoutine provides a mock function with given fields: _a0, _a1, _a2

Jump to

Keyboard shortcuts

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