Versions in this module Expand all Collapse all v3 v3.9.9 Jun 3, 2022 Changes in this version + const Wildcard + var ErrMatch = errors.New("failed to run Match criteria") + func AppliesTo(applyTo []ApplyTo, gvk schema.GroupVersionKind) bool + func IsNamespace(obj client.Object) bool + func Matches(match *Match, obj client.Object, ns *corev1.Namespace) (bool, error) + type ApplyTo struct + Groups []string + Kinds []string + Versions []string + func (a ApplyTo) Flatten() []schema.GroupVersionKind + func (a ApplyTo) Matches(gvk schema.GroupVersionKind) bool + func (in *ApplyTo) DeepCopy() *ApplyTo + func (in *ApplyTo) DeepCopyInto(out *ApplyTo) + type Kinds struct + APIGroups []string + Kinds []string + func (in *Kinds) DeepCopy() *Kinds + func (in *Kinds) DeepCopyInto(out *Kinds) + type Match struct + ExcludedNamespaces []util.Wildcard + Kinds []Kinds + LabelSelector *metav1.LabelSelector + Name util.Wildcard + NamespaceSelector *metav1.LabelSelector + Namespaces []util.Wildcard + Scope apiextensionsv1.ResourceScope + func (in *Match) DeepCopy() *Match + func (in *Match) DeepCopyInto(out *Match)