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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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