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