kubernetes/pkg/apis/rbac/v1/evaluation_helpers.go

func VerbMatches(rule *rbacv1.PolicyRule, requestedVerb string) bool {}

func APIGroupMatches(rule *rbacv1.PolicyRule, requestedGroup string) bool {}

func ResourceMatches(rule *rbacv1.PolicyRule, combinedRequestedResource, requestedSubresource string) bool {}

func ResourceNameMatches(rule *rbacv1.PolicyRule, requestedName string) bool {}

func NonResourceURLMatches(rule *rbacv1.PolicyRule, requestedURL string) bool {}

// CompactString exposes a compact string representation for use in escalation error messages
func CompactString(r rbacv1.PolicyRule) string {}

type SortableRuleSlice

func (s SortableRuleSlice) Len() int      {}

func (s SortableRuleSlice) Swap(i, j int) {}

func (s SortableRuleSlice) Less(i, j int) bool {}