added tracker to cli abd into add and remove container on the client side

This commit is contained in:
2021-07-18 12:12:31 +04:00
parent 51110c235b
commit 489ffd6d0c
4 changed files with 46 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ var (
SetDefaultConfig bool
NetworkInterface bool
ViewPlugin bool
TrackedContainers bool
)
var AppConfigFlags = []cli.Flag{
@@ -130,4 +131,12 @@ var AppConfigFlags = []cli.Flag{
EnvVars: []string{"VIEW_PLUGIN"},
Destination: &ViewPlugin,
},
&cli.BoolFlag{
Name: "TrackedContainers",
Aliases: []string{"tc"},
Usage: "View containers which have " +
"been created from the client side ",
EnvVars: []string{"TRACKED_CONTAINERS"},
Destination: &TrackedContainers,
},
}