package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
Kind takes an unqualified kind and returns a Group qualified GroupKind.
NewClusterBinding creates a ClusterRoleBinding builder that can be used to define the subjects of a cluster role binding.
NewRoleBinding creates a RoleBinding builder that can be used to define the subjects of a role binding.
NewRoleBindingForClusterRole creates a RoleBinding builder that can be used to define the subjects of a cluster role binding.
NewRule returns new PolicyRule made by input verbs.
Resource takes an unqualified resource and returns a Group qualified GroupResource.
ResourceMatches returns the result of the rule.Resources matching.
SubjectsStrings returns users, groups, serviceaccounts, unknown for display purposes.
# Constants
APIGroupAll and these consts are default values for rbac authorization.
AutoUpdateAnnotationKey is the name of an annotation which prevents reconciliation if set to "false".
APIGroupAll and these consts are default values for rbac authorization.
GroupName is the name of this API group.
APIGroupAll and these consts are default values for rbac authorization.
APIGroupAll and these consts are default values for rbac authorization.
APIGroupAll and these consts are default values for rbac authorization.
APIGroupAll and these consts are default values for rbac authorization.
APIGroupAll and these consts are default values for rbac authorization.
# Variables
SchemeBuilder is a function that calls Register for you.
SchemeBuilder is a function that calls Register for you.
SchemeGroupVersion is group version used to register these objects.
# Structs
AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole.
ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
ClusterRoleBinding references a ClusterRole, but not contain it.
ClusterRoleBindingBuilder let's us attach methods.
ClusterRoleBindingList is a collection of ClusterRoleBindings.
ClusterRoleList is a collection of ClusterRoles.
PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.
PolicyRuleBuilder let's us attach methods.
Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
RoleBinding references a role, but does not contain it.
RoleBindingBuilder let's us attach methods.
RoleBindingList is a collection of RoleBindings.
RoleList is a collection of Roles.
RoleRef contains information that points to the role being used.
Subject contains a reference to the object or user identities a role binding applies to.
# Type aliases
SortableRuleSlice is the slice of PolicyRule.