Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InCluster bool
InCluster true when endpoints are accessible, when the service is running with the cluster's network namespaces
Functions ¶
func CheckInCluster ¶
func CheckInCluster() bool
CheckInCluster reports if the env variable is set for cluster
func NewClientset ¶
func NewClientset(kubeconfig string) *kubernetes.Clientset
NewClientset returns a new handle to a kubernetes client takes kubeconfig path arg
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.