예제 #1
0
func (cmd *CleanupRepairHandler) runRepairStop(c *kingpin.ParseContext) error {
	cli.HTTPPut("v1/repair/stop")
	return nil
}
예제 #2
0
func (cmd *BrokerHandler) runRestart(c *kingpin.ParseContext) error {
	cli.PrintJSON(cli.HTTPPut(fmt.Sprintf("v1/brokers/%s", cmd.broker)))
	return nil
}
예제 #3
0
func (cmd *BackupRestoreHandler) runRestoreStop(c *kingpin.ParseContext) error {
	cli.HTTPPut("v1/restore/stop")
	return nil
}