deletion

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RoledResourcesDeleterInterface

type RoledResourcesDeleterInterface interface {
	Delete(roleName string) error
}

RoledResourcesDeleterInterface to delete a role with all resources in it.

func NewRoleedResourcesDeleter

func NewRoleedResourcesDeleter(pilicyClient v1clientset.RoleInterface,
	authClient v1clientset.AuthV1Interface,
	enforcer *casbin.SyncedEnforcer,
	finalizerToken v1.FinalizerName,
	deleteRoleWhenDone bool) RoledResourcesDeleterInterface

NewRoleedResourcesDeleter to create the roledResourcesDeleter that implement the RoledResourcesDeleterInterface by given client and configure.

Jump to

Keyboard shortcuts

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