Documentation ¶
Index ¶
- type EtcdClient
- func (_m *EtcdClient) Close() error
- func (_m *EtcdClient) Del(key string) (int64, error)
- func (_m *EtcdClient) Get(key string) (string, error)
- func (_m *EtcdClient) List(prefix string) ([]*etcd.KeyValue, error)
- func (_m *EtcdClient) Put(key string, value string) (string, error)
- func (_m *EtcdClient) Watch(prefix string, startIndex int64, onEvent func(*clientv3.Event))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdClient ¶
EtcdClient is an autogenerated mock type for the EtcdClient type
func (*EtcdClient) Close ¶
func (_m *EtcdClient) Close() error
Close provides a mock function with given fields:
func (*EtcdClient) Del ¶
func (_m *EtcdClient) Del(key string) (int64, error)
Del provides a mock function with given fields: key
func (*EtcdClient) Get ¶
func (_m *EtcdClient) Get(key string) (string, error)
Get provides a mock function with given fields: key
func (*EtcdClient) List ¶
func (_m *EtcdClient) List(prefix string) ([]*etcd.KeyValue, error)
List provides a mock function with given fields: prefix
Click to show internal directories.
Click to hide internal directories.