reaper

package
v3.9.0-alpha.2+incompa... Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2018 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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