etcdv2ng

package
v0.0.0-...-5a0bf87 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2016 License: Apache-2.0, MIT Imports: 16 Imported by: 0

Documentation

Overview

package etcdng contains the implementation of the Etcd-backed engine, where all vulcand properties are implemented as directories or keys. this engine is capable of watching the changes and generating events.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(nodes []string, etcdKey string, registry *plugin.Registry, options Options) (engine.Engine, error)

Types

type MatcherFn

type MatcherFn func(*etcd.Response) (interface{}, error)

type Options

type Options struct {
	EtcdConsistency         string
	EtcdCaFile              string
	EtcdCertFile            string
	EtcdKeyFile             string
	EtcdSyncIntervalSeconds int64
	Box                     *secret.Box
}

type Pair

type Pair struct {
	Key string
	Val string
}

Jump to

Keyboard shortcuts

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