Documentation
¶
Index ¶
- type Flags
- type Framework
- type Mesos
- func (m *Mesos) CompletedFrameworks() ([]*Framework, error)
- func (m *Mesos) FindFramework(name string) (*Framework, error)
- func (m *Mesos) FindFrameworks(name string) ([]*Framework, error)
- func (m *Mesos) Frameworks() ([]*Framework, error)
- func (m *Mesos) Shutdown(frameworkID string) error
- func (m *Mesos) State() (*State, error)
- type State
- type Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flags ¶
type Flags struct {
Authenticate string `json:"authenticate"`
AuthenticateSlaves string `json:"authenticate_slaves"`
}
Flags holds the flags provided to Mesos
type Framework ¶
type Framework struct {
Name string `json:"name"`
ID string `json:"id"`
PID string `json:"pid"`
Active bool `json:"active"`
Hostname string `json:"hostname"`
User string `json:"user"`
RegisteredTime float64 `json:"registered_time"`
ReregisteredTime float64 `json:"reregistered_time"`
Tasks []*Task `json:"tasks"`
}
Framework holds a Mesos Framework
type Mesos ¶
type Mesos struct {
// contains filtered or unexported fields
}
Mesos holds a Mesos Client
func (*Mesos) CompletedFrameworks ¶
CompletedFrameworks gets the completed frameworks
func (*Mesos) FindFramework ¶
FindFramework is trying to find a framework by name
func (*Mesos) FindFrameworks ¶
SearchFrameworks is searching frameworks in Mesos
func (*Mesos) Frameworks ¶
Frameworks gets the mesos frameworks
Click to show internal directories.
Click to hide internal directories.