release

package
v0.1.0-latest-stable Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// LastReleasedDPFGAVersion is the latest DPF GA line accepted as an upgrade source.
	LastReleasedDPFGAVersion = "v26.8.0"

	// DPFVersionLabelKey is the DPF version label key used for label resources.
	DPFVersionLabelKey = "operator.dpu.nvidia.com/dpf-version"
)

Variables

This section is empty.

Functions

func DPFVersion

func DPFVersion() string

DPFVersion returns the DPF version the binary is built with.

func SetDefaultsContentForTesting

func SetDefaultsContentForTesting(content []byte)

SetDefaultsContentForTesting allows injecting defaults content for testing purposes. This should only be used in tests.

Types

type Defaults

type Defaults struct {
	DMSImage                   string `yaml:"dmsImage"`
	DPFSystemImage             string `yaml:"dpfSystemImage"`
	CNIInstallerImage          string `yaml:"cniInstallerImage"`
	DPUNetworkingHelmChart     string `yaml:"dpuNetworkingHelmChart"`
	BFBRegistryImage           string `yaml:"bfbRegistryImage"`
	KeepalivedImage            string `yaml:"keepalivedImage"`
	NodeSRIOVDevicePluginImage string `yaml:"nodeSRIOVDevicePluginImage"`
	KataDeployImage            string `yaml:"kataDeployImage"`
}

Defaults structure contains the default artifacts that the operators should deploy

func NewDefaults

func NewDefaults() *Defaults

NewDefaults creates a new defaults object

func (*Defaults) Parse

func (d *Defaults) Parse() error

Parse parses the defaults from the embedded generated YAML file TODO: Add more validations here as needed.

Jump to

Keyboard shortcuts

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