Documentation
¶
Index ¶
- func MergeBootstrapIntoStage2(base config.Config, bootstrap BootstrapResult) (config.Config, error)
- func ProvisionAndBootstrap(ctx context.Context, logger *slog.Logger, stage2Base config.Config, ...) (bootstrap.Result, error)
- func RefreshBootstrapFingerprint(path string, result *BootstrapResult) (bool, error)
- type BootstrapResult
- type ProvisionAndBootstrapOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeBootstrapIntoStage2 ¶
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 ¶
ProvisionAndBootstrapOptions controls orchestrated execution behavior.