mocks

package
v1.1.16 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	mock.Mock
}

Store is an autogenerated mock type for the Store type

func (*Store) AtomicDelete

func (_m *Store) AtomicDelete(key string, expected *kv.KeyValue) (bool, error)

AtomicDelete provides a mock function with given fields: key, expected

func (*Store) AtomicPut

func (_m *Store) AtomicPut(key string, value []byte, expected *kv.KeyValue, opts ...kv.PutOption) (*kv.KeyValue, error)

AtomicPut provides a mock function with given fields: key, value, expected, opts

func (*Store) Close

func (_m *Store) Close()

Close provides a mock function with given fields:

func (*Store) Delete

func (_m *Store) Delete(key string) error

Delete provides a mock function with given fields: key

func (*Store) DeleteTree

func (_m *Store) DeleteTree(prefix string) error

DeleteTree provides a mock function with given fields: prefix

func (*Store) Exists

func (_m *Store) Exists(key string) (bool, error)

Exists provides a mock function with given fields: key

func (*Store) Get

func (_m *Store) Get(key string) (*kv.KeyValue, error)

Get provides a mock function with given fields: key

func (*Store) List

func (_m *Store) List(prefix string) ([]*kv.KeyValue, error)

List provides a mock function with given fields: prefix

func (*Store) Lock

func (_m *Store) Lock(key string, opts ...kv.LockOption) (kv.Locker, error)

Lock provides a mock function with given fields: key, opts

func (*Store) Put

func (_m *Store) Put(key string, value []byte, opts ...kv.PutOption) error

Put provides a mock function with given fields: key, value, opts

func (*Store) Watch

func (_m *Store) Watch(key string, stopCh <-chan struct{}) (<-chan *kv.KeyValue, error)

Watch provides a mock function with given fields: key, stopCh

func (*Store) WatchTree

func (_m *Store) WatchTree(prefix string, stopCh <-chan struct{}) (<-chan []*kv.KeyValue, error)

WatchTree provides a mock function with given fields: prefix, stopCh

Jump to

Keyboard shortcuts

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