Thetype exposes the following members.
Returns the path the folder containing cached files for various environments.
Returns the Kuberneties API client certificate for the current cluster context or null if we're not connected to a cluster.
Accesses the neonKUBE desktop client configuration.
Returns the Kuberneties API service certificate for the current cluster context or null if we're not connected to a cluster.
Returns the path the folder containing cluster related files (including kube context extension), creating the folder if it doesn't already exist.
Returns the user's current Config.
Returns the CurrentContext for the connected cluster or null when there is no current context.
Returns the current context's CurrentContextName or null if there's no current context.
Returns the DesktopClient suitable for communicating with the neonKUBE desktop application.
Returns path to the neonKUBE desktop application state folder.
Returns a HeadendClient.
Returns the KubeHostPlatform for the current workstation.
Returns true if the current application is running in the special neon-cli container as a shimmed application.
Returns true if the class is running in test mode.
Returns the path to the Kubernetes configuration file.
Returns the default directory path where neon-cli logs will be written.
Returns path to the folder holding the encryption passwords.
Returns the path to the neonKUBE program folder.
Returns the path to the Powershell Core executable to be used. This will first examine the NEONKUBE_PROGRAM_FOLDER environment variable to see if the installed version of Powershell Core should be used, otherwise it will simply return pwsh.exe so that the PATH will be searched.
Returns the directory path where the [neon run CMD ...] will copy secrets and run the command.
Returns the path the neonFORGE temporary folder, creating the folder if it doesn't already exist.
Returns the path to the current user's cluster virtual machine templates folder, creating the directory if it doesn't already exist.
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.
Putsinto 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.