Documentation
¶
Overview ¶
Package k8s contains kubernetes helper functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectWithConfig ¶
func ConnectWithConfig(abspath string) (*kubernetes.Clientset, error)
ConnectWithConfig takes an absolute path to a kube config file which is used to connect to the Kubernetes API.
func ConnectWithinCluster ¶
func ConnectWithinCluster() (*kubernetes.Clientset, error)
ConnectWithinCluster uses Kubernetes utility functions to locate the credentials within the cluster and connect to the API.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.