Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenKubeconfig ¶
func GenKubeconfig( saName string, cp model.ClusterPack, specifyNameSpace string, then func(nss []NS, privilegeType PrivilegeType, kubeConfig string), )
func ListAuthorization ¶
Types ¶
type PrivilegeType ¶
type PrivilegeType string
const CLUSTER_ADMIN PrivilegeType = "CLUSTER_ADMIN"
the user that has all verbs with all cluster resources
const CLUSTER_VIEWER PrivilegeType = "CLUSTER_VIEWER"
the user that has (get, list, watch) verbs with all cluster resources
const NONE PrivilegeType = "NONE"
user do not has cluster resources access permissions
type SaAuthorizeRequest ¶
type ServiceAccountModel ¶
Click to show internal directories.
Click to hide internal directories.