Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterExists ¶
ClusterExists checks if a cluster with the given name exists by parsing JSON output.
func CreateCluster ¶
CreateCluster creates a new k3d cluster with the given name and options.
func DeleteCluster ¶
DeleteCluster deletes the k3d cluster with the given name
func IsInstalled ¶
func IsInstalled() bool
IsInstalled checks if the k3d binary is available in PATH.
Types ¶
type K3d ¶
type K3d struct {
// contains filtered or unexported fields
}
K3d represents a k3d cluster configuration.
func (*K3d) ClusterExists ¶
func (*K3d) DeleteCluster ¶
Click to show internal directories.
Click to hide internal directories.