Documentation ¶
Overview ¶
Package cliconfig provides a configuration file loader.
It is intended for internal use by buildkite-agent only.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { // The path to the file Path string // A map of key/values that was loaded from the file Config map[string]string }
func (File) AbsolutePath ¶
type Loader ¶
type Loader struct { // The context that is passed when using a urfave/cli action CLI *cli.Context // The struct that the config values will be loaded into Config any // The logger used Logger logger.Logger // A slice of paths to files that should be used as config files DefaultConfigFilePaths []string // The file that was used when loading this configuration File *File }
Click to show internal directories.
Click to hide internal directories.