etcd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2018 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EtcdDatastore

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

func NewEtcdDatastore

func NewEtcdDatastore(service string, endpoints []string) (*EtcdDatastore, error)

func (EtcdDatastore) Apply

func (d EtcdDatastore) Apply(name string, pb proto.Message) error

func (EtcdDatastore) Close

func (d EtcdDatastore) Close() error

func (EtcdDatastore) Delete

func (d EtcdDatastore) Delete(name string) error

func (EtcdDatastore) Get

func (d EtcdDatastore) Get(name string, pb proto.Message) error

func (EtcdDatastore) List

func (d EtcdDatastore) List(f func(int) []proto.Message) error

Jump to

Keyboard shortcuts

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