package
22.10.0+incompatible
Repository: https://github.com/crazy-max/docker-cli.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
ContextStoreDir returns the directory the docker contexts are stored in.
Dir returns the directory the configuration file is stored in.
LegacyLoadFromReader is a convenience function that creates a ConfigFile object from a non-nested reader.
Load reads the configuration files in the given directory, and sets up the auth config information and returns values.
LoadDefaultConfigFile attempts to load the default config file and returns an initialized ConfigFile struct if none is found.
LoadFromReader is a convenience function that creates a ConfigFile object from a reader.
Path returns the path to a file relative to the config dir.
SetDir sets the directory the configuration file is stored in.
# Constants
ConfigFileName is the name of config file.