Documentation
¶
Overview ¶
Package policybased implements a standard storage for RoleBinding that prevents privilege escalation.
Index ¶
- type Storage
- func (s *Storage) Create(ctx context.Context, obj runtime.Object, ...) (runtime.Object, error)
- func (r *Storage) NamespaceScoped() bool
- func (r *Storage) StorageVersion() runtime.GroupVersioner
- func (s *Storage) Update(ctx context.Context, name string, obj rest.UpdatedObjectInfo, ...) (runtime.Object, bool, error)
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) Create ¶
func (s *Storage) Create(ctx context.Context, obj runtime.Object, createValidation rest.ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error)
func (*Storage) NamespaceScoped ¶ added in v1.11.0
func (r *Storage) NamespaceScoped() bool
func (*Storage) StorageVersion ¶ added in v1.14.0
func (r *Storage) StorageVersion() runtime.GroupVersioner
Click to show internal directories.
Click to hide internal directories.