namespace

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 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) Get added in v1.2.0

func (c *KubeNamespaceController) Get()

@Title Get namespace info @Description get one namespace detail @Param cluster path string true "the cluster name" @Param namespace path string true "the namespace name" @Success 200 {object} common.Page success @router /:name/clusters/:cluster [get]

func (*KubeNamespaceController) GetNames added in v1.3.0

func (c *KubeNamespaceController) GetNames()

@Title List all namespace name @Description get all namespace name @Param cluster path string true "the cluster name" @router /clusters/:cluster/names [get]

func (*KubeNamespaceController) List added in v1.2.0

func (c *KubeNamespaceController) List()

@Title List namespace @Description get all namespace by page @Param cluster path string true "the cluster name" @Success 200 {object} common.Page success @router /clusters/:cluster [get]

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 /:id([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 /:id([0-9]+)/statistics [get]

func (*KubeNamespaceController) URLMapping

func (c *KubeNamespaceController) URLMapping()

func (*KubeNamespaceController) Update added in v1.2.0

func (c *KubeNamespaceController) Update()

@Title Update @Description update the Namespace @router /:name/clusters/:cluster [put]

Jump to

Keyboard shortcuts

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