etcdcli

package
v0.0.0-...-3e93e3d Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

Close ends the connection between etcd client and etcd

func GetKV

func GetKV(key string) string

GetKV returns value for the given key

func GetList

func GetList(key string) []string

GetList returns a list of values for the given prefix key

func Init

func Init(config *types.IPAMConfig) (*clientv3.Client, error)

Init returns an etcd client from given config

func PutKV

func PutKV(key, val string) error

PutKV writes the given KV pairs into etcd

Types

This section is empty.

Jump to

Keyboard shortcuts

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