Documentation
¶
Index ¶
- Constants
- func GetNamespaceLabels(namespaceObj *corev1.Namespace, logger logr.Logger) map[string]string
- func GetNamespaceSelectorsFromNamespaceLister(kind, namespaceOfResource string, nsLister corev1listers.NamespaceLister, ...) map[string]string
- func ProcessDeletePolicyForCloneGenerateRule(policy kyvernov1.PolicyInterface, client dclient.Interface, ...) bool
- func RetryFunc(retryInterval, timeout time.Duration, run func() error, msg string, ...) func() error
Constants ¶
View Source
const ( PolicyViolation = "POLICYVIOLATION" PolicyReport = "POLICYREPORT" )
Policy Reporting Types
Variables ¶
This section is empty.
Functions ¶
func GetNamespaceLabels ¶ added in v1.3.2
GetNamespaceLabels - from namespace obj
func GetNamespaceSelectorsFromNamespaceLister ¶ added in v1.3.2
func GetNamespaceSelectorsFromNamespaceLister(kind, namespaceOfResource string, nsLister corev1listers.NamespaceLister, logger logr.Logger) map[string]string
GetNamespaceSelectorsFromNamespaceLister - extract the namespacelabels when namespace lister is passed
func ProcessDeletePolicyForCloneGenerateRule ¶ added in v1.4.2
func ProcessDeletePolicyForCloneGenerateRule(policy kyvernov1.PolicyInterface, client dclient.Interface, kyvernoClient versioned.Interface, urlister kyvernov1beta1listers.UpdateRequestNamespaceLister, pName string, logger logr.Logger) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.