|
|
@ -50,6 +50,7 @@ func setupCommands() { |
|
|
|
|
|
|
|
|
|
|
|
snap := Command{ |
|
|
|
snap := Command{ |
|
|
|
Name: "Snap", |
|
|
|
Name: "Snap", |
|
|
|
|
|
|
|
Help: "Trigger a purge!", |
|
|
|
RequiresAdmin: false, |
|
|
|
RequiresAdmin: false, |
|
|
|
Keywords: []string{"snap", "purge", "sn"}, |
|
|
|
Keywords: []string{"snap", "purge", "sn"}, |
|
|
|
Exec: Snap, |
|
|
|
Exec: Snap, |
|
|
@ -59,6 +60,7 @@ func setupCommands() { |
|
|
|
status := Command{ |
|
|
|
status := Command{ |
|
|
|
Name: "Status", |
|
|
|
Name: "Status", |
|
|
|
RequiresAdmin: true, |
|
|
|
RequiresAdmin: true, |
|
|
|
|
|
|
|
Help: "Show the current status of Thanos/Verifications and probations", |
|
|
|
Keywords: []string{"st", "status", "stats"}, |
|
|
|
Keywords: []string{"st", "status", "stats"}, |
|
|
|
Exec: Status, |
|
|
|
Exec: Status, |
|
|
|
} |
|
|
|
} |
|
|
|