imageplan

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plan

type Plan struct {
	ManifestFingerprint string                    `json:"manifest_fingerprint"`
	IncusVersion        string                    `json:"incus_version"`
	Project             string                    `json:"project"`
	Profile             string                    `json:"profile"`
	PublicHostAddress   string                    `json:"public_host_address"`
	BuilderName         string                    `json:"builder_name"`
	SmokeName           string                    `json:"smoke_name"`
	InstanceConfig      map[string]string         `json:"instance_config"`
	BuilderDiskGiB      int                       `json:"builder_disk_gib"`
	SmokeRootDiskGiB    int                       `json:"smoke_root_disk_gib"`
	Image               imagemanifest.Image       `json:"image"`
	Source              imagemanifest.Source      `json:"source"`
	Runner              imagemanifest.Runner      `json:"runner"`
	CompilerCache       imagemanifest.Tool        `json:"compiler_cache"`
	Toolchains          []imagemanifest.Toolchain `json:"toolchains"`
	Packages            []string                  `json:"packages"`
	PackageInstallSpecs []string                  `json:"package_install_specs"`
	Variant             string                    `json:"variant"`
	DockerActionBaseRef string                    `json:"docker_action_base_ref,omitempty"`
}

func Build

func Build(cfg config.Config, manifest imagemanifest.Manifest, profile string) (Plan, error)

Jump to

Keyboard shortcuts

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