Documentation ¶
Index ¶
- type AppResponse
- type InfoResponse
- type Marathon
- func (m Marathon) Apps() ([]*apps.App, error)
- func (m Marathon) ParseApps(jsonBlob []byte) ([]*apps.App, error)
- func (m Marathon) ParseTasks(jsonBlob []byte) ([]*tasks.Task, error)
- func (m Marathon) ParseVersion(resp []byte) (string, error)
- func (m Marathon) Tasks(app string) ([]*tasks.Task, error)
- func (m Marathon) Url(path string) string
- func (m Marathon) Version() (*version.Version, error)
- type MarathonSync
- type Marathoner
- type TasksResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppResponse ¶
type InfoResponse ¶
type InfoResponse struct {
Version string `json:"version"`
}
type Marathon ¶
func NewMarathon ¶
type MarathonSync ¶
type MarathonSync struct {
// contains filtered or unexported fields
}
func NewMarathonSync ¶
func NewMarathonSync(marathon Marathoner, consul consul.Consul) *MarathonSync
func (*MarathonSync) Sync ¶
func (m *MarathonSync) Sync() error
type Marathoner ¶
type TasksResponse ¶
Click to show internal directories.
Click to hide internal directories.