Documentation
¶
Overview ¶
Package oskind is the single source of truth for the string values of the OS recipe criterion. It is intentionally a leaf package with no internal dependencies so it can be imported from anywhere in the tree (pkg/recipe for the typed CriteriaOSType constants, pkg/collector for factory backend selection, pkg/k8s/agent for pod-manifest gating, pkg/snapshotter for env-var validation, and the CLI) without reintroducing the pkg/recipe -> pkg/snapshotter -> pkg/collector import cycle that previously forced these constants to be duplicated in three places with manual "must stay in sync" comments.
Index ¶
Constants ¶
const ( Any = "any" Ubuntu = "ubuntu" RHEL = "rhel" COS = "cos" AmazonLinux = "amazonlinux" OracleLinux = "ol" Talos = "talos" )
Supported OS criterion values. Keep this list aligned with the `os` enum in api/aicr/v1/server.yaml and the user-facing OS lists in docs/.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.