Documentation
¶
Index ¶
- func Containers(w http.ResponseWriter, r *http.Request)
- func DockerInfo(w http.ResponseWriter, r *http.Request)
- func GetDockerInfo(ctx context.Context, dockerClients DockerClients) ([]dockerInfo, gperr.Error)
- func Logs(w http.ResponseWriter, r *http.Request)
- type Container
- type DockerClients
- type ResultType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Containers ¶
func Containers(w http.ResponseWriter, r *http.Request)
func DockerInfo ¶
func DockerInfo(w http.ResponseWriter, r *http.Request)
func GetDockerInfo ¶
func GetDockerInfo(ctx context.Context, dockerClients DockerClients) ([]dockerInfo, gperr.Error)
Types ¶
type Container ¶
type Container struct { Server string `json:"server"` Name string `json:"name"` ID string `json:"id"` Image string `json:"image"` State string `json:"state"` }
func GetContainers ¶
type DockerClients ¶
type DockerClients map[string]*docker.SharedClient
type ResultType ¶
Click to show internal directories.
Click to hide internal directories.