Documentation ¶
Index ¶
- Variables
- type ApiController
- func (c ApiController) DeleteRegistryHandler(w http.ResponseWriter, r *http.Request)
- func (c ApiController) GetRegistriesHandler(w http.ResponseWriter, r *http.Request)
- func (c ApiController) GetRegistryRepositoriesHandler(w http.ResponseWriter, r *http.Request)
- func (c ApiController) Mount(r *server.Router)
- func (c ApiController) PostRegistryHandler(w http.ResponseWriter, r *http.Request)
- func (c ApiController) PutRegistryHandler(w http.ResponseWriter, r *http.Request)
- type DockerController
- type UiController
- type WsController
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PONG = []byte(`{"type":"pong"}`) PING = []byte(`{"type":"ping"}`) )
Functions ¶
This section is empty.
Types ¶
type ApiController ¶
type ApiController struct { }
func NewApiController ¶
func NewApiController() (*ApiController, error)
func (ApiController) DeleteRegistryHandler ¶
func (c ApiController) DeleteRegistryHandler(w http.ResponseWriter, r *http.Request)
DeleteRegistryHandler /api/registries/{id:[0-9]+}
func (ApiController) GetRegistriesHandler ¶
func (c ApiController) GetRegistriesHandler(w http.ResponseWriter, r *http.Request)
GetRegistriesHandler /api/registries
func (ApiController) GetRegistryRepositoriesHandler ¶
func (c ApiController) GetRegistryRepositoriesHandler(w http.ResponseWriter, r *http.Request)
GetRegistryRepositoriesHandler /api/registries/{id:[0-9]+}/repositories
func (ApiController) Mount ¶
func (c ApiController) Mount(r *server.Router)
func (ApiController) PostRegistryHandler ¶
func (c ApiController) PostRegistryHandler(w http.ResponseWriter, r *http.Request)
PostRegistryHandler /api/registries
func (ApiController) PutRegistryHandler ¶
func (c ApiController) PutRegistryHandler(w http.ResponseWriter, r *http.Request)
PutRegistryHandler /api/registries/{id:[0-9]+}
type DockerController ¶
type DockerController struct {
// contains filtered or unexported fields
}
func NewDockerController ¶
func NewDockerController(host string) (*DockerController, error)
func (DockerController) Mount ¶
func (c DockerController) Mount(r *server.Router)
type UiController ¶
type UiController struct { }
func NewUiController ¶
func NewUiController() (*UiController, error)
func (UiController) Mount ¶
func (c UiController) Mount(r *server.Router)
func (UiController) StaticFile ¶
func (c UiController) StaticFile(w http.ResponseWriter, r *http.Request)
type WsController ¶
type WsController struct { }
func NewWsController ¶
func NewWsController() (*WsController, error)
func (WsController) ContainerLogHandler ¶
func (c WsController) ContainerLogHandler(w http.ResponseWriter, r *http.Request)
ServiceLogHandler /ws/containers/{id}/logs
func (WsController) EventHandler ¶
func (c WsController) EventHandler(w http.ResponseWriter, r *http.Request)
EventHandler /ws/events
func (WsController) Mount ¶
func (c WsController) Mount(r *server.Router)
func (WsController) ServiceLogHandler ¶
func (c WsController) ServiceLogHandler(w http.ResponseWriter, r *http.Request)
ServiceLogHandler /ws/services/{name}/logs
Click to show internal directories.
Click to hide internal directories.