package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jun 14, 2021
License: MIT
Opens a new window with license information.
Imports: 19
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CertificateData struct {
CertificateAuthorityData []byte
ClientCertificateData []byte
ClientKeyData []byte
}
NewClusterFromEnv creates a new k3s single node cluster that listens to localhost:port once started.
Start creates and starts the container containing the single-node cluster. It returns the certificate that
can be used to connect to the cluster
Stop stops the container and removes it.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.