initialize

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, opts *InitOptions) error

Run initializes a fresh installation or configures an existing one, with a 30-minute timeout. It resolves environment overrides and updates opts in place.

Types

type InitOptions

type InitOptions struct {
	TargetPath string
	LicenseKey string
	Products   []string
	VersionID  int

	AdminUser       string
	AdminPassword   string
	AdminEmail      string
	SiteTitle       string
	InstanceName    string
	SkipUp          bool
	SkipInstall     bool
	SkipComposer    bool
	SkipBuildJS     bool
	ExistingOnly    bool
	Contexts        []string
	StartContainers bool
	EnvFile         string
	EnvFlags        []string
	// contains filtered or unexported fields
}

InitOptions controls fresh or existing installation setup, including product selection, credentials, container startup, skipped steps and environment values. Internal fields cache resolved versions, overrides and titles during setup.

Jump to

Keyboard shortcuts

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