package
Version:
v1.7.2
Opens a new window with list of versions in this module.
Published: Jun 11, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package etcdutils helps test interactions with etcd.
-
func PublishEtcd(t *testing.T, ecli *EtcdHandle)
-
func SetEtcd(t *testing.T, keys []string, values []string, c *etcd.Client)
-
func SetSingle(t *testing.T, key string, value string, port string)
-
func VerifyEtcdKey(t *testing.T, key string, port string)
-
func VerifyEtcdValue(t *testing.T, key string, expectedValue string, port string)
-
type EtcdHandle
PublishEtcd sets canonical etcd values into a test etcd instance.
SetEtcd sets an array of values into a test etcd instance.
SetSingle sets a key and value into a test etcd instance.
VerifyEtcdKey verifies that an etcd key exists.
VerifyEtcdValue verifies the value of an etcd key.
EtcdHandle is used to set keys and values in a test etcd instance.
InitEtcd configures a test etcd instance.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.