labels

package
v1.2.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: Apache-2.0 Imports: 2 Imported by: 1

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.

Jump to

Keyboard shortcuts

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