labels

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Overview

Package labels implements label utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasWatchLabel

func HasWatchLabel(o metav1.Object, labelValue string) bool

HasWatchLabel returns true if the object has a label with the WatchLabel key matching the given value.

func IsTopologyOwned added in v0.4.3

func IsTopologyOwned(o metav1.Object) bool

IsTopologyOwned returns true if the object has the `topology.cluster.x-k8s.io/owned` label.

Types

This section is empty.

Directories

Path Synopsis
Package format contains functions to format and compare formatted values used in Kubernetes labels.
Package format contains functions to format and compare formatted values used in Kubernetes labels.

Jump to

Keyboard shortcuts

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