mesos

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor struct {
	Container string `json:"container"`
	Directory string `json:"directory"`
	Id        string `json:"id"`
	Source    string `json:"source"`
}

type Framework

type Framework struct {
	Checkpoint bool       `json:"checkpoint"`
	Executors  []Executor `json:"executors"`
}

type Mesos

type Mesos interface {
	SlaveState(slaveHost string) (SlaveState, error)
}

func NewMesosClient added in v0.0.8

func NewMesosClient() Mesos

type SlaveState

type SlaveState struct {
	Attributes map[string]string `json:"attributes"`
	Frameworks []Framework       `json:"frameworks"`
}

func (*SlaveState) FindExecutor

func (s *SlaveState) FindExecutor(taskId string) *Executor

Jump to

Keyboard shortcuts

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