feat: add proxy and statistics features
This commit is contained in:
@ -63,6 +63,8 @@ func NewRouter(h *Handler) http.Handler {
|
||||
r.Get("/agents/{agentID}/containers/{containerID}/auto-update", h.GetAutoUpdatePolicy)
|
||||
r.Put("/agents/{agentID}/containers/{containerID}/auto-update", h.PutAutoUpdatePolicy)
|
||||
r.Post("/agents/{agentID}/containers/{containerID}/update-now", h.UpdateNow)
|
||||
r.Get("/stats", h.ListStats)
|
||||
r.Get("/agents/{agentID}/stats", h.GetAgentStats)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user