Documentation ¶
Index ¶
- func Annotations(instance v1beta1.OpenTelemetryCollector, filterAnnotations []string) (map[string]string, error)
- func IsFilteredSet(sourceSet string, filterSet []string) bool
- func Labels(instance metav1.ObjectMeta, name string, image string, component string, ...) map[string]string
- func PodAnnotations(instance v1beta1.OpenTelemetryCollector, filterAnnotations []string) (map[string]string, error)
- func SelectorLabels(instance metav1.ObjectMeta, component string) map[string]string
- func TASelectorLabels(instance v1beta1.TargetAllocator, component string) map[string]string
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 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.
Click to show internal directories.
Click to hide internal directories.