Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfigMapMatcher ¶
func DefaultConfigMapMatcher(namespaces []string, requirePolicyLabel, enablePolicies, enableData bool) func(*v1.ConfigMap) (bool, bool)
DefaultConfigMapMatcher returns a function that will match configmaps in specified namespaces and/or with a policy or data label. The first bool return value specifies a policy/data match and the second bool indicates if the configmap contains a policy.
Types ¶
Click to show internal directories.
Click to hide internal directories.