Documentation ¶
Overview ¶
Package k8s contains helper functions to establlish connection and communicate with k8s apis
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // KubeConfig specifies the path of kubeconfig file KubeConfig string // ContextName specifies the name of kubeconfig context ContextName string )
Functions ¶
func AutoDetectEnvironment ¶ added in v0.13.4
AutoDetectEnvironment detect the environment for a given k8s context
Types ¶
type Client ¶
type Client struct { K8sClientset kubernetes.Interface KSPClientset ksp.SecurityV1Interface APIextClientset apiextensionsclientset.Interface RawConfig clientcmdapi.Config Config *rest.Config }
Client Structure
Click to show internal directories.
Click to hide internal directories.