2018-07-02 08:54:44 +02:00
|
|
|
package v1
|
|
|
|
|
|
|
|
import (
|
2018-07-02 09:09:32 +02:00
|
|
|
"github.com/labstack/echo"
|
2018-07-02 08:54:44 +02:00
|
|
|
"net/http"
|
|
|
|
)
|
|
|
|
|
2018-07-10 14:02:23 +02:00
|
|
|
// GetAllNamespacesByCurrentUser ...
|
2018-07-02 08:54:44 +02:00
|
|
|
func GetAllNamespacesByCurrentUser(c echo.Context) error {
|
|
|
|
// swagger:operation GET /namespaces namespaces getNamespaces
|
|
|
|
// ---
|
|
|
|
// summary: Get all namespaces the currently logged in user has at least read access
|
|
|
|
// consumes:
|
|
|
|
// - application/json
|
|
|
|
// produces:
|
|
|
|
// - application/json
|
|
|
|
// responses:
|
|
|
|
// "200":
|
|
|
|
// "$ref": "#/responses/Namespace"
|
|
|
|
// "500":
|
|
|
|
// "$ref": "#/responses/Message"
|
|
|
|
|
2018-07-11 13:00:00 +02:00
|
|
|
return echo.NewHTTPError(http.StatusNotImplemented)
|
2018-07-02 09:09:32 +02:00
|
|
|
}
|