Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver interface {
KillTask(string, string) error
LaunchTasks([]*mesos.Task) (map[string]error, error)
ClusterName() string
SubscribeEvent(http.ResponseWriter, string) error
FullTaskEventsAndRecords() []*types.CombinedEvents
ClusterAgents() map[string]*mole.ClusterAgent
ClusterAgent(id string) *mole.ClusterAgent
// for debug convenience
Dump() interface{}
Load() map[string]interface{}
}
type HandlerFunc ¶
type HandlerFunc func(w http.ResponseWriter, r *http.Request)
type Route ¶
type Route struct {
// contains filtered or unexported fields
}
func NewPrefixRoute ¶ added in v0.2.1
func NewPrefixRoute(method, path string, handler HandlerFunc) *Route
func NewRoute ¶
func NewRoute(method, path string, handler HandlerFunc) *Route
func (*Route) Handler ¶
func (r *Route) Handler() HandlerFunc
type Server ¶
func (*Server) UpdateLeader ¶ added in v0.2.1
Click to show internal directories.
Click to hide internal directories.