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 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.
Click to show internal directories.
Click to hide internal directories.