Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthJWTClaims ¶
type AuthJWTClaims struct { Auths []*NamespaceAndRole `json:"auths"` User string `json:"user"` AdminAccess bool `json:"adminAccess"` jwt.StandardClaims }
type KubeConfig ¶
type KubeConfig struct { ApiVersion string `yaml:"apiVersion"` Clusters []KubeConfigCluster `yaml:"clusters"` Contexts []KubeConfigContext `yaml:"contexts"` CurrentContext string `yaml:"current-context"` Kind string `yaml:"kind"` Users []KubeConfigUser `yaml:"users"` }
Note: struct fields must be public in order for unmarshal to correctly populate the data.
type KubeConfigCluster ¶
type KubeConfigCluster struct { Cluster KubeConfigClusterData `yaml:"cluster"` Name string `yaml:"name"` }
type KubeConfigClusterData ¶
type KubeConfigContext ¶
type KubeConfigContext struct { Context KubeConfigContextData `yaml:"context"` Name string `yaml:"name"` }
type KubeConfigContextData ¶
type KubeConfigUser ¶
type KubeConfigUser struct { Name string `yaml:"name"` User KubeConfigUserToken `yaml:"user"` }
type KubeConfigUserToken ¶
type KubeConfigUserToken struct {
Token string `yaml:"token"`
}
type LdapConfig ¶
type NamespaceAndRole ¶
Click to show internal directories.
Click to hide internal directories.