Documentation
¶
Overview ¶
registry/load.go
registry/types.go
registry/validate.go
Index ¶
Constants ¶
const SchemaVersion = 1
SchemaVersion is the only registry schema version this build understands.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddOn ¶
type AddOn struct {
SchemaVersion int `json:"schema_version" yaml:"schema_version"` // 1
ID string `json:"id" yaml:"id"`
DisplayName string `json:"display_name" yaml:"display_name"`
Matchers Matchers `json:"matchers" yaml:"matchers"`
Support Support `json:"support" yaml:"support"`
Compat []Compat `json:"compat,omitempty" yaml:"compat,omitempty"`
Recommendation string `json:"recommendation,omitempty" yaml:"recommendation,omitempty"`
// EndoflifeProduct, when set, is the endoflife.date product slug for
// this add-on (https://endoflife.date/api/<slug>.json). Entries that
// carry it have support.status / support.eol_date kept in sync by
// tools/eol-sync; hand-curated entries leave it empty.
EndoflifeProduct string `json:"endoflife_product,omitempty" yaml:"endoflife_product,omitempty"`
}
AddOn is one entry in the add-on EOL/compatibility registry (schema_version 1).
type Compat ¶
type Compat struct {
Range string `json:"range" yaml:"range"` // semver constraint, e.g. ">=4.0.0"
K8sMin string `json:"k8s_min" yaml:"k8s_min"` // "1.21"
K8sMax string `json:"k8s_max" yaml:"k8s_max"` // "1.36" (inclusive)
Citations []string `json:"citations" yaml:"citations"`
}
Compat maps a chart/app version range to a supported K8s range.