Interface: KubeconfigObject
KubeconfigObject is the object that is stored in indexDB as string format. It is a JSON encoded version of the kubeconfig file. It is used to store the kubeconfig for stateless clusters. This is basically a k8s client - go Kubeconfig object. KubeconfigObject holds the information needed to build connect to remote kubernetes clusters as a given user *
See
- more info
- storeStatelessClusterKubeconfig
- getStatelessClusterKubeConfigs
- findKubeconfigByClusterName
Properties
apiVersion
apiVersion: string;
version of the kubeconfig file.
Defined in
clusters
clusters: object[];
Clusters is a map of referencable names to cluster configs.
See
Defined in
contexts
contexts: object[];
Contexts is a map of referencable names to context configs.
See
Defined in
current-context
current-context: string;
CurrentContext is the name of the context that you would like to use by default
Defined in
extensions?
optional extensions: object[];
Extensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fields
See
Defined in
kind
kind: string;
kind is the type of the kubeconfig file. It is always 'Config'.
Defined in
preferences?
optional preferences: object;
Preferences holds general information to be use for cli interactions
colors?
optional colors: boolean;
colors specifies whether output should use colors.
extensions?
optional extensions: object[];
extensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fields on the Preferences object.
See
Defined in
users
users: object[];
AuthInfos is a map of referencable names to user configs.