Help us shape the future of Go! Take the 2026 Go Developer Survey

selectors

package
v0.14.3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Selector

type Selector interface {
	// Matches returns the number of matches that this selector
	// has with the given object metadata and dnsName.
	// The greater the returned number, the more 'specific' of a
	// match this meta/dnsName pair has with this selector.
	// In some cases, the selector may 'match' (i.e. the bool == true),
	// but the number of matches may be zero (i.e. for a label selector,
	// where an empty selector matches all).
	Matches(meta metav1.ObjectMeta, dnsName string) (bool, int)
}

Jump to

Keyboard shortcuts

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