Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupDataDir ¶
CleanupDataDir removes the associated "/tmp/k3s/<RANDOM_STRING>" directory along with the 'latest' symlink that points at it.
func ClusterIPNet ¶
func GenerateDataDir ¶
GenerateDataDir creates a temporary directory at "/tmp/k3s/<RANDOM_STRING>/". The latest directory created with this function is soft linked to "/tmp/k3s/latest/". This allows tests to replicate the "/var/lib/rancher/k3s" directory structure.
func GenerateRuntime ¶
GenerateRuntime creates a temporary data dir and configures config.ControlRuntime with all the appropriate certificate keys.
func ServiceIPNet ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.