(c echo.Context)
| 30 | } |
| 31 | |
| 32 | func (h *AppConfigHandler) Reload(c echo.Context) error { |
| 33 | h.container.Cache().InvalidateAll() |
| 34 | h.container.Config().ReloadConfig() |
| 35 | return c.Redirect(http.StatusTemporaryRedirect, "/") |
| 36 | } |
| 37 | |
| 38 | func (h *AppConfigHandler) Post(c echo.Context) error { |
| 39 | kubeconfig := c.FormValue("file") |
nothing calls this directly
no test coverage detected