namespace

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

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()

Jump to

Keyboard shortcuts

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