labels

package
v0.0.0-...-7a7d364 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OwnedByPrefix    = "owned-by.topolvm.io"
	OwnedByName      = OwnedByPrefix + "/name"
	OwnedByNamespace = OwnedByPrefix + "/namespace"
	OwnedByUID       = OwnedByPrefix + "/uid"
	OwnedByGroup     = OwnedByPrefix + "/group"
	OwnedByVersion   = OwnedByPrefix + "/version"
	OwnedByKind      = OwnedByPrefix + "/kind"
)

orients itself on https://sdk.operatorframework.io/docs/building-operators/ansible/reference/retroactively-owned-resources/#for-objects-which-are-not-in-the-same-namespace-as-the-owner-cr but uses labels and split apiVersion,kind and namespace,name to make label searches and filters possible.

Variables

This section is empty.

Functions

func MatchesManagedLabels

func MatchesManagedLabels(scheme *runtime.Scheme, obj client.Object, owner client.Object) bool

func SetManagedLabels

func SetManagedLabels(scheme *runtime.Scheme, obj client.Object, owner client.Object)

Types

This section is empty.

Jump to

Keyboard shortcuts

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