namespace

package
v0.0.0-...-71c9d12 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(c *gin.Context)

@Title Create @Description create the namespace @router /:name/clusters/:cluster [post]

func GetNames

func GetNames(c *gin.Context)

@Title List/ @Description get all id and names @Param deleted query bool false "is deleted,default false." @Success 200 {object} []models.Namespace success @router /names [get]

func Resources

func Resources(c *gin.Context)

@Title Get namespace resource statistics @Description Get namespace resource statistics @Param app query string false "The app Name" @Param nid path string true "The namespace id" @Success 200 return ok success @router /:namespaceid([0-9]+)/resources [get]

func Statistics

func Statistics(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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