Documentation
¶
Index ¶
Constants ¶
const DockerAPIMinVersion string = "1.25"
DockerAPIMinVersion is the minimum version of the docker api required to use dockwatch
Variables ¶
This section is empty.
Functions ¶
func EnvConfig ¶
EnvConfig translates the command-line options into environment variables that will initialize the api client
func GetSecretsFromFiles ¶
GetSecretsFromFiles checks if passwords/tokens/webhooks have been passed as a file instead of plaintext. If so, the value of the flag will be replaced with the contents of the file.
func ProcessFlagAliases ¶
ProcessFlagAliases updates the value of flags that are being set by helper flags
func RegisterDockerFlags ¶
RegisterDockerFlags that are used directly by the docker api client
func RegisterSystemFlags ¶
RegisterSystemFlags that are used by dockwatch to modify the program flow
func SetupLogging ¶
SetupLogging reads only the flags that is needed to set up logging and applies them to the global logger