feat(edge): implement automatic edge environment creation EE-2848 (#6754)

This commit is contained in:
andres-portainer
2022-04-13 10:08:26 -03:00
committed by GitHub
parent b08e0b0235
commit 3178787bc1
2 changed files with 41 additions and 0 deletions

View File

@@ -69,6 +69,8 @@ func NewHandler(bouncer *security.RequestBouncer) *Handler {
h.Handle("/endpoints/{id}/registries/{registryId}",
bouncer.AuthenticatedAccess(httperror.LoggerHandler(h.endpointRegistryAccess))).Methods(http.MethodPut)
h.Handle("/endpoints/global-key", httperror.LoggerHandler(h.endpointCreateGlobalKey)).Methods(http.MethodPost)
// DEPRECATED
h.Handle("/endpoints/{id}/status", httperror.LoggerHandler(h.endpointStatusInspect)).Methods(http.MethodGet)