Documentation ¶
Index ¶
Constants ¶
View Source
const ( EvacuateRoute = "evacuate" PingRoute = "ping" )
Variables ¶
View Source
var Routes = rata.Routes{ {Path: "/evacuate", Method: "GET", Name: EvacuateRoute}, {Path: "/ping", Method: "GET", Name: PingRoute}, }
Functions ¶
This section is empty.
Types ¶
type Drainable ¶
type Drainable interface {
Drain(env dockerdriver.Env) error
}
type DriverAdmin ¶
type DriverAdmin interface { Evacuate(env dockerdriver.Env) ErrorResponse Ping(env dockerdriver.Env) ErrorResponse }
type ErrorResponse ¶
type ErrorResponse struct {
Err string
}
Click to show internal directories.
Click to hide internal directories.