package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev

# Packages

Package clusterrole provides Registry interface and its RESTStorage implementation for storing ClusterRole objects.
Package certificates provides Registry interface and its RESTStorage implementation for storing ClusterRoleBinding objects.
Package role provides Registry interface and its RESTStorage implementation for storing Role objects.
Package certificates provides Registry interface and its RESTStorage implementation for storing RoleBinding objects.

# Functions

BindingAuthorized returns true if the user associated with the context is explicitly authorized to bind the specified roleRef.
EscalationAllowed checks if the user associated with the context is a superuser.
IsOnlyMutatingGCFields checks finalizers and ownerrefs which GC manipulates and indicates that only those fields are changing.
RoleEscalationAuthorized checks if the user associated with the context is explicitly authorized to escalate the role resource associated with the context.