capacity report in terms of offers and tasks
This commit is contained in:
parent
7ccb38f5e6
commit
b184c4c0d2
5 changed files with 912 additions and 1 deletions
|
@ -147,6 +147,8 @@ func NewClient(options ...ClientOption) (*Client, error) {
|
|||
return nil, errors.New("incomplete Options -- url, cluster.json, or Zookeeper address required")
|
||||
}
|
||||
|
||||
config.url = url
|
||||
|
||||
url, err = validateAuroraAddress(url)
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "unable to create realis object, invalid url")
|
||||
|
@ -841,3 +843,7 @@ func (c *Client) RollbackJobUpdate(key aurora.JobUpdateKey, message string) erro
|
|||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (c *Client) GetSchedulerURL() string {
|
||||
return c.config.url
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue