selector

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2017 License: Apache-2.0 Imports: 1 Imported by: 169

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(selector string) (sel parser.Selector, err error)

Parse a string representation of a selector expression into a Selector.

Types

type Selector

type Selector interface {
	Evaluate(labels map[string]string) bool
	EvaluateLabels(labels parser.Labels) bool
	String() string
	UniqueId() string
}

Selector represents a label selector.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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