test

package
v0.0.0-...-28beba7 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeysAPIMock

type KeysAPIMock struct {
	mock.Mock
}

func (*KeysAPIMock) Create

func (a *KeysAPIMock) Create(ctx context.Context, key, value string) (*client.Response, error)

func (*KeysAPIMock) CreateInOrder

func (a *KeysAPIMock) CreateInOrder(ctx context.Context, dir, value string, opts *client.CreateInOrderOptions) (*client.Response, error)

func (*KeysAPIMock) Delete

func (a *KeysAPIMock) Delete(ctx context.Context, key string, opts *client.DeleteOptions) (*client.Response, error)

func (*KeysAPIMock) Get

func (a *KeysAPIMock) Get(ctx context.Context, key string, opts *client.GetOptions) (*client.Response, error)

func (*KeysAPIMock) Set

func (a *KeysAPIMock) Set(ctx context.Context, key, value string, opts *client.SetOptions) (*client.Response, error)

func (*KeysAPIMock) Update

func (a *KeysAPIMock) Update(ctx context.Context, key, value string) (*client.Response, error)

func (*KeysAPIMock) Watcher

func (a *KeysAPIMock) Watcher(key string, opts *client.WatcherOptions) client.Watcher

Jump to

Keyboard shortcuts

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