Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a Mesos client for DC/OS.
func NewClient ¶
func NewClient(baseClient *httpclient.Client) *Client
NewClient creates a new Mesos client.
func (*Client) StateSummary ¶
func (c *Client) StateSummary() (*StateSummary, error)
StateSummary returns the `/state/summary` from the Mesos master.
type StateSummary ¶
type StateSummary struct {
Cluster string `json:"cluster"`
}
StateSummary contains a summary of agents, tasks, and registered frameworks in the DC/OS cluster.
Click to show internal directories.
Click to hide internal directories.