mocks

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisFailover

type RedisFailover struct {
	mock.Mock
}

RedisFailover is an autogenerated mock type for the RedisFailover type

func NewRedisFailover

func NewRedisFailover(t mockConstructorTestingTNewRedisFailover) *RedisFailover

NewRedisFailover creates a new instance of RedisFailover. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*RedisFailover) ListRedisFailovers

func (_m *RedisFailover) ListRedisFailovers(ctx context.Context, namespace string, opts v1.ListOptions) (*redisfailoverv1.RedisFailoverList, error)

ListRedisFailovers provides a mock function with given fields: ctx, namespace, opts

func (*RedisFailover) UpdateRedisFailoverStatus

func (_m *RedisFailover) UpdateRedisFailoverStatus(ctx context.Context, namespace string, redisFailover *redisfailoverv1.RedisFailover, opts v1.PatchOptions)

func (*RedisFailover) WatchRedisFailovers

func (_m *RedisFailover) WatchRedisFailovers(ctx context.Context, namespace string, opts v1.ListOptions) (watch.Interface, error)

WatchRedisFailovers provides a mock function with given fields: ctx, namespace, opts

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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