etcd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2018 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const FilesystemNextSyncKey = "/fs/nextsync"
View Source
const FilesystemRootKey = "/fs/root"
View Source
const NoSync apis.SyncID = 0
View Source
const TTL int64 = 1
View Source
const TestingLeaseTimeout = time.Second

Variables

This section is empty.

Functions

func LaunchTestingEtcdServer

func LaunchTestingEtcdServer() (string, func() error, error)

func PrepareSubscribeForTesting

func PrepareSubscribeForTesting(t *testing.T) (subscribe func(local apis.ServerName) (apis.EtcdInterface, func()), teardown func())

func SubscribeEtcd

func SubscribeEtcd(localName apis.ServerName, servers []apis.ServerAddress) (apis.EtcdInterface, error)

Connects to etcd and provides our specific etcd interface based on that connection.

Types

This section is empty.

Jump to

Keyboard shortcuts

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