etcd

package
v0.0.0-...-dfea14c Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: MIT Imports: 10 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 is a state store

func NewETCD

func NewETCD() *ETCD

NewETCD returns a new ETCD state store

func (*ETCD) BulkDelete

func (r *ETCD) BulkDelete(req []state.DeleteRequest) error

BulkDelete performs a bulk delete operation

func (*ETCD) BulkSet

func (r *ETCD) BulkSet(req []state.SetRequest) error

BulkSet performs a bulks save operation

func (*ETCD) Delete

func (r *ETCD) Delete(req *state.DeleteRequest) error

Delete performs a delete operation

func (*ETCD) Get

func (r *ETCD) Get(req *state.GetRequest) (*state.GetResponse, error)

Get retrieves state from ETCD with a key

func (*ETCD) Init

func (r *ETCD) Init(metadata state.Metadata) error

Init does metadata and connection parsing

func (*ETCD) Set

func (r *ETCD) Set(req *state.SetRequest) error

Set saves state into ETCD

Jump to

Keyboard shortcuts

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