api

package
v0.0.0-...-b7bc9cd Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSsContainer

func AddSsContainer(w http.ResponseWriter, r *http.Request)

AddSsContainer starts a new ss container

func GetDockerStats

func GetDockerStats(ctx *iris.Context)

GetDockerStats get usage infomation of a container

func GetDockerVersion

func GetDockerVersion(w http.ResponseWriter, r *http.Request)

GetDockerVersion queries version of docker on host machine

func GetRoot

func GetRoot(w http.ResponseWriter, r *http.Request)

GetRoot handles GET /

func PauseContainer

func PauseContainer(ctx *iris.Context)

PauseContainer pauses a docker container

func RmContainer

func RmContainer(ctx *iris.Context)

RmContainer deletes an existing docker container

func UnpauseContainer

func UnpauseContainer(ctx *iris.Context)

UnpauseContainer unpauses a docker container

Types

This section is empty.

Jump to

Keyboard shortcuts

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