add docker containers list to set rules

This commit is contained in:
Borys Anikiyenko
2024-06-15 17:19:19 +03:00
parent fc88dfe72e
commit 443cd961d2
4 changed files with 199 additions and 1 deletions

View File

@@ -222,6 +222,8 @@ func initAPIs() {
authRouter.HandleFunc("/api/info/pprof", pprof.Index)
//If you got APIs to add, append them here
// get available docker containers
authRouter.HandleFunc("/api/docker/containers", handleDockerContainersList)
}
// Function to renders Auth related APIs