Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomPolicyBindingResourcesDeleterInterface ¶
type CustomPolicyBindingResourcesDeleterInterface interface {
Delete(ctx context.Context, namespace, policyName string) error
}
CustomPolicyBindingResourcesDeleterInterface to delete a policy with all resources in it.
func NewCustomPolicyBindingResourcesDeleter ¶
func NewCustomPolicyBindingResourcesDeleter( authClient v1clientset.AuthV1Interface, enforcer *casbin.SyncedEnforcer, finalizerToken v1.FinalizerName, deleteCustomPolicyWhenDone bool) CustomPolicyBindingResourcesDeleterInterface
NewCustomPolicyBindingResourcesDeleter to create the customPolicyBindingResourcesDeleter that implement the CustomPolicyBindingResourcesDeleterInterface by given client and configure.
Click to show internal directories.
Click to hide internal directories.