labels

package
v0.34.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package labels implements label selector parser.

Index

Constants

View Source
const (

	// IdentifierToken represents identifier, e.g. keys and values.
	IdentifierToken lexerToken
)

Variables

This section is empty.

Functions

func ParseQuery

func ParseQuery(selector string) (*resource.LabelQuery, error)

ParseQuery creates resource.LabelQuery from the string formatted selector.

func ParseSelectors

func ParseSelectors(selectors []string) (resource.LabelQueries, error)

ParseSelectors creates resource.LabelQuery from the string formatted selectors.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL