Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apps ¶
type Apps struct {
Apps []App
}
Apps represents a list of applications as returned by the Marathon REST API.
type Container ¶
type Container struct {
Docker Docker
}
Container as returned by the Marathon REST API.
type Docker ¶
type Docker struct { Network string PortMappings []PortMapping }
Docker container as returned by the Marathon REST API.
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator talks to Marathon and creates a list of services as a result.
func NewServiceGenerator ¶
NewServiceGenerator creates and returns a new ServiceGenerator.
type PortMapping ¶
PortMapping of a Docker container as returend by the Marathon REST API.
type Tasks ¶
type Tasks struct {
Tasks []Task
}
Tasks represents a list of tasks as returend by the Marathon REST API.
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
Receives messages via the HTTP event bus of Marathon.
func NewNotifier ¶
NewNotifier creates and returns a new Notifier
Click to show internal directories.
Click to hide internal directories.