Documentation ¶
Overview ¶
Package configuration handles the configuration functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { GentooStage Definition `toml:"gentoo-staging"` Fixups Definition `toml:"kit-fixups"` Ports Definition `toml:"ports"` Liguros Definition `toml:"liguros-repo"` Repo map[string]Definition `toml:"repo"` }
Configuration contains the Liguros configuration
func ReadProgConfig ¶
func ReadProgConfig(filename, filepath string) Configuration
ReadProgConfig Reads configuration file and returns content, with default values for entities not set.
type Definition ¶
type Definition struct { Reference plumbing.ReferenceName `toml:"reference"` Copyfiles []Copying `toml:"copyfiles,omitempty"` Eclasses []string `toml:"eclasses,omitempty"` Filter []string `toml:"filter,omitempty"` Select []string `toml:"select,omitempty"` URL string `toml:"URL"` }
Definition defines the internal structure
Click to show internal directories.
Click to hide internal directories.