New 🌊 wave for @helm

Commit 53563304

5356330459ecMerged

zhilyaev <[email protected]> · 5 years ago · 9 files · +3 added · ~5 modified · -1 deleted

Description

mv kubedog flags

Details

Commit
5356330459ec
Parent
095ea7b233be

cmd/helmwave/flags_kubedog.godeleted

1-package main
2-
3-import (
4- "github.com/urfave/cli/v2"
5- "time"
6-)
7-
8-var flagsKubedog = []cli.Flag{
9- &cli.BoolFlag{
10- Name: "kubedog",
11- Usage: "Enable/Disable kubedog",
12- Value: false,
13- EnvVars: []string{"HELMWAVE_KUBEDOG", "HELMWAVE_KUBEDOG_ENABLED"},
14- Destination: &app.Features.Kubedog,
15- },
16- &cli.DurationFlag{
17- Name: "kubedog-status-interval",
18- Usage: "Interval of kubedog status messages",
19- Value: 5 * time.Second,
20- EnvVars: []string{"HELMWAVE_KUBEDOG_STATUS_INTERVAL"},
21- Destination: &app.Kubedog.StatusInterval,
22- },
23- &cli.DurationFlag{
24- Name: "kubedog-start-delay",
25- Usage: "Delay kubedog start, don't make it too late",
26- Value: time.Second,
27- EnvVars: []string{"HELMWAVE_KUBEDOG_START_DELAY"},
28- Destination: &app.Kubedog.StartDelay,
29- },
30- &cli.DurationFlag{
31- Name: "kubedog-timeout",
32- Usage: "Timout of kubedog multitrackers",
33- Value: 5 * time.Minute,
34- EnvVars: []string{"HELMWAVE_KUBEDOG_TIMEOUT"},
35- Destination: &app.Kubedog.Timeout,
36- },
37-}