Versions in this module Expand all Collapse all v0 v0.0.1 Apr 13, 2023 Changes in this version + var Codec runtime.Codec + func Convert_Map_string_To_Pointer_api_AuthInfo_To_Slice_v1_NamedAuthInfo(in *map[string]*AuthInfo, out *[]v1.NamedAuthInfo) error + func Convert_Map_string_To_Pointer_api_Cluster_To_Slice_v1_NamedCluster(in *map[string]*Cluster, out *[]v1.NamedCluster) error + func Convert_Map_string_To_Pointer_api_Context_To_Slice_v1_NamedContext(in *map[string]*Context, out *[]v1.NamedContext) error + func Convert_Map_string_To_runtime_Object_To_Slice_v1_NamedExtension(in *map[string]runtime.Object, out *[]v1.NamedExtension) error + func Convert_Slice_v1_NamedAuthInfo_To_Map_string_To_Pointer_api_AuthInfo(in *[]v1.NamedAuthInfo, out *map[string]*AuthInfo) error + func Convert_Slice_v1_NamedCluster_To_Map_string_To_Pointer_api_Cluster(in *[]v1.NamedCluster, out *map[string]*Cluster) error + func Convert_Slice_v1_NamedContext_To_Map_string_To_Pointer_api_Context(in *[]v1.NamedContext, out *map[string]*Context) error + func Convert_Slice_v1_NamedExtension_To_Map_string_To_runtime_Object(in *[]v1.NamedExtension, out *map[string]runtime.Object) error + func Convert_api_AuthInfo_To_v1_AuthInfo(in *AuthInfo, out *v1.AuthInfo) error + func Convert_api_AuthProviderConfig_To_v1_AuthProviderConfig(in *AuthProviderConfig, out *v1.AuthProviderConfig) error + func Convert_api_Cluster_To_v1_Cluster(in *Cluster, out *v1.Cluster) error + func Convert_api_Config_To_v1_Config(in *Config, out *v1.Config) error + func Convert_api_Context_To_v1_Context(in *Context, out *v1.Context) error + func Convert_api_ExecConfig_To_v1_ExecConfig(in *ExecConfig, out *v1.ExecConfig) error + func Convert_api_ExecEnvVar_To_v1_ExecEnvVar(in *ExecEnvVar, out *v1.ExecEnvVar) error + func Convert_api_Preferences_To_v1_Preferences(in *Preferences, out *v1.Preferences) error + func Convert_v1_AuthInfo_To_api_AuthInfo(in *v1.AuthInfo, out *AuthInfo) error + func Convert_v1_AuthProviderConfig_To_api_AuthProviderConfig(in *v1.AuthProviderConfig, out *AuthProviderConfig) error + func Convert_v1_Cluster_To_api_Cluster(in *v1.Cluster, out *Cluster) error + func Convert_v1_Config_To_api_Config(in *v1.Config, out *Config) error + func Convert_v1_Context_To_api_Context(in *v1.Context, out *Context) error + func Convert_v1_ExecConfig_To_api_ExecConfig(in *v1.ExecConfig, out *ExecConfig) error + func Convert_v1_ExecEnvVar_To_api_ExecEnvVar(in *v1.ExecEnvVar, out *ExecEnvVar) error + func Convert_v1_Preferences_To_api_Preferences(in *v1.Preferences, out *Preferences) error + func FlattenConfig(config *Config) error + func FlattenContent(path *string, contents *[]byte, baseDir string) error + func IsConfigEmpty(config *Config) bool + func MakeAbs(path, base string) (string, error) + func MinifyConfig(config *Config) error + func RedactSecrets(config *Config) error + func ResolvePath(path string, base string) string + func ShortenConfig(config *Config) + type AuthInfo struct + AuthProvider *AuthProviderConfig + ClientCertificate string + ClientCertificateData []byte + ClientKey string + ClientKeyData []byte + Exec *ExecConfig + Extensions map[string]runtime.Object + Impersonate string + ImpersonateGroups []string + ImpersonateUID string + ImpersonateUserExtra map[string][]string + LocationOfOrigin string + Password string + Token string + TokenFile string + Username string + func NewAuthInfo() *AuthInfo + type AuthProviderConfig struct + Config map[string]string + Name string + func (c AuthProviderConfig) GoString() string + func (c AuthProviderConfig) String() string + type Cluster struct + CertificateAuthority string + CertificateAuthorityData []byte + DisableCompression bool + Extensions map[string]runtime.Object + InsecureSkipTLSVerify bool + LocationOfOrigin string + ProxyURL string + Server string + TLSServerName string + func NewCluster() *Cluster + type Config struct + APIVersion string + AuthInfos map[string]*AuthInfo + Clusters map[string]*Cluster + Contexts map[string]*Context + CurrentContext string + Extensions map[string]runtime.Object + Kind string + Preferences Preferences + func NewConfig() *Config + func (p *Config) UnmarshalJSON(b []byte) error + func (p Config) MarshalJSON() ([]byte, error) + type Context struct + AuthInfo string + Cluster string + Extensions map[string]runtime.Object + LocationOfOrigin string + Namespace string + func NewContext() *Context + type ExecConfig struct + APIVersion string + Args []string + Command string + Config runtime.Object + Env []ExecEnvVar + InstallHint string + InteractiveMode ExecInteractiveMode + ProvideClusterInfo bool + StdinUnavailable bool + StdinUnavailableMessage string + func (c ExecConfig) GoString() string + func (c ExecConfig) String() string + type ExecEnvVar struct + Name string + Value string + type ExecInteractiveMode string + const AlwaysExecInteractiveMode + const IfAvailableExecInteractiveMode + const NeverExecInteractiveMode + type Preferences struct + Colors bool + Extensions map[string]runtime.Object + func NewPreferences() *Preferences