package policybased

import "k8s.io/kubernetes/pkg/registry/rbac/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 (*Storage) Create

func (s *Storage) Create(ctx genericapirequest.Context, obj runtime.Object, createValidation rest.ValidateObjectFunc, includeUninitialized bool) (runtime.Object, error)

func (*Storage) Update

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

Source Files

storage.go

Version
v1.9.3
Published
Feb 6, 2018
Platform
linux/amd64
Imports
10 packages
Last checked
30 seconds ago

Tools for package owners.