Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindWorkingKubernetesAddress ¶ added in v0.7.0
func FindWorkingKubernetesAddress(configPath string, inCluster bool) (*kubernetes.Clientset, error)
func NewClientset ¶
func NewClientset(configPath string, inCluster bool, hostname string) (*kubernetes.Clientset, error)
NewClientset takes an optional configPath and creates a new clientset. If the configPath is not specified, and inCluster is true, then an InClusterConfig is used. Also takes a hostname which allow for overriding the config's hostname before generating a client.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.