Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeNamespaceController ¶
type KubeNamespaceController struct {
base.APIController
}
func (*KubeNamespaceController) Create ¶ added in v1.2.0
func (c *KubeNamespaceController) Create()
@Title Create @Description create the namespace @router /:name/clusters/:cluster [post]
func (*KubeNamespaceController) Prepare ¶
func (c *KubeNamespaceController) Prepare()
func (*KubeNamespaceController) Resources ¶
func (c *KubeNamespaceController) Resources()
@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 (*KubeNamespaceController) Statistics ¶
func (c *KubeNamespaceController) Statistics()
@Title Get namespace resource statistics 2.0 @Description Get namespace resource statistics for report @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]+)/statistics [get]
func (*KubeNamespaceController) URLMapping ¶
func (c *KubeNamespaceController) URLMapping()
Click to show internal directories.
Click to hide internal directories.