etcdv2

package
v0.0.0-...-172d49c Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2019 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 EtcdV2

type EtcdV2 struct {
	// contains filtered or unexported fields
}

func (*EtcdV2) Delete

func (etcdcli *EtcdV2) Delete(res *etcd_client.Response) (err error)

func (*EtcdV2) DeleteRaw

func (etcdcli *EtcdV2) DeleteRaw(key string) error

func (*EtcdV2) DoDelete

func (etcdcli *EtcdV2) DoDelete(key string, val string) error

func (*EtcdV2) Get

func (etcdcli *EtcdV2) Get(key string, sort bool, recursive bool) (*etcd_client.Response, error)

func (*EtcdV2) InitEtcd

func (etcdcli *EtcdV2) InitEtcd(etcdServerList []string) error

func (*EtcdV2) Set

func (etcdcli *EtcdV2) Set(key string, val string) error

func (*EtcdV2) Update

func (etcdcli *EtcdV2) Update(key string, val string, preVal string, check bool) error

func (*EtcdV2) Watch

func (etcdcli *EtcdV2) Watch(prefix string, waitIndex uint64, recursive bool, receiver chan *etcd_client.Response)

Jump to

Keyboard shortcuts

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