etcd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2016 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 Etcd

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

Etcd and represents the data in a remote etcd server

func Dial

func Dial(etcdURI string) (*Etcd, error)

Dial creates a Etcd from the remote etcd server.

func (*Etcd) KeyValuePairs

func (etcd *Etcd) KeyValuePairs(namespace string) ([]keyvalue.KeyValue, error)

KeyValuePairs returns a list key value pairs recursively under the namespace

func (*Etcd) Set

func (etcd *Etcd) Set(keyValue keyvalue.KeyValue) error

Set sets the keyValue on the remote Etcd

func (*Etcd) SetAll

func (etcd *Etcd) SetAll(keyValues []keyvalue.KeyValue) error

SetAll sets all keyValues on the remote Etcd

Jump to

Keyboard shortcuts

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