Documentation ¶
Index ¶
- type KeysAPIMock
- func (a *KeysAPIMock) Create(ctx context.Context, key, value string) (*client.Response, error)
- func (a *KeysAPIMock) CreateInOrder(ctx context.Context, dir, value string, opts *client.CreateInOrderOptions) (*client.Response, error)
- func (a *KeysAPIMock) Delete(ctx context.Context, key string, opts *client.DeleteOptions) (*client.Response, error)
- func (a *KeysAPIMock) Get(ctx context.Context, key string, opts *client.GetOptions) (*client.Response, error)
- func (a *KeysAPIMock) Set(ctx context.Context, key, value string, opts *client.SetOptions) (*client.Response, error)
- func (a *KeysAPIMock) Update(ctx context.Context, key, value string) (*client.Response, error)
- func (a *KeysAPIMock) Watcher(key string, opts *client.WatcherOptions) client.Watcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeysAPIMock ¶
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) Watcher ¶
func (a *KeysAPIMock) Watcher(key string, opts *client.WatcherOptions) client.Watcher
Click to show internal directories.
Click to hide internal directories.