middleware

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDockerClient

func GetDockerClient(c echo.Context) (docker.Client, error)

GetDockerClient fetches Docker client from request context

func GetImageWhitelist

func GetImageWhitelist(c echo.Context) ([]string, error)

GetImageWhitelist fetches Docker client from request context

func SetDockerClient

func SetDockerClient(client docker.Client) echo.MiddlewareFunc

SetDockerClients sets the given Docker client to request context

func SetImageWhitelist

func SetImageWhitelist(imageWhitelist []string) echo.MiddlewareFunc

SetImageWhitelist sets the given Docker client to request context

Types

This section is empty.

Jump to

Keyboard shortcuts

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