Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdTestClusterOpts ¶
type EtcdTestClusterOpts struct { CaCertPath string ServerCertPath string ServerKeyPath string Ips []string ClientPort int64 PeerPort int64 }
func (*EtcdTestClusterOpts) SetDefaults ¶
func (opts *EtcdTestClusterOpts) SetDefaults(testDir string)
type EtcdTestMember ¶
type TeardownTestCluster ¶
type TeardownTestCluster func() []error
func LaunchTestEtcdCluster ¶
func LaunchTestEtcdCluster(testDir string, opts EtcdTestClusterOpts) (TeardownTestCluster, error)
Launch of trio of etcd nodes, running on loopbackaddresses by default and configured for mTLS. A teardown method is returned to shut them down. It is assumed that a recent etcd binary is located in the binary path.
Click to show internal directories.
Click to hide internal directories.