v1alpha1

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

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