labels

package
v0.21.0-rc2 Latest Latest
Warning

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

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

Documentation

Overview

Package labels provides shared label constants for validation resources.

Index

Constants

View Source
const (
	Name      = k8slabels.Name
	Component = k8slabels.Component
	ManagedBy = k8slabels.ManagedBy
	RunID     = k8slabels.RunID
)

Standard Kubernetes label keys. These are aliases of pkg/k8s/labels, which is the single source of truth shared with the snapshot agent (pkg/k8s/agent) — validator code should keep referring to them as labels.Name etc. rather than importing pkg/k8s/labels directly.

View Source
const (
	JobType    = header.Domain + "/job-type"
	Validator  = header.Domain + "/validator"
	Phase      = header.Domain + "/phase"
	ReportType = header.Domain + "/report-type"
)

AICR-specific label keys, keyed on the canonical AICR API domain.

View Source
const (
	ValueAICR       = k8slabels.ValueAICR
	ValueValidation = "validation"
	ValueValidator  = "aicr-validator"
)

Common label values.

View Source
const (
	ValueNCCLPerf      = "nccl-perf"
	ValueInferencePerf = "inference-perf"
)

Component label values for per-run benchmark namespaces, stamped alongside ManagedBy so a stale-namespace prune can scope its List to exactly one benchmark server-side, instead of matching a hand-maintained name prefix.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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