Skip to main content

target_path

Function target_path 

Source
pub fn target_path(override_path: &str) -> Result<String, FileError>
Expand description

Port of kubeconfig.TargetPath. The precedence mirrors kubectl config set-*: an explicit override wins, otherwise the first entry of KUBECONFIG (kubectl writes to the first file in the list, not all of them), otherwise ~/.kube/config.