The KubeHelper type exposes the following members.
Ensures that sensitive folders and files on the local workstation are encrypted at rest for security purposes. These include the users .kube, .neonkube, and any the OpenVPN if it exists.
Executes a command in a k8s pod.
Returns the path to the cached file for a specific named component with optional version.
Returns the kubecontext extension for the structured configuration name.
Returns the path to the kubecontext extension file path for a specific context by raw name.
Returns the path the folder holding the user specific Kubernetes configuration files.
Returns the path the folder holding the user specific Kubernetes files.
Returns the path to the folder containing cached files for the specified platform.
This is used for special situations for setting up a cluster to set an uninitialized Kubernetes config context as the current CurrentContext.
Ensures that helm tool whose version is at least as great as the requested cluster version is installed to the neonKUBE programs folder by copying the tool from the cache if necessary.
Ensures that kubectl tool whose version is at least as great as the Kubernetes cluster version is installed to the neonKUBE programs folder by copying the tool from the cache if necessary.
Executes a kubectl command on the local workstation.
Loads or reloads the ClientConfig.
Loads or reloads the Kubernetes configuration.
Looks up a password given its name.
Executes a kubectl port-forward command on the local workstation.
Resets the test mode, restoring normal operation.
Persists the ClientConfig to disk.
Rewrites the local kubeconfig file.
Sets the current Kubernetes config context by string name.
Sets the current Kubernetes config context.
Explicitly sets the class INeonLogger implementation. This defaults to a reasonable value.
Puts KubeHelper into test mode to support unit testing. This changes the folders where Kubernetes and neonKUBE persists their state to directories beneath the folder passed. This also modifies the KUBECONFIG environment variable to reference the new location.