config

package
v0.0.0-...-e191437 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const PodSecurityVersion = "v1.25"

Variables

This section is empty.

Functions

func GetDefaultNamespace

func GetDefaultNamespace() string

func GetGroupRoleBindingName

func GetGroupRoleBindingName(user string) string

func GetUserNameByNamespace

func GetUserNameByNamespace(namespace string) string

func GetUserRole

func GetUserRole(roleType userv1.RoleType) []rbacv1.PolicyRule

func GetUsersNamespace

func GetUsersNamespace(user string) string

func GetUsersSubject

func GetUsersSubject(user string) []rbacv1.Subject

func SetPodSecurity

func SetPodSecurity(labels map[string]string) map[string]string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL