kubernetes: k8s.io/kubernetes/pkg/registry/rbac/clusterrolebinding/policybased Index | Files

package policybased

import "k8s.io/kubernetes/pkg/registry/rbac/clusterrolebinding/policybased"

Package policybased implements a standard storage for ClusterRoleBinding that prevents privilege escalation.


Package Files


type Storage Uses

type Storage struct {
    // contains filtered or unexported fields

func NewStorage Uses

func NewStorage(s rest.StandardStorage, authorizer authorizer.Authorizer, ruleResolver rbacregistryvalidation.AuthorizationRuleResolver) *Storage

func (*Storage) Create Uses

func (s *Storage) Create(ctx context.Context, obj runtime.Object, createValidation rest.ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error)

func (*Storage) NamespaceScoped Uses

func (r *Storage) NamespaceScoped() bool

func (*Storage) StorageVersion Uses

func (r *Storage) StorageVersion() runtime.GroupVersioner

func (*Storage) Update Uses

func (s *Storage) Update(ctx context.Context, name string, obj rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc, forceAllowCreate bool, options *metav1.UpdateOptions) (runtime.Object, bool, error)

Package policybased imports 12 packages (graph) and is imported by 5 packages. Updated 2019-04-20. Refresh now. Tools for package owners.