Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGroupReaper ¶
func NewGroupReaper( groupClient userclient.Interface, clusterBindingClient authclient.Interface, bindingClient authclient.Interface, sccClient legacyclient.SecurityContextConstraintInterface, ) kubectl.Reaper
func NewUserReaper ¶
func NewUserReaper( userClient userclient.Interface, groupClient userclient.Interface, clusterBindingClient authclient.Interface, bindingClient authclient.Interface, authorizationsClient oauthclient.Interface, sccClient legacyclient.SecurityContextConstraintInterface, ) 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 *metav1.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 *metav1.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.