14714: keep-balance uses cluster config
authorEric Biagiotti <ebiagiotti@veritasgenetics.com>
Tue, 24 Sep 2019 13:58:40 +0000 (09:58 -0400)
committerEric Biagiotti <ebiagiotti@veritasgenetics.com>
Thu, 26 Sep 2019 18:18:47 +0000 (14:18 -0400)
commitda79c28c17eb5de3196ab49718b86c3f73db2380
treedcec49e036995701dc9438f2801b641529bf7bd7
parent3b1947092b856e2c3bdb733828b1c951ac158b06
14714: keep-balance uses cluster config

- Removes dumpconfig flag.
- Removes the options to specify a keep service list or type. Will now balance all keep services of type disk reported by the keep_services endpoint.
- Debug flag removed. Uses SystemLogs.LogLevel from cluster config instead.
- Reorganizes the Server struct to use lib/service to do generic service things.

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>
services/keep-balance/balance.go
services/keep-balance/main.go
services/keep-balance/server.go
services/keep-balance/usage.go [deleted file]