Documentation
¶
Index ¶
- func Attach(token *jwt.Token, name string, in <-chan []byte, out chan<- []byte) error
- func AttachHandler(w http.ResponseWriter, r *http.Request, token *jwt.Token)
- func Kill(name string, wipe bool, token *jwt.Token) error
- func KillHandler(w http.ResponseWriter, r *http.Request, token *jwt.Token)
- func List(token *jwt.Token) ([]docker.APIContainers, error)
- func ListHandler(w http.ResponseWriter, r *http.Request, token *jwt.Token)
- func ProxyHandler(w http.ResponseWriter, r *http.Request)
- func SpawnHandler(w http.ResponseWriter, r *http.Request, token *jwt.Token)
- type Info
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Attach ¶ added in v1.3.0
Attach will attach to an already running daemon and forward stdout/err and allow for stdin
func AttachHandler ¶ added in v1.3.0
AttachHandler handles attach requests
func Kill ¶ added in v1.3.0
Kill a container with the given name iff it is owned by the owner of the token
func KillHandler ¶ added in v1.3.0
KillHandler handles kill requests
func List ¶
func List(token *jwt.Token) ([]docker.APIContainers, error)
List the daemons running on this token.
func ListHandler ¶
ListHandler handles list requests
func ProxyHandler ¶ added in v1.4.0
func ProxyHandler(w http.ResponseWriter, r *http.Request)
ProxyHandler proxies requests to daemons
func SpawnHandler ¶
SpawnHandler handles spawn requests
Types ¶
Click to show internal directories.
Click to hide internal directories.