Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthJWTClaims ¶
type AuthJWTClaims struct { Auths []*Project `json:"auths"` User string `json:"user"` Contact string `json:"email"` AdminAccess bool `json:"adminAccess"` ApplicationAccess bool `json:"appAccess"` OpsAccess bool `json:"opsAccess"` ViewerAccess bool `json:"viewerAccess"` ServiceAccess bool `json:"serviceAccess"` Locator string `json:"locator"` Endpoint string `json:"endPoint"` Tenant string `json:"tenant"` Scopes string `json:"scopes"` 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 LdapConfig struct { UserBase string GroupBase string AppMasterGroupBase string CustomerOpsGroupBase string ServiceGroupBase string OpsMasterGroupBase string ViewerGroupBase string AdminUserBase string AdminGroupBase string Host string Port int UseSSL bool StartTLS bool SkipTLSVerification bool BindDN string BindPassword string UserFilter string GroupFilter string Attributes []string }
Click to show internal directories.
Click to hide internal directories.