labels

package
Version: v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Source Files

Jump to

Keyboard shortcuts

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