selector

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 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 struct {
	// contains filtered or unexported fields
}

Selector holds labels selector

func New

func New() *Selector

New creates a new selector instance

func (*Selector) Match

func (s *Selector) Match(node *corev1.Node) bool

Match check if selector match the node

func (*Selector) Update

func (s *Selector) Update(newSelector map[string]string)

Update label selector

Jump to

Keyboard shortcuts

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