package policybased

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

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

Index

Types

type Storage

type Storage struct {
	rest.StandardStorage
	// contains filtered or unexported fields
}

func NewStorage

func NewStorage(s rest.StandardStorage, ruleResolver validation.AuthorizationRuleResolver, superUser string) *Storage

func (*Storage) Create

func (s *Storage) Create(ctx api.Context, obj runtime.Object) (runtime.Object, error)

func (*Storage) Update

func (s *Storage) Update(ctx api.Context, name string, obj rest.UpdatedObjectInfo) (runtime.Object, bool, error)

Source Files

storage.go

Version
v1.4.0-beta.5
Published
Sep 15, 2016
Platform
js/wasm
Imports
6 packages
Last checked
11 minutes ago

Tools for package owners.