Standardize KubeConfig variables
Settings variable, function names, and comments inconsistently use either Kubeconfig, KubeconfigPath or KubeConfigPath capitalizations. This is a minor refactor to consistently use the KubeConfig capitalization variants. Relates-To: #124 Change-Id: Iaece6683931164ccaa213f4f3385de9c077d26b7 Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
This commit is contained in:
@@ -79,7 +79,7 @@ type Cluster struct {
|
||||
// Complex cluster name defined by the using <cluster name>_<cluster type>)
|
||||
NameInKubeconf string `json:"cluster-kubeconf"`
|
||||
|
||||
// Kubeconfig Cluster Object
|
||||
// KubeConfig Cluster Object
|
||||
cluster *kubeconfig.Cluster
|
||||
|
||||
// Bootstrap configuration this clusters ephemeral hosts will rely on
|
||||
@@ -104,12 +104,12 @@ type Context struct {
|
||||
// +optional
|
||||
Manifest string `json:"manifest,omitempty"`
|
||||
|
||||
// Kubeconfig Context Object
|
||||
// KubeConfig Context Object
|
||||
context *kubeconfig.Context
|
||||
}
|
||||
|
||||
type AuthInfo struct {
|
||||
// Kubeconfig AuthInfo Object
|
||||
// KubeConfig AuthInfo Object
|
||||
authInfo *kubeconfig.AuthInfo
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user