package util
import "k8s.io/kubernetes/pkg/registry/authorization/util"
Index ¶
- func NonResourceAttributesFrom(user user.Info, in authorizationapi.NonResourceAttributes) authorizer.AttributesRecord
- func ResourceAttributesFrom(user user.Info, in authorizationapi.ResourceAttributes) authorizer.AttributesRecord
Functions ¶
func NonResourceAttributesFrom ¶
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 ¶
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
Source Files ¶
helpers.go
- Version
- v1.4.9
- Published
- Feb 15, 2017
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 13 minutes ago –
Tools for package owners.