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.
Click to show internal directories.
Click to hide internal directories.