bfcfg

package
v0.0.0-...-1f6a80c Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(flavor *provisioningv1.DPUFlavor, dpuName, joinCmd string, additionalReboot bool) ([]byte, error)

Types

type BFCFGData

type BFCFGData struct {
	KubeadmJoinCMD             string
	DPUHostName                string
	BFGCFGParams               []string
	UbuntuPassword             string
	NVConfigParams             string
	Sysctl                     []string
	ConfigFiles                []BFCFGWriteFile
	OVSRawScript               string
	KernelParameters           string
	ContainerdRegistryEndpoint string
	SFNum                      int
	// AdditionalReboot adds an extra reboot during the DPU provisioning. This is required in some environments.
	AdditionalReboot bool
}

type BFCFGWriteFile

type BFCFGWriteFile struct {
	Path        string
	IsAppend    bool
	Content     string
	Permissions string
}

Jump to

Keyboard shortcuts

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