reaper

package
v3.7.4-1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

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 securitytypedclient.SecurityContextConstraintsInterface,
) kubectl.Reaper

func NewUserReaper

func NewUserReaper(
	userClient userclient.Interface,
	groupClient userclient.Interface,
	clusterBindingClient authclient.Interface,
	bindingClient authclient.Interface,
	authorizationsClient oauthclient.Interface,
	sccClient securitytypedclient.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 *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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL