userinst

package
v0.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BootInst

func BootInst(ctx context.Context, log *slog.Logger, cfg *UserConfig, rootDir string) error

func WriteCloudInit

func WriteCloudInit(ctx context.Context, log *slog.Logger, cfg *UserConfig, target string) error

Types

type UserConfig

type UserConfig struct {
	Id id.Id `json:"id"`

	CPUs   int `json:"cpus"`
	Memory int `json:"memory"`

	Volume string `json:"volume"`
	DiskId id.Id  `json:"disk"`

	Interfaces []*gatewaymgr.InterfaceConfig `json:"interfaces"`

	UserData string `json:"userdata"`
}

Jump to

Keyboard shortcuts

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