workflow

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeBootstrapIntoStage2

func MergeBootstrapIntoStage2(base config.Config, bootstrap BootstrapResult) (config.Config, error)

MergeBootstrapIntoStage2 applies the bootstrap contract values into a Talos config. Bootstrap values are authoritative for VM connection fields.

func ProvisionAndBootstrap

func ProvisionAndBootstrap(
	ctx context.Context,
	logger *slog.Logger,
	stage2Base config.Config,
	bootstrapResult BootstrapResult,
	opts ProvisionAndBootstrapOptions,
) (bootstrap.Result, error)

ProvisionAndBootstrap executes the integrated workflow: Bootstrap contract -> merge into Talos config -> Talos bootstrap run.

func RefreshBootstrapFingerprint

func RefreshBootstrapFingerprint(path string, result *BootstrapResult) (bool, error)

RefreshBootstrapFingerprint re-checks the host fingerprint until it stabilizes and updates the result file if needed.

Types

type BootstrapResult

type BootstrapResult = vmconfig.BootstrapResult

BootstrapResult reuses the canonical bootstrap contract from vmware-vm-bootstrap.

func LoadBootstrapResult

func LoadBootstrapResult(path string) (BootstrapResult, error)

LoadBootstrapResult reads a BootstrapResult from YAML or JSON.

func LoadBootstrapResultFromVMConfig

func LoadBootstrapResultFromVMConfig(path string) (BootstrapResult, error)

LoadBootstrapResultFromVMConfig derives a BootstrapResult from a vmware-vm-bootstrap VM config.

type ProvisionAndBootstrapOptions

type ProvisionAndBootstrapOptions struct {
	DryRun        bool
	HumanProgress bool
}

ProvisionAndBootstrapOptions controls orchestrated execution behavior.

Jump to

Keyboard shortcuts

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