Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BasicCredentials ¶
type Config ¶
type Config struct { AuthPerHost map[string]Headerer DockerCredentialsPerRegistry map[string]BasicCredentials Paths ConfigurablePaths }
Config is a single place where configuration for rkt frontend needs resides.
func GetConfig ¶
GetConfig gets the Config instance with configuration taken from default system path (see common.DefaultSystemConfigDir) overridden with configuration from default local path (see common.DefaultLocalConfigDir).
func GetConfigFrom ¶
GetConfigFrom gets the Config instance with configuration taken from given paths. Subsequent paths override settings from the previous paths.
func GetConfigFromDir ¶
GetConfigFromDir gets the Config instance with configuration taken from given directory.
type ConfigurablePaths ¶ added in v0.14.0
type ConfigurablePaths struct {
DataDir string
}
Click to show internal directories.
Click to hide internal directories.