router

package
v0.0.0-...-af453be Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateApp

func CreateApp(c echo.Context) error

func CreateCluster

func CreateCluster(c echo.Context) error

func DeleteApp

func DeleteApp(c echo.Context) error

func DeleteCluster

func DeleteCluster(c echo.Context) error

func DeletePackage

func DeletePackage(c echo.Context) error

func DisableMcas

func DisableMcas(c echo.Context) error

func EnableMcas

func EnableMcas(c echo.Context) error

func GetApp

func GetApp(c echo.Context) error

func GetCluster

func GetCluster(c echo.Context) error

func GetMcas

func GetMcas(c echo.Context) error

func GetPackage

func GetPackage(c echo.Context) error

func GetPackageAllVersions

func GetPackageAllVersions(c echo.Context) error

func Health

func Health(c echo.Context) error

Health Method @Tags Default @Summary Health Check @Description for health check @ID Health @Accept json @Produce json @Success 200 {string} string "ok" @Router /health [get]

func ListApp

func ListApp(c echo.Context) error

func ListCluster

func ListCluster(c echo.Context) error

func ListPackage

func ListPackage(c echo.Context) error

func Send

func Send(c echo.Context, httpCode int, json interface{}) error

func SendMessage

func SendMessage(c echo.Context, httpCode int, msg string) error

func UploadPackage

func UploadPackage(c echo.Context) error

func Validate

func Validate(c echo.Context, params []string) error

Types

type Status

type Status struct {
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL