Documentation ¶
Index ¶
- func NewClusterRoleStorage(clusterPolicyRegistry clusterpolicyregistry.Registry, ...) clusterrole.Storage
- type ClusterRoleStorage
- func (s *ClusterRoleStorage) Create(ctx apirequest.Context, obj runtime.Object, _ bool) (runtime.Object, error)
- func (m *ClusterRoleStorage) CreateClusterRoleWithEscalation(ctx apirequest.Context, obj *authorizationapi.ClusterRole) (*authorizationapi.ClusterRole, error)
- func (m *ClusterRoleStorage) CreateRoleWithEscalation(ctx apirequest.Context, obj *authorizationapi.Role) (*authorizationapi.Role, error)
- func (s *ClusterRoleStorage) Delete(ctx apirequest.Context, name string, options *metav1.DeleteOptions) (runtime.Object, bool, error)
- func (s *ClusterRoleStorage) Get(ctx apirequest.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
- func (s *ClusterRoleStorage) List(ctx apirequest.Context, options *metainternal.ListOptions) (runtime.Object, error)
- func (s *ClusterRoleStorage) New() runtime.Object
- func (s *ClusterRoleStorage) NewList() runtime.Object
- func (s *ClusterRoleStorage) Update(ctx apirequest.Context, name string, objInfo rest.UpdatedObjectInfo) (runtime.Object, bool, error)
- func (m *ClusterRoleStorage) UpdateClusterRoleWithEscalation(ctx apirequest.Context, obj *authorizationapi.ClusterRole) (*authorizationapi.ClusterRole, bool, error)
- func (m *ClusterRoleStorage) UpdateRoleWithEscalation(ctx apirequest.Context, obj *authorizationapi.Role) (*authorizationapi.Role, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterRoleStorage ¶
func NewClusterRoleStorage(clusterPolicyRegistry clusterpolicyregistry.Registry, liveRuleResolver, cachedRuleResolver rulevalidation.AuthorizationRuleResolver) clusterrole.Storage
Types ¶
type ClusterRoleStorage ¶
type ClusterRoleStorage struct {
// contains filtered or unexported fields
}
func (*ClusterRoleStorage) Create ¶
func (s *ClusterRoleStorage) Create(ctx apirequest.Context, obj runtime.Object, _ bool) (runtime.Object, error)
func (*ClusterRoleStorage) CreateClusterRoleWithEscalation ¶ added in v1.1.4
func (m *ClusterRoleStorage) CreateClusterRoleWithEscalation(ctx apirequest.Context, obj *authorizationapi.ClusterRole) (*authorizationapi.ClusterRole, error)
func (*ClusterRoleStorage) CreateRoleWithEscalation ¶ added in v1.1.4
func (m *ClusterRoleStorage) CreateRoleWithEscalation(ctx apirequest.Context, obj *authorizationapi.Role) (*authorizationapi.Role, error)
func (*ClusterRoleStorage) Delete ¶
func (s *ClusterRoleStorage) Delete(ctx apirequest.Context, name string, options *metav1.DeleteOptions) (runtime.Object, bool, error)
func (*ClusterRoleStorage) Get ¶
func (s *ClusterRoleStorage) Get(ctx apirequest.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
func (*ClusterRoleStorage) List ¶
func (s *ClusterRoleStorage) List(ctx apirequest.Context, options *metainternal.ListOptions) (runtime.Object, error)
func (*ClusterRoleStorage) New ¶
func (s *ClusterRoleStorage) New() runtime.Object
func (*ClusterRoleStorage) NewList ¶
func (s *ClusterRoleStorage) NewList() runtime.Object
func (*ClusterRoleStorage) Update ¶
func (s *ClusterRoleStorage) Update(ctx apirequest.Context, name string, objInfo rest.UpdatedObjectInfo) (runtime.Object, bool, error)
func (*ClusterRoleStorage) UpdateClusterRoleWithEscalation ¶ added in v1.1.4
func (m *ClusterRoleStorage) UpdateClusterRoleWithEscalation(ctx apirequest.Context, obj *authorizationapi.ClusterRole) (*authorizationapi.ClusterRole, bool, error)
func (*ClusterRoleStorage) UpdateRoleWithEscalation ¶ added in v1.1.4
func (m *ClusterRoleStorage) UpdateRoleWithEscalation(ctx apirequest.Context, obj *authorizationapi.Role) (*authorizationapi.Role, bool, error)
Click to show internal directories.
Click to hide internal directories.