Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithEtcdEnv ¶
WithEtcdEnv constructs a default EtcdEnv for testing during the lifetime of the callback.
Types ¶
type EtcdEnv ¶
type EtcdEnv struct {
Context context.Context
Directory string
Etcd *embed.Etcd
EtcdClient *etcd.Client
}
EtcdEnv contains the basic setup for running end-to-end pachyderm tests entirely locally within the test process. It provides a temporary directory for storing data, and an embedded etcd server with a connected client.
Click to show internal directories.
Click to hide internal directories.