package policybased
import "k8s.io/kubernetes/pkg/registry/rbac/clusterrolebinding/policybased"
Package policybased implements a standard storage for ClusterRoleBinding that prevents privilege escalation.
Index ¶
- type Storage
- func NewStorage(s rest.StandardStorage, authorizer authorizer.Authorizer, ruleResolver rbacregistryvalidation.AuthorizationRuleResolver) *Storage
- func (s *Storage) Create(ctx genericapirequest.Context, obj runtime.Object) (runtime.Object, error)
- func (s *Storage) Update(ctx genericapirequest.Context, name string, obj rest.UpdatedObjectInfo) (runtime.Object, bool, error)
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 (*Storage) Update ¶
func (s *Storage) Update(ctx genericapirequest.Context, name string, obj rest.UpdatedObjectInfo) (runtime.Object, bool, error)
Source Files ¶
storage.go
- Version
- v1.6.6
- Published
- Jun 16, 2017
- Platform
- linux/amd64
- Imports
- 9 packages
- Last checked
- 58 seconds ago –
Tools for package owners.