Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LeaderResponse ¶ added in v0.3.1
type LeaderResponse struct {
Leader string `json:"leader"`
}
type Marathon ¶
type Marathoner ¶
type MarathonerStub ¶
type MarathonerStub struct { AppsStub []*apps.App AppStub map[apps.AppID]*apps.App TasksStub map[apps.AppID][]*apps.Task // contains filtered or unexported fields }
func MarathonerStubForApps ¶
func MarathonerStubForApps(args ...*apps.App) *MarathonerStub
func MarathonerStubWithLeaderForApps ¶ added in v0.3.1
func MarathonerStubWithLeaderForApps(leader string, args ...*apps.App) *MarathonerStub
func (*MarathonerStub) ConsulApps ¶ added in v0.3.6
func (m *MarathonerStub) ConsulApps() ([]*apps.App, error)
func (MarathonerStub) Interactions ¶ added in v0.4.0
func (m MarathonerStub) Interactions() bool
func (*MarathonerStub) Leader ¶ added in v0.3.1
func (m *MarathonerStub) Leader() (string, error)
Click to show internal directories.
Click to hide internal directories.