Help us shape the future of Go! Take the 2026 Go Developer Survey

reaper

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

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

Source Files

  • bindings.go
  • group.go
  • user.go

Jump to

Keyboard shortcuts

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