kubernetes: k8s.io/kubernetes/pkg/registry/authorization/util Index | Files

package util

import "k8s.io/kubernetes/pkg/registry/authorization/util"

Index

Package Files

helpers.go

func AuthorizationAttributesFrom Uses

func AuthorizationAttributesFrom(spec authorizationapi.SubjectAccessReviewSpec) authorizer.AttributesRecord

AuthorizationAttributesFrom takes a spec and returns the proper authz attributes to check it.

func NonResourceAttributesFrom Uses

func NonResourceAttributesFrom(user user.Info, in authorizationapi.NonResourceAttributes) authorizer.AttributesRecord

NonResourceAttributesFrom combines the API object information and the user.Info from the context to build a full authorizer.AttributesRecord for non resource access

func ResourceAttributesFrom Uses

func ResourceAttributesFrom(user user.Info, in authorizationapi.ResourceAttributes) authorizer.AttributesRecord

ResourceAttributesFrom combines the API object information and the user.Info from the context to build a full authorizer.AttributesRecord for resource access

Package util imports 3 packages (graph) and is imported by 37 packages. Updated 2018-06-30. Refresh now. Tools for package owners.