rbac

package
v1.15.2-beta.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2019 License: Apache-2.0 Imports: 12 Imported by: 242

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindingAuthorized added in v1.6.0

func BindingAuthorized(ctx context.Context, roleRef rbac.RoleRef, bindingNamespace string, a authorizer.Authorizer) bool

BindingAuthorized returns true if the user associated with the context is explicitly authorized to bind the specified roleRef

func EscalationAllowed

func EscalationAllowed(ctx context.Context) bool

EscalationAllowed checks if the user associated with the context is a superuser

func IsOnlyMutatingGCFields added in v1.8.0

func IsOnlyMutatingGCFields(obj, old runtime.Object, equalities conversion.Equalities) bool

IsOnlyMutatingGCFields checks finalizers and ownerrefs which GC manipulates and indicates that only those fields are changing

func RoleEscalationAuthorized added in v1.12.0

func RoleEscalationAuthorized(ctx context.Context, a authorizer.Authorizer) bool

RoleEscalationAuthorized checks if the user associated with the context is explicitly authorized to escalate the role resource associated with the context

Types

This section is empty.

Directories

Path Synopsis
Package clusterrole provides Registry interface and its RESTStorage implementation for storing ClusterRole objects.
Package clusterrole provides Registry interface and its RESTStorage implementation for storing ClusterRole objects.
policybased
Package policybased implements a standard storage for ClusterRole that prevents privilege escalation.
Package policybased implements a standard storage for ClusterRole that prevents privilege escalation.
Package certificates provides Registry interface and its RESTStorage implementation for storing ClusterRoleBinding objects.
Package certificates provides Registry interface and its RESTStorage implementation for storing ClusterRoleBinding objects.
policybased
Package policybased implements a standard storage for ClusterRoleBinding that prevents privilege escalation.
Package policybased implements a standard storage for ClusterRoleBinding that prevents privilege escalation.
Package role provides Registry interface and its RESTStorage implementation for storing Role objects.
Package role provides Registry interface and its RESTStorage implementation for storing Role objects.
policybased
Package policybased implements a standard storage for Role that prevents privilege escalation.
Package policybased implements a standard storage for Role that prevents privilege escalation.
Package certificates provides Registry interface and its RESTStorage implementation for storing RoleBinding objects.
Package certificates provides Registry interface and its RESTStorage implementation for storing RoleBinding objects.
policybased
Package policybased implements a standard storage for RoleBinding that prevents privilege escalation.
Package policybased implements a standard storage for RoleBinding that prevents privilege escalation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL