MCPcopy
hub / github.com/kubewall/kubewall / Reload

Method Reload

backend/handlers/app/config.go:32–36  ·  view source on GitHub ↗
(c echo.Context)

Source from the content-addressed store, hash-verified

30}
31
32func (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
38func (h *AppConfigHandler) Post(c echo.Context) error {
39 kubeconfig := c.FormValue("file")

Callers

nothing calls this directly

Calls 3

ReloadConfigMethod · 0.80
CacheMethod · 0.65
ConfigMethod · 0.65

Tested by

no test coverage detected