/kvcondition

Primary LanguageGoMIT LicenseMIT

KV Condition

GoDoc Widget Build Status codecov Go Report Card

Simple query language to describe condition for label

  • equal rules:
    • value equal key="value"
    • value not equal key!="value"
    • value ends with key$="value"
    • value starts with key^="value"
    • value contains key*="value"
    • has key key
  • compose rules:
    • and &
    • or |
    • hoisting operator precedence ()