Documentation ¶
Index ¶
- Variables
- func ContainerMetadataHandler(state dockerstate.TaskEngineState) func(http.ResponseWriter, *http.Request)
- func ContainerStatsHandler(state dockerstate.TaskEngineState, statsEngine stats.Engine) func(http.ResponseWriter, *http.Request)
- func TaskMetadataHandler(state dockerstate.TaskEngineState, cluster string) func(http.ResponseWriter, *http.Request)
- func TaskStatsHandler(state dockerstate.TaskEngineState, statsEngine stats.Engine) func(http.ResponseWriter, *http.Request)
Constants ¶
This section is empty.
Variables ¶
var ContainerMetadataPath = "/v3/" + utils.ConstructMuxVar(v3EndpointIDMuxName, utils.AnythingButSlashRegEx)
ContainerMetadataPath specifies the relative URI path for serving container metadata.
var ContainerStatsPath = "/v3/" + utils.ConstructMuxVar(v3EndpointIDMuxName, utils.AnythingButSlashRegEx) + "/stats"
ContainerStatsPath specifies the relative URI path for serving container stats.
var TaskMetadataPath = "/v3/" + utils.ConstructMuxVar(v3EndpointIDMuxName, utils.AnythingButSlashRegEx) + "/task"
TaskMetadataPath specifies the relative URI path for serving task metadata.
var TaskStatsPath = "/v3/" + utils.ConstructMuxVar(v3EndpointIDMuxName, utils.AnythingButSlashRegEx) + "/task/stats"
TaskStatsPath specifies the relative URI path for serving task stats.
Functions ¶
func ContainerMetadataHandler ¶
func ContainerMetadataHandler(state dockerstate.TaskEngineState) func(http.ResponseWriter, *http.Request)
ContainerMetadataHandler returns the handler method for handling container metadata requests.
func ContainerStatsHandler ¶
func ContainerStatsHandler(state dockerstate.TaskEngineState, statsEngine stats.Engine) func(http.ResponseWriter, *http.Request)
ContainerStatsHandler returns the handler method for handling container stats requests.
func TaskMetadataHandler ¶
func TaskMetadataHandler(state dockerstate.TaskEngineState, cluster string) func(http.ResponseWriter, *http.Request)
TaskMetadataHandler returns the handler method for handling task metadata requests.
func TaskStatsHandler ¶
func TaskStatsHandler(state dockerstate.TaskEngineState, statsEngine stats.Engine) func(http.ResponseWriter, *http.Request)
TaskStatsHandler returns the handler method for handling task stats requests.
Types ¶
This section is empty.