labels

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Labels

type Labels map[string]string

func (Labels) Cmp

func (l Labels) Cmp(a Labels) bool

Cmp checks if the labels are different. Returns true if they are.

type Selector

type Selector []selectorOp

func SelectorFromLabelSelector

func SelectorFromLabelSelector(ls *slimv1.LabelSelector) (Selector, error)

func (Selector) Match

func (s Selector) Match(labels Labels) bool

Jump to

Keyboard shortcuts

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