deletion

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PoliciedResourcesDeleterInterface

type PoliciedResourcesDeleterInterface interface {
	Delete(ctx context.Context, policyName string) error
}

PoliciedResourcesDeleterInterface to delete a policy with all resources in it.

func NewPoliciedResourcesDeleter

func NewPoliciedResourcesDeleter(pilicyClient v1clientset.PolicyInterface,
	authClient v1clientset.AuthV1Interface,
	enforcer *casbin.SyncedEnforcer,
	finalizerToken v1.FinalizerName,
	deletePolicyWhenDone bool) PoliciedResourcesDeleterInterface

NewPoliciedResourcesDeleter to create the policiedResourcesDeleter that implement the PoliciedResourcesDeleterInterface by given client and configure.

Jump to

Keyboard shortcuts

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