mesos

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL