Versions in this module Expand all Collapse all v0 v0.1.0 Nov 23, 2026 Changes in this version + const KindServer + const KindStack + const SchemaVersion + var FileFormats = []string + var KnownOS = []string + var Launchers = map[string]Launcher + var StepTypes = map[string]string + func AppliesTo(list []string, goos string) bool + func ArchiveURL(u string) bool + func HostFolder(v string) (string, error) + func RandomPassword(n int) string + func Render(name, tmpl string, ctx Context) (string, error) + type Archive struct + Format string + Keep []string + SHA256 string + Subdir map[string]string + To string + URL string + type Backup struct + Paths []string + StopFirst bool + type Choice struct + Label string + Value string + type Console struct + Exec *ConsoleExec + RCON *RCON + Save string + Say string + type ConsoleExec struct + Command []string + Description string + Service string + type Container struct + Image string + Packages []string + type Context struct + Dir string + GID int + Message string + Name string + OS string + Ports map[string]int + Settings map[string]any + UID int + type Definition struct + Backup Backup + Console Console + Container *Container + Description string + Extra map[string]any + Files []File + Homepage string + ID string + Install Install + Kind string + LinuxGSM *LinuxGSM + Name string + Notes []string + Platforms []string + Ports []Port + Requires string + Run map[string]Run + Schema int + Settings []Setting + Stack *Stack + Steps []Step + Stop Stop + Version string + func LoadFile(p string) (*Definition, error) + func Parse(data []byte) (*Definition, error) + func (d *Definition) IsFileVolume(p string) bool + func (d *Definition) IsStack() bool + func (d *Definition) Port(name string) (Port, bool) + func (d *Definition) RenderRun(goos string, ctx Context) (Run, error) + func (d *Definition) RenderStack(ctx Context) ([]RenderedService, error) + func (d *Definition) ResolvePorts(overrides map[string]int) (map[string]int, error) + func (d *Definition) ResolveSettings(raw map[string]string) (map[string]any, error) + func (d *Definition) Setting(key string) (Setting, bool) + func (d *Definition) SupportsOS(goos string) bool + func (d *Definition) Validate() error + type Download struct + Always bool + SHA256 string + To string + URL string + type File struct + Format string + OS []string + Overwrite bool + Path string + Set map[string]string + Template string + type HealthCheck struct + Command []string + Disable bool + IntervalSeconds int + Retries int + type Install struct + Archive *Archive + Downloads []Download + SteamCMD *SteamCMD + type Launcher struct + Args []string + Install string + Program string + type LinuxGSM struct + Name string + Notes string + Status string + type Port struct + Description string + Name string + Port int + Protocol string + Public bool + type RCON struct + Password string + Port string + Protocol string + type RenderedService struct + type Run struct + Args []string + Command string + Env map[string]string + Via []string + ViaArgs []string + Workdir string + func (r Run) Requires() []Launcher + type ServicePort struct + Port string + Target int + type Setting struct + Choices []Choice + Default any + Description string + Generate bool + Key string + Max *int + Min *int + MustAccept bool + Optional bool + Prompt string + Secret bool + Type string + func (s Setting) Convert(v string) (any, error) + func (s Setting) DefaultString() string + type Stack struct + Services []StackService + type StackService struct + Command []string + DependsOn []string + Env map[string]string + Health *HealthCheck + Image string + Name string + Once bool + Ports []ServicePort + ShmMB int + Volumes []Volume + type SteamCMD struct + AppID int + Beta string + Login string + Platform map[string]string + type Step struct + Args []string + Command string + Creates string + From string + OS []string + Path string + To string + Type string + type Stop struct + Command string + RCON bool + TimeoutSeconds int + type ValidationError struct + Problems []string + func (e *ValidationError) Error() string + type Volume struct + Path string + ReadOnly bool + Setting string + Target string