watchtower/internal/config/keys.go

79 lines
3.4 KiB
Go
Raw Normal View History

2022-03-13 12:11:32 +01:00
package config
type stringConfKey string
type boolConfKey string
type intConfKey string
type durationConfKey string
type sliceConfKey string
//
const (
NoPull boolConfKey = "no-pull"
NoRestart boolConfKey = "no-restart"
NoStartupMessage boolConfKey = "no-startup-message"
Cleanup boolConfKey = "cleanup"
RemoveVolumes boolConfKey = "remove-volumes"
LabelEnable boolConfKey = "label-enable"
Debug boolConfKey = "debug"
Trace boolConfKey = "trace"
MonitorOnly boolConfKey = "monitor-only"
RunOnce boolConfKey = "run-once"
IncludeRestarting boolConfKey = "include-restarting"
IncludeStopped boolConfKey = "include-stopped"
ReviveStopped boolConfKey = "revive-stopped"
EnableLifecycleHooks boolConfKey = "enable-lifecycle-hooks"
RollingRestart boolConfKey = "rolling-restart"
WarnOnHeadFailure stringConfKey = "warn-on-head-failure"
2022-03-13 12:27:47 +01:00
HTTPAPIUpdate boolConfKey = "http-api-update"
HTTPAPIMetrics boolConfKey = "http-api-metrics"
HTTPAPIPeriodicPolls boolConfKey = "http-api-periodic-polls"
HTTPAPIToken stringConfKey = "HTTPAPIToken"
2022-03-13 12:11:32 +01:00
NoColor boolConfKey = "no-color"
2022-03-13 12:27:47 +01:00
NotificationGotifyTLSSkipVerify boolConfKey = "notification-gotify-tls-skip-verify"
2022-03-13 12:11:32 +01:00
Schedule stringConfKey = "schedule"
Interval intConfKey = "interval"
StopTimeout durationConfKey = "stop-timeout"
Scope stringConfKey = "Scope"
/* Docker v*/
DockerHost stringConfKey = "host"
2022-03-13 12:27:47 +01:00
DockerAPIVersion stringConfKey = "api-version"
2022-03-13 12:11:32 +01:00
DockerTlSVerify boolConfKey = "tlsverify"
Notifications sliceConfKey = "notifications"
NotificationsLevel stringConfKey = "notifications-level"
NotificationsDelay intConfKey = "notifications-delay"
NotificationsHostname stringConfKey = "notifications-hostname"
NotificationTemplate stringConfKey = "notification-template"
NotificationReport boolConfKey = "notification-report"
2022-03-13 12:27:47 +01:00
NotificationURL sliceConfKey = "notification-url"
2022-03-13 12:11:32 +01:00
NotificationEmailFrom stringConfKey = "notification-email-from"
NotificationEmailTo stringConfKey = "notification-email-to"
NotificationEmailServer stringConfKey = "notification-email-server"
NotificationEmailServerUser stringConfKey = "notification-email-server-user"
NotificationEmailServerPassword stringConfKey = "notification-email-server-password"
2022-03-13 12:27:47 +01:00
NotificationEmailSubjectTag stringConfKey = "notification-email-subjecttag"
2022-03-13 12:11:32 +01:00
NotificationEmailDelay intConfKey = "notification-email-delay"
NotificationEmailServerPort intConfKey = "notification-email-server-port"
2022-03-13 12:27:47 +01:00
NotificationEmailServerTLSSkipVerify boolConfKey = "notification-email-server-tls-skip-verify"
2022-03-13 12:11:32 +01:00
2022-03-13 12:27:47 +01:00
NotificationSlackHookURL stringConfKey = "notification-slack-hook-url"
2022-03-13 12:11:32 +01:00
NotificationSlackIdentifier stringConfKey = "notification-slack-identifier"
NotificationSlackChannel stringConfKey = "notification-slack-channel"
NotificationSlackIconEmoji stringConfKey = "notification-slack-icon-emoji"
2022-03-13 12:27:47 +01:00
NotificationSlackIconURL stringConfKey = "notification-slack-icon-url"
2022-03-13 12:11:32 +01:00
2022-03-13 12:27:47 +01:00
NotificationMSTeamsHook stringConfKey = "notification-msteams-hook"
NotificationMSTeamsData boolConfKey = "notification-msteams-data"
2022-03-13 12:11:32 +01:00
2022-03-13 12:27:47 +01:00
NotificationGotifyURL stringConfKey = "notification-gotify-url"
2022-03-13 12:11:32 +01:00
NotificationGotifyToken stringConfKey = "notification-gotify-token"
)