Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGroupReaper ¶
func NewGroupReaper( groupClient client.GroupsInterface, clusterBindingClient client.ClusterRoleBindingsInterface, bindingClient client.RoleBindingsNamespacer, sccClient kclient.SecurityContextConstraintsInterface, ) kubectl.Reaper
func NewUserReaper ¶
func NewUserReaper( userClient client.UsersInterface, groupClient client.GroupsInterface, clusterBindingClient client.ClusterRoleBindingsInterface, bindingClient client.RoleBindingsNamespacer, sccClient kclient.SecurityContextConstraintsInterface, ) kubectl.Reaper
Types ¶
type GroupReaper ¶
type GroupReaper struct {
// contains filtered or unexported fields
}
func (*GroupReaper) Stop ¶
func (r *GroupReaper) Stop(namespace, name string, timeout time.Duration, gracePeriod *kapi.DeleteOptions) error
Stop on a reaper is actually used for deletion. In this case, we'll delete referencing identities, clusterBindings, and bindings, then delete the group
type UserReaper ¶
type UserReaper struct {
// contains filtered or unexported fields
}
func (*UserReaper) Stop ¶
func (r *UserReaper) Stop(namespace, name string, timeout time.Duration, gracePeriod *kapi.DeleteOptions) error
Stop on a reaper is actually used for deletion. In this case, we'll delete referencing identities, clusterBindings, and bindings, then delete the user
Click to show internal directories.
Click to hide internal directories.