Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Kind string `json:"kind"` APIVersion string `json:"apiVersion"` Preferences struct { } `json:"preferences"` Clusters []struct { Name string `json:"name"` Cluster struct { Server string `json:"server"` InsecureSkipTLSVerify bool `json:"insecure-skip-tls-verify"` } `json:"cluster"` } `json:"clusters"` Users []struct { Name string `json:"name"` User struct { ClientCertificateData string `json:"client-certificate-data"` ClientKeyData string `json:"client-key-data"` } `json:"user"` } `json:"users"` Contexts []struct { Name string `json:"name"` Context struct { Cluster string `json:"cluster"` User string `json:"user"` } `json:"context"` } `json:"contexts"` CurrentContext string `json:"current-context"` }
Config Struct of JSON Kubernetes Config File
Click to show internal directories.
Click to hide internal directories.