selector

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FieldSelector

type FieldSelector struct {
	// contains filtered or unexported fields
}

func NewFieldSelector

func NewFieldSelector(selectors []string) FieldSelector

func (*FieldSelector) Matches

func (fs *FieldSelector) Matches(o client.Object) bool

type LabelSelector

type LabelSelector struct {
	labels.Selector
}

func NewLabelSelector

func NewLabelSelector(selectors []string) LabelSelector

type Selector

type Selector struct {
	LabelSelector
	FieldSelector
}

func NewSelector

func NewSelector(ls []string, fs []string) *Selector

Jump to

Keyboard shortcuts

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