Documentation ¶
Index ¶
- func NewVirtualStorage(policyRegistry policyregistry.Registry, ...) rolebindingregistry.Storage
- type VirtualStorage
- func (m *VirtualStorage) Create(ctx kapi.Context, obj runtime.Object) (runtime.Object, error)
- func (m *VirtualStorage) CreateRoleBindingWithEscalation(ctx kapi.Context, obj *authorizationapi.RoleBinding) (*authorizationapi.RoleBinding, error)
- func (m *VirtualStorage) Delete(ctx kapi.Context, name string, options *kapi.DeleteOptions) (runtime.Object, error)
- func (m *VirtualStorage) Get(ctx kapi.Context, name string) (runtime.Object, error)
- func (m *VirtualStorage) List(ctx kapi.Context, label labels.Selector, field fields.Selector) (runtime.Object, error)
- func (m *VirtualStorage) New() runtime.Object
- func (m *VirtualStorage) NewList() runtime.Object
- func (m *VirtualStorage) Update(ctx kapi.Context, obj runtime.Object) (runtime.Object, bool, error)
- func (m *VirtualStorage) UpdateRoleBindingWithEscalation(ctx kapi.Context, obj *authorizationapi.RoleBinding) (*authorizationapi.RoleBinding, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewVirtualStorage ¶
func NewVirtualStorage(policyRegistry policyregistry.Registry, bindingRegistry policybindingregistry.Registry, clusterPolicyRegistry clusterpolicyregistry.Registry, clusterPolicyBindingRegistry clusterpolicybindingregistry.Registry) rolebindingregistry.Storage
NewVirtualStorage creates a new REST for policies.
Types ¶
type VirtualStorage ¶
type VirtualStorage struct { PolicyRegistry policyregistry.Registry BindingRegistry policybindingregistry.Registry ClusterPolicyRegistry clusterpolicyregistry.Registry ClusterPolicyBindingRegistry clusterpolicybindingregistry.Registry CreateStrategy rest.RESTCreateStrategy UpdateStrategy rest.RESTUpdateStrategy }
func (*VirtualStorage) CreateRoleBindingWithEscalation ¶
func (m *VirtualStorage) CreateRoleBindingWithEscalation(ctx kapi.Context, obj *authorizationapi.RoleBinding) (*authorizationapi.RoleBinding, error)
func (*VirtualStorage) Delete ¶
func (m *VirtualStorage) Delete(ctx kapi.Context, name string, options *kapi.DeleteOptions) (runtime.Object, error)
func (*VirtualStorage) New ¶
func (m *VirtualStorage) New() runtime.Object
func (*VirtualStorage) NewList ¶
func (m *VirtualStorage) NewList() runtime.Object
func (*VirtualStorage) UpdateRoleBindingWithEscalation ¶
func (m *VirtualStorage) UpdateRoleBindingWithEscalation(ctx kapi.Context, obj *authorizationapi.RoleBinding) (*authorizationapi.RoleBinding, bool, error)
Click to show internal directories.
Click to hide internal directories.