Documentation ¶
Overview ¶
Package etcdutils helps test interactions with etcd.
Index ¶
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PublishEtcd ¶
func PublishEtcd(t *testing.T, ecli *EtcdHandle)
PublishEtcd sets canonical etcd values into a test etcd instance.
func VerifyEtcdKey ¶
VerifyEtcdKey verifies that an etcd key exists.
Types ¶
Click to show internal directories.
Click to hide internal directories.