engine_config

package
v0.250115.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: CC0-1.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alias

type Alias struct {
	Name     string `hcl:"name,label"`
	Scenario string `hcl:"scenario"`
	Doer     engine.Doer
}

type Config

type Config struct {
	XXX_Aliases []Alias `hcl:"alias,block"`
	Aliases     map[string]Alias
	OnBoot      []string `hcl:"on_boot,optional"`
	FirstInit   []string `hcl:"first_init,optional"`
	// Deprecated:
	OnMenuError    []string                   `hcl:"on_menu_error,optional"`
	OnServiceBegin []string                   `hcl:"on_service_begin,optional"`
	OnServiceEnd   []string                   `hcl:"on_service_end,optional"`
	OnFrontBegin   []string                   `hcl:"on_front_begin,optional"`
	OnBroken       []string                   `hcl:"on_broken,optional"`
	OnShutdown     []string                   `hcl:"on_shutdown,optional"`
	Profile        ProfileStruct              `hcl:"profile,block"`
	XXX_Menu       menu_config.XXX_MenuStruct `hcl:"menu,block"`
	Menu           menu_config.MenuStruct
	NeedRestart    bool
}

type ProfileStruct added in v0.250104.0

type ProfileStruct struct {
	Regexp    string `hcl:"regexp,optional"`
	MinUs     int    `hcl:"min_us,optional"`
	LogFormat string `hcl:"log_format,optional"`
}

Jump to

Keyboard shortcuts

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