Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DockerClient ¶
DockerClient returns a new docker client
Types ¶
type ZKConfig ¶
type ZKConfig struct { StartupTimeout time.Duration ImageName string Entrypoint []string Command []string ClientPort int }
ZKConfig captures configuration/runtime constraints for a containerized ZK instance.
func DefaultZKConfig ¶
func DefaultZKConfig() ZKConfig
DefaultZKConfig returns a copy of the default ZK container/runtime configuration.
type ZkControl ¶
type ZkControl struct {
// contains filtered or unexported fields
}
ZkControl allows testing code to manipulate a running ZK instance.
func StartZookeeper ¶
StartZookeeper starts a new zookeeper container.
func (*ZkControl) TeardownPanic ¶
func (z *ZkControl) TeardownPanic()
TeardownPanic destroys the ZK container and panics if unsuccessful
Click to show internal directories.
Click to hide internal directories.