Documentation ¶
Index ¶
- type ClusterRoleStorage
- func (s *ClusterRoleStorage) Create(ctx kapi.Context, obj runtime.Object) (runtime.Object, error)
- func (m *ClusterRoleStorage) CreateClusterRoleWithEscalation(ctx kapi.Context, obj *authorizationapi.ClusterRole) (*authorizationapi.ClusterRole, error)
- func (m *ClusterRoleStorage) CreateRoleWithEscalation(ctx kapi.Context, obj *authorizationapi.Role) (*authorizationapi.Role, error)
- func (s *ClusterRoleStorage) Delete(ctx kapi.Context, name string, options *kapi.DeleteOptions) (runtime.Object, error)
- func (s *ClusterRoleStorage) Get(ctx kapi.Context, name string) (runtime.Object, error)
- func (s *ClusterRoleStorage) List(ctx kapi.Context, options *kapi.ListOptions) (runtime.Object, error)
- func (s *ClusterRoleStorage) New() runtime.Object
- func (s *ClusterRoleStorage) NewList() runtime.Object
- func (s *ClusterRoleStorage) Update(ctx kapi.Context, name string, objInfo rest.UpdatedObjectInfo) (runtime.Object, bool, error)
- func (m *ClusterRoleStorage) UpdateClusterRoleWithEscalation(ctx kapi.Context, obj *authorizationapi.ClusterRole) (*authorizationapi.ClusterRole, bool, error)
- func (m *ClusterRoleStorage) UpdateRoleWithEscalation(ctx kapi.Context, obj *authorizationapi.Role) (*authorizationapi.Role, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterRoleStorage ¶
type ClusterRoleStorage struct {
// contains filtered or unexported fields
}
func NewClusterRoleStorage ¶
func NewClusterRoleStorage(clusterPolicyRegistry clusterpolicyregistry.Registry, clusterBindingRegistry clusterpolicybindingregistry.Registry) *ClusterRoleStorage
func (*ClusterRoleStorage) CreateClusterRoleWithEscalation ¶ added in v1.1.4
func (m *ClusterRoleStorage) CreateClusterRoleWithEscalation(ctx kapi.Context, obj *authorizationapi.ClusterRole) (*authorizationapi.ClusterRole, error)
func (*ClusterRoleStorage) CreateRoleWithEscalation ¶ added in v1.1.4
func (m *ClusterRoleStorage) CreateRoleWithEscalation(ctx kapi.Context, obj *authorizationapi.Role) (*authorizationapi.Role, error)
func (*ClusterRoleStorage) Delete ¶
func (s *ClusterRoleStorage) Delete(ctx kapi.Context, name string, options *kapi.DeleteOptions) (runtime.Object, error)
func (*ClusterRoleStorage) List ¶
func (s *ClusterRoleStorage) List(ctx kapi.Context, options *kapi.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 kapi.Context, name string, objInfo rest.UpdatedObjectInfo) (runtime.Object, bool, error)
func (*ClusterRoleStorage) UpdateClusterRoleWithEscalation ¶ added in v1.1.4
func (m *ClusterRoleStorage) UpdateClusterRoleWithEscalation(ctx kapi.Context, obj *authorizationapi.ClusterRole) (*authorizationapi.ClusterRole, bool, error)
func (*ClusterRoleStorage) UpdateRoleWithEscalation ¶ added in v1.1.4
func (m *ClusterRoleStorage) UpdateRoleWithEscalation(ctx kapi.Context, obj *authorizationapi.Role) (*authorizationapi.Role, bool, error)
Click to show internal directories.
Click to hide internal directories.