Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Product ¶
type Product string
Enum of possible values for cluster.product
Named in honor of the product component of the user-agent string, which we hope isn't foreshadowing.
const ( ProductUnknown Product = "unknown" ProductGKE Product = "gke" ProductMinikube Product = "minikube" ProductDockerDesktop Product = "docker-desktop" ProductMicroK8s Product = "microk8s" ProductCRC Product = "crc" ProductKrucible Product = "krucible" ProductKIND Product = "kind" ProductK3D Product = "k3d" ProductRancherDesktop Product = "rancher-desktop" )
func ProductFromContext ¶
func ProductFromContext(c *clientcmdapi.Context, cl *clientcmdapi.Cluster) Product
func (Product) DefaultClusterName ¶
func (Product) IsDevCluster ¶
Click to show internal directories.
Click to hide internal directories.