feat: add one pull plug and play feature
This commit is contained in:
@ -44,6 +44,7 @@ func NewRouter(h *Handler) http.Handler {
|
||||
r.Get("/agents", h.ListAgents)
|
||||
r.Post("/agents/token", h.CreateAgentToken)
|
||||
r.Patch("/agents/{agentID}", h.UpdateAgent)
|
||||
r.Delete("/agents/{agentID}", h.DeleteAgent)
|
||||
r.Get("/containers", h.ListContainers)
|
||||
r.Post("/agents/{agentID}/containers/{containerID}/action", h.ContainerAction)
|
||||
r.Get("/agents/{agentID}/containers/{containerID}/logs", h.LogsWS)
|
||||
|
||||
Reference in New Issue
Block a user