Documentation ¶
Index ¶
Constants ¶
View Source
const UnknownOSMessage = "Unknown OS"
Variables ¶
This section is empty.
Functions ¶
func CheckEnvironmentVariables ¶
func CheckEnvironmentVariables() error
func RemoveTokensAndPassword ¶
RemoveTokensAndPassword sanitizes output to remove token
Types ¶
type KubeClientResources ¶
type KubeClientResources struct { Client kubernetes.Interface DynamicClient dynamic.Interface // used to find owning pod-controller RESTMapper meta.RESTMapper // used with dynamicClient }
KubeClientResources bundles together Kubernetes clients and related resources.
func CreateKubeClientResources ¶
func CreateKubeClientResources() KubeClientResources
CreateKubeClientResources returns a KubeClientResources type, trying first in-cluster, then local, KubeConfig.
Click to show internal directories.
Click to hide internal directories.