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

# Functions

AuthorizationAttributesFrom takes a spec and returns the proper authz attributes to check it.
BuildEvaluationError constructs the evaluation error string to include in *SubjectAccessReview status based on the authorizer evaluation error and any field and label selector parse errors.
NonResourceAttributesFrom combines the API object information and the user.Info from the context to build a full authorizer.AttributesRecord for non resource access.
ResourceAttributesFrom combines the API object information and the user.Info from the context to build a full authorizer.AttributesRecord for resource access.