Documentation ¶
Index ¶
- func NewVirtualStorage(bindingRegistry policybindingregistry.Registry, ...) rolebindingregistry.Storage
- type VirtualStorage
- func (m *VirtualStorage) Create(ctx apirequest.Context, obj runtime.Object) (runtime.Object, error)
- func (m *VirtualStorage) CreateRoleBindingWithEscalation(ctx apirequest.Context, obj *authorizationapi.RoleBinding) (*authorizationapi.RoleBinding, error)
- func (m *VirtualStorage) Delete(ctx apirequest.Context, name string, options *metav1.DeleteOptions) (runtime.Object, bool, error)
- func (m *VirtualStorage) Get(ctx apirequest.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
- func (m *VirtualStorage) List(ctx apirequest.Context, options *metainternal.ListOptions) (runtime.Object, error)
- func (m *VirtualStorage) New() runtime.Object
- func (m *VirtualStorage) NewList() runtime.Object
- func (m *VirtualStorage) Update(ctx apirequest.Context, name string, objInfo rest.UpdatedObjectInfo) (runtime.Object, bool, error)
- func (m *VirtualStorage) UpdateRoleBindingWithEscalation(ctx apirequest.Context, obj *authorizationapi.RoleBinding) (*authorizationapi.RoleBinding, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewVirtualStorage ¶
func NewVirtualStorage(bindingRegistry policybindingregistry.Registry, ruleResolver, cachedRuleResolver rulevalidation.AuthorizationRuleResolver, resource schema.GroupResource) rolebindingregistry.Storage
NewVirtualStorage creates a new REST for policies.
Types ¶
type VirtualStorage ¶
type VirtualStorage struct { BindingRegistry policybindingregistry.Registry RuleResolver rulevalidation.AuthorizationRuleResolver CachedRuleResolver rulevalidation.AuthorizationRuleResolver CreateStrategy rest.RESTCreateStrategy UpdateStrategy rest.RESTUpdateStrategy Resource schema.GroupResource }
func (*VirtualStorage) Create ¶
func (m *VirtualStorage) Create(ctx apirequest.Context, obj runtime.Object) (runtime.Object, error)
func (*VirtualStorage) CreateRoleBindingWithEscalation ¶
func (m *VirtualStorage) CreateRoleBindingWithEscalation(ctx apirequest.Context, obj *authorizationapi.RoleBinding) (*authorizationapi.RoleBinding, error)
func (*VirtualStorage) Delete ¶
func (m *VirtualStorage) Delete(ctx apirequest.Context, name string, options *metav1.DeleteOptions) (runtime.Object, bool, error)
func (*VirtualStorage) Get ¶
func (m *VirtualStorage) Get(ctx apirequest.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
func (*VirtualStorage) List ¶
func (m *VirtualStorage) List(ctx apirequest.Context, options *metainternal.ListOptions) (runtime.Object, error)
func (*VirtualStorage) New ¶
func (m *VirtualStorage) New() runtime.Object
func (*VirtualStorage) NewList ¶
func (m *VirtualStorage) NewList() runtime.Object
func (*VirtualStorage) Update ¶
func (m *VirtualStorage) Update(ctx apirequest.Context, name string, objInfo rest.UpdatedObjectInfo) (runtime.Object, bool, error)
func (*VirtualStorage) UpdateRoleBindingWithEscalation ¶
func (m *VirtualStorage) UpdateRoleBindingWithEscalation(ctx apirequest.Context, obj *authorizationapi.RoleBinding) (*authorizationapi.RoleBinding, bool, error)
Click to show internal directories.
Click to hide internal directories.