labels

package
v2.2.10 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

SPDX-FileCopyrightText: (C) 2025 Intel Corporation SPDX-License-Identifier: Apache-2.0

Index

Constants

View Source
const (
	DefaultLabelKey = "default"
	DefaultLabelVal = "true"

	PlatformPrefix               = "edge-orchestrator.intel.com"
	PrometheusMetricsUrlLabelKey = "prometheusMetricsURL"
	PrometheusMetricsSubdomain   = "metrics-node"
	TrustedComputeLabelKey       = "trusted-compute-compatible"
)

Variables

This section is empty.

Functions

func Merge

func Merge(labels ...map[string]string) map[string]string

Merge returns a new map with all input labels merged into one

func OverrideSystemPrefixes

func OverrideSystemPrefixes(prefixes []string)

func Remove

func Remove(labels map[string]string, keys ...string) map[string]string

func SystemLabels

func SystemLabels(clusterLabels map[string]string) map[string]string

SystemLabels returns new map with only system defined labels

func UserLabels

func UserLabels(clusterLabels map[string]string) map[string]string

UserLabels returns new map with only user defined labels

Types

This section is empty.

Jump to

Keyboard shortcuts

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