Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProgramInLevels ¶
Types ¶
type Bling ¶
type Bling struct { Name string `yaml:"name"` Description string `yaml:"description"` Packages []string `yaml:"packages"` Programs []string `yaml:"programs"` PackageMap map[string]*Package ProgramMap map[string]*Program }
func DefaultBling ¶
func FromString ¶
func (*Bling) ConfigFiles ¶
func (*Bling) IncludesPackage ¶
func (*Bling) IncludesProgram ¶
type ConfigFile ¶
type ConfigLine ¶
ConfigLine represents a line of a program's configuration. It must be in the form of `key = value“ such that multiple config lines for the same program can be appended together to create a valid configuration.
type Program ¶
type Program struct { Name string `yaml:"name"` Description string `yaml:"description"` Init *Init `yaml:"init"` ConfigLines []ConfigLine `yaml:"config_lines,flow"` ConfigFiles []ConfigFile `yaml:"config_files,flow"` Aliases []Alias `yaml:",flow"` }
Program is an application that is installed and also has configuration attached.
func LoadPrograms ¶
Click to show internal directories.
Click to hide internal directories.