In order to use gorealis to perform maintenance calls to the Aurora scheduler, a client must be created and then used to send a list of hosts to place into DRAINING mode.
First create the client and create a monitor:
r, err = realis.NewRealisClient(realis.ZKUrl(zkUrl),
realis.BasicAuth(username, password),
realis.ThriftJSON(),