Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestCluster ¶
type TestCluster struct {
// contains filtered or unexported fields
}
func (*TestCluster) CreateTLSCertificate ¶
func (tc *TestCluster) CreateTLSCertificate(t *testing.T, baseName string) *hcloud.Certificate
CreateTLSCertificate creates a TLS certificate used for testing and posts it to the Hetzner Cloud backend.
The baseName of the certificate gets a random number suffix attached. baseName and suffix are separated by a single "-" character.
func (*TestCluster) Start ¶
func (tc *TestCluster) Start() error
func (*TestCluster) Stop ¶
func (tc *TestCluster) Stop() error
Click to show internal directories.
Click to hide internal directories.