label

package module
v2.9.1 Latest Latest
Warning

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

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

README

Label Selector

The label selecotr is a a priority based label selector. Rather than just returning nodes with specific labels this selector orders the nodes based on a list of labels. If no labels match all the nodes are still returned. The priority based label selector is useful for such things as rudimentary AZ based routing where requests made to other services should remain in the same AZ.

Documentation

Overview

Package label is a priority label based selector.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Label

func Label(k, v string) selector.Option

Label used in the priority label list

func NewSelector

func NewSelector(opts ...selector.Option) selector.Selector

Types

This section is empty.

Jump to

Keyboard shortcuts

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