manifestutils

package
v0.96.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Annotations added in v0.96.0

func Annotations(instance v1beta1.OpenTelemetryCollector, filterAnnotations []string) (map[string]string, error)

Annotations return the annotations for OpenTelemetryCollector pod.

func IsFilteredSet added in v0.96.0

func IsFilteredSet(sourceSet string, filterSet []string) bool

func Labels

func Labels(instance metav1.ObjectMeta, name string, image string, component string, filterLabels []string) map[string]string

Labels return the common labels to all objects that are part of a managed CR.

func PodAnnotations added in v0.96.0

func PodAnnotations(instance v1beta1.OpenTelemetryCollector, filterAnnotations []string) (map[string]string, error)

PodAnnotations return the spec annotations for OpenTelemetryCollector pod.

func SelectorLabels

func SelectorLabels(instance metav1.ObjectMeta, component string) map[string]string

SelectorLabels return the common labels to all objects that are part of a managed CR to use as selector. Selector labels are immutable for Deployment, StatefulSet and DaemonSet, therefore, no labels in selector should be expected to be modified for the lifetime of the object.

func TASelectorLabels added in v0.96.0

func TASelectorLabels(instance v1beta1.TargetAllocator, component string) map[string]string

SelectorLabels return the selector labels for Target Allocator Pods.

Types

This section is empty.

Jump to

Keyboard shortcuts

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