Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Processes []Process `yaml:"processes,omitempty"`
}
Config represent a BPM configuration
type Hooks ¶
type Hooks struct {
PreStart string `yaml:"pre_start,omitempty"`
}
Hooks from a BPM config
type Limits ¶
type Limits struct { Memory string `yaml:"memory,omitempty"` OpenFiles int `yaml:"open_files,omitempty"` Processes int `yaml:"processes,omitempty"` }
Limits from a BPM config
type Process ¶
type Process struct { Name string `yaml:"name,omitempty"` Executable string `yaml:"executable,omitempty"` Args []string `yaml:"args,omitempty"` Env map[string]string `yaml:"env,omitempty"` Workdir string `yaml:"workdir,omitempty"` Hooks Hooks `yaml:"hooks,omitempty"` Capabilities []string `yaml:"capabilities,omitempty"` Limits Limits `yaml:"limits,omitempty"` EphemeralDisk bool `yaml:"ephemeral_disk,omitempty"` PersistentDisk bool `yaml:"persistent_disk,omitempty"` AdditionalVolumes []Volume `yaml:"additional_volumes,omitempty"` Unsafe Unsafe `yaml:"unsafe,omitempty"` }
Process from a BPM config
Click to show internal directories.
Click to hide internal directories.