Documentation
¶
Index ¶
- type EtcdV3
- func (etcdcli *EtcdV3) Delete(res *clientv3.GetResponse) error
- func (etcdcli *EtcdV3) DeleteAndSetKey(keyOld, keyNew, value string) error
- func (etcdcli *EtcdV3) DeleteKeys(keys []string) error
- func (etcdcli *EtcdV3) DoDelete(key string) error
- func (etcdcli *EtcdV3) Get(key string, recursive bool) (*clientv3.GetResponse, error)
- func (etcdcli *EtcdV3) InitEtcd(etcdServerList []string, etcdCertfile, etcdKeyFile, etcdCafile string) error
- func (etcdcli *EtcdV3) Set(key string, val string) error
- func (etcdcli *EtcdV3) SetKeys(keys []string, vals []string) error
- func (etcdcli *EtcdV3) Update(key string, val string, valPre string) error
- func (s *EtcdV3) Watch(ctx context.Context, key string, opts ...clientv3.OpOption) clientv3.WatchChan
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdV3 ¶
type EtcdV3 struct {
// contains filtered or unexported fields
}
func (*EtcdV3) DeleteAndSetKey ¶
Create implements storage.Interface.Creat
func (*EtcdV3) DeleteKeys ¶
Create implements storage.Interface.Creat
Click to show internal directories.
Click to hide internal directories.