Versions in this module Expand all Collapse all v0 v0.19.5 Nov 6, 2024 v0.19.4 Nov 6, 2024 Changes in this version + func ConvertRuleToV1alpha1(in *Rule, out *nfdv1alpha1.Rule) error + type FeatureMatcher []FeatureMatcherTerm + type FeatureMatcherTerm struct + Feature string + MatchExpressions *MatchExpressionSet + MatchName *MatchExpression + type MatchAnyElem struct + MatchFeatures FeatureMatcher + type MatchExpression struct + Op MatchOp + Value MatchValue + func (m *MatchExpression) UnmarshalJSON(data []byte) error + func (m *MatchExpression) Validate() error + type MatchExpressionSet map[string]*MatchExpression + func (m *MatchExpressionSet) UnmarshalJSON(data []byte) error + type MatchOp string + const MatchAny + const MatchDoesNotExist + const MatchExists + const MatchGt + const MatchGtLt + const MatchIn + const MatchInRegexp + const MatchIsFalse + const MatchIsTrue + const MatchLt + const MatchNotIn + func (m *MatchOp) UnmarshalJSON(data []byte) error + type MatchValue []string + func (m *MatchValue) UnmarshalJSON(data []byte) error + type Rule struct + Labels map[string]string + LabelsTemplate string + MatchAny []MatchAnyElem + MatchFeatures FeatureMatcher + Name string + Vars map[string]string + VarsTemplate string