Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HealthCheck ¶
func HealthCheck(res http.ResponseWriter)
func PullImage ¶
func PullImage( tctx middleware.TimeoutContext, adapter *adapters.DockerAdapter, logger zerolog.Logger, app applications.Application, ) (int, string)
func RestartContainer ¶
func RestartContainer( tctx middleware.TimeoutContext, adapter *adapters.DockerAdapter, logger zerolog.Logger, app applications.Application, ) (int, string)
Types ¶
type HTTPHandler ¶
type HTTPHandler struct {
*martini.ClassicMartini
}
func NewHTTPHandler ¶
func NewHTTPHandler() *HTTPHandler
func (*HTTPHandler) RegisterHealthCheck ¶
func (h *HTTPHandler) RegisterHealthCheck()
func (*HTTPHandler) RegisterPull ¶
func (h *HTTPHandler) RegisterPull()
func (*HTTPHandler) RegisterRestart ¶
func (h *HTTPHandler) RegisterRestart()
Click to show internal directories.
Click to hide internal directories.