runtime

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(version, commit, buildDate string)

Main is the standard entrypoint for stock and generated plums binaries.

func RegisterFlags

func RegisterFlags(cfg *Config)

RegisterFlags binds CLI flags to the supplied Config.

func Run

func Run(cfg *Config) error

Run starts plums using the supplied launch config. If cfg is nil, defaults are used.

Types

type Config

type Config = api.Config

Config holds process-level launch options for a plums binary.

func DefaultConfig

func DefaultConfig() *Config

DefaultConfig returns a Config populated with built-in defaults.

Jump to

Keyboard shortcuts

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