Documentation ¶
Overview ¶
Package policybased implements a standard storage for Role that prevents privilege escalation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct { rest.StandardStorage // contains filtered or unexported fields }
func NewStorage ¶
func NewStorage(s rest.StandardStorage, authorizer authorizer.Authorizer, ruleResolver rbacregistryvalidation.AuthorizationRuleResolver) *Storage
func (*Storage) NamespaceScoped ¶ added in v1.11.2
func (*Storage) Update ¶
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)
Click to show internal directories.
Click to hide internal directories.