system

package
v0.0.0-...-a2d724b Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsFirstBoot

func IsFirstBoot() bool

func RunFirstBootSetup

func RunFirstBootSetup() error

func RunInstall

func RunInstall() error

Types

type DiskInfo

type DiskInfo struct {
	Path  string
	Size  string
	Model string
}

func (DiskInfo) String

func (d DiskInfo) String() string

type InstallConfig

type InstallConfig struct {
	TargetDisk     string
	Hostname       string
	Password       string
	UseEntireDisk  bool
	ConsoleType    string
	PreserveConfig bool
	ConfigCommit   int
}

type InterfaceMapFile

type InterfaceMapFile struct {
	Generated  string             `json:"generated"`
	Interfaces []InterfaceMapping `json:"interfaces"`
}

type InterfaceMapping

type InterfaceMapping struct {
	PCI       string `json:"pci"`
	VPPName   string `json:"vpp_name"`
	LinuxName string `json:"linux_name"`
	Speed     int    `json:"speed"`
	NUMA      int    `json:"numa"`
	CardID    int    `json:"card_id"`
	PortIdx   int    `json:"port_idx"`
	Workers   string `json:"workers"`
}

Jump to

Keyboard shortcuts

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