Documentation
¶
Index ¶
Constants ¶
View Source
const ( ArtifactType = "application/vnd.nfd.image-compatibility.v1alpha1" Version = "v1alpha1" )
ArtifactType is a type of OCI artifact that contains image compatibility metadata.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compatibility ¶
type Compatibility struct { // Rules represents a list of Node Feature Rules. Rules []nfdv1alpha1.Rule `json:"rules"` // Weight indicates the priority of the compatibility set. Weight int `json:"weight,omitempty"` // Tag enables grouping or distinguishing between compatibility sets. Tag string `json:"tag,omitempty"` // Description of the compatibility set. Description string `json:"description,omitempty"` }
Compatibility represents image compatibility metadata that describe the image requirements for the host and OS.
type Spec ¶
type Spec struct { // Version of the spec. Version string `json:"version"` // Compatibilities contains list of compatibility sets. Compatibilties []Compatibility `json:"compatibilities"` }
Spec represents image compatibility metadata.
Click to show internal directories.
Click to hide internal directories.