Documentation
¶
Index ¶
- Variables
- func Action(c *cli.Context) error
- func EndpointComposeProjectList(hc *Context) error
- func EndpointContainerList(hc *Context) error
- func EndpointImageList(hc *Context) error
- func EndpointIndex(c *Context) error
- func MiddlewareDockerClient(dc *client.Client) echo.MiddlewareFunc
- func UseContext(next HandleFunc) echo.HandlerFunc
- type ComposeProject
- type ComposeService
- type ContainerListParams
- type Context
- type Flags
- type HandleFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var CliFlags = []cli.Flag{ cli.BoolFlag{Name: "debug", EnvVar: "DEBUG", Usage: "Enable debug mode"}, cli.StringFlag{Name: "listen", Value: ":9000", EnvVar: "LISTEN", Usage: "Listen address for HTTP access"}, cli.StringFlag{Name: "staticRoot", Value: "web/dist", EnvVar: "STATIC_ROOT", Usage: "Static files root dir"}, }
Functions ¶
func EndpointContainerList ¶
func EndpointImageList ¶
func EndpointIndex ¶
func MiddlewareDockerClient ¶
func MiddlewareDockerClient(dc *client.Client) echo.MiddlewareFunc
func UseContext ¶
func UseContext(next HandleFunc) echo.HandlerFunc
Types ¶
type ComposeProject ¶
type ComposeProject struct { ConfigHash string Name string Version string Services map[string]ComposeService }
type ContainerListParams ¶
func (ContainerListParams) GetOpts ¶
func (p ContainerListParams) GetOpts() types.ContainerListOptions
type Context ¶
func (Context) GetDockerClient ¶
type HandleFunc ¶
Click to show internal directories.
Click to hide internal directories.