Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DraftConfig ¶ added in v0.8.0
type DraftConfig struct {
Basedomain string
Image string
Ingress bool
RegistryURL string
RegistryAuth string
}
func FromClientConfig ¶
func FromClientConfig(config clientcmd.ClientConfig) (*DraftConfig, string, error)
FromClientConfig reads a kubernetes client config, searching for information that may indicate this is a minikube/Azure Container Services/Google Container Engine cluster and return configuration optimized for that cloud, as well as the cloud provider name. Currently only supports minikube
Click to show internal directories.
Click to hide internal directories.