Documentation ¶
Index ¶
- Constants
- func GetDefaultNamespace() string
- func GetGroupRoleBindingName(user string) string
- func GetUserNameByNamespace(namespace string) string
- func GetUserRole(roleType userv1.RoleType) []rbacv1.PolicyRule
- func GetUsersNamespace(user string) string
- func GetUsersSubject(user string) []rbacv1.Subject
- func SetPodSecurity(labels map[string]string) map[string]string
Constants ¶
View Source
const PodSecurityVersion = "v1.25"
Variables ¶
This section is empty.
Functions ¶
func GetDefaultNamespace ¶
func GetDefaultNamespace() string
func GetGroupRoleBindingName ¶
func GetUserNameByNamespace ¶
func GetUserRole ¶
func GetUserRole(roleType userv1.RoleType) []rbacv1.PolicyRule
func GetUsersNamespace ¶
func GetUsersSubject ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.