Documentation ¶
Index ¶
- func EnvConfig(cmd *cobra.Command, dockerAPIMinVersion string) error
- func ReadFlags(cmd *cobra.Command) (bool, bool, bool, time.Duration)
- func RegisterDockerFlags(rootCmd *cobra.Command)
- func RegisterNotificationFlags(rootCmd *cobra.Command)
- func RegisterSystemFlags(rootCmd *cobra.Command)
- func SetDefaults()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnvConfig ¶
EnvConfig translates the command-line options into environment variables that will initialize the api client
func RegisterDockerFlags ¶
RegisterDockerFlags that are used directly by the docker api client
func RegisterNotificationFlags ¶
RegisterNotificationFlags that are used by watchtower to send notifications
func RegisterSystemFlags ¶
RegisterSystemFlags that are used by watchtower to modify the program flow
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.