|
|
|
@ -50,7 +50,7 @@ func setupCommands() {
@@ -50,7 +50,7 @@ func setupCommands() {
|
|
|
|
|
|
|
|
|
|
snap := Command{ |
|
|
|
|
Name: "Snap", |
|
|
|
|
Help: "Trigger a purge!", |
|
|
|
|
Help: "Trigger a purge!", |
|
|
|
|
RequiresAdmin: false, |
|
|
|
|
Keywords: []string{"snap", "purge", "sn"}, |
|
|
|
|
Exec: Snap, |
|
|
|
@ -60,7 +60,7 @@ func setupCommands() {
@@ -60,7 +60,7 @@ func setupCommands() {
|
|
|
|
|
status := Command{ |
|
|
|
|
Name: "Status", |
|
|
|
|
RequiresAdmin: true, |
|
|
|
|
Help: "Show the current status of Thanos/Verifications and probations", |
|
|
|
|
Help: "Show the current status of Thanos/Verifications and probations", |
|
|
|
|
Keywords: []string{"st", "status", "stats"}, |
|
|
|
|
Exec: Status, |
|
|
|
|
} |
|
|
|
@ -75,11 +75,11 @@ func setupCommands() {
@@ -75,11 +75,11 @@ func setupCommands() {
|
|
|
|
|
commands = append(commands, listCommands) |
|
|
|
|
|
|
|
|
|
debugLevel := Command{ |
|
|
|
|
Name: "Debug Level", |
|
|
|
|
Name: "Debug Level", |
|
|
|
|
RequiresAdmin: true, |
|
|
|
|
Keywords: []string{"debug"}, |
|
|
|
|
Exec: Debug, |
|
|
|
|
Help: "Set the log level for loggy", |
|
|
|
|
Keywords: []string{"debug"}, |
|
|
|
|
Exec: Debug, |
|
|
|
|
Help: "Set the log level for loggy", |
|
|
|
|
} |
|
|
|
|
commands = append(commands, debugLevel) |
|
|
|
|
} |
|
|
|
|