Crate simple_selectors [] [src]

Parser for k8s style selectors

Simple label matching syntax as in label = value

Enums

ParseError

Functions

parse

this function will parse a selector and return its result. A (valid) selector will return a simple boolean indicating if the selector matched or not.

Type Definitions

LabelMap

String map type to pass to the parse function