Documentation
¶
Index ¶
- Constants
- func GetNamespaceLabels(namespaceObj *v1.Namespace, logger logr.Logger) map[string]string
- func GetNamespaceSelectorsFromGenericInformer(kind, namespaceOfResource string, nsInformer informers.GenericInformer, ...) map[string]string
- func GetNamespaceSelectorsFromNamespaceLister(kind, namespaceOfResource string, nsLister listerv1.NamespaceLister, ...) map[string]string
- func ProcessDeletePolicyForCloneGenerateRule(policy kyverno.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 GetNamespaceSelectorsFromGenericInformer ¶ added in v1.3.2
func GetNamespaceSelectorsFromGenericInformer(kind, namespaceOfResource string, nsInformer informers.GenericInformer, logger logr.Logger) map[string]string
GetNamespaceSelectorsFromGenericInformer - extracting the namespacelabels when generic informer is passed
func GetNamespaceSelectorsFromNamespaceLister ¶ added in v1.3.2
func GetNamespaceSelectorsFromNamespaceLister(kind, namespaceOfResource string, nsLister listerv1.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 kyverno.PolicyInterface, client dclient.Interface, kyvernoClient kyvernoclient.Interface, urlister urkyvernolister.UpdateRequestNamespaceLister, pName string, logger logr.Logger) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.