configmap

package
v1.3.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeConfigMapController

type KubeConfigMapController struct {
	base.APIController
}

func (*KubeConfigMapController) Deploy

func (c *KubeConfigMapController) Deploy()

@Title deploy @Description deploy tpl @Param body body string true "The tpl content" @Success 200 return ok success @router /:configMapId/tpls/:tplId/clusters/:cluster [post]

func (*KubeConfigMapController) Get

func (c *KubeConfigMapController) Get()

@Title Get @Description find ConfigMap by cluster @Success 200 {object} models.ConfigMap success @router /:configmap/namespaces/:namespace/clusters/:cluster [get]

func (*KubeConfigMapController) Offline

func (c *KubeConfigMapController) Offline()

@Title Delete @Description delete the ConfigMap @Param cluster path string true "the cluster want to delete" @Param namespace path string true "the namespace want to delete" @Param configmap path string true "the configmap name want to delete" @Success 200 {string} delete success! @router /:configmap/namespaces/:namespace/clusters/:cluster [delete]

func (*KubeConfigMapController) Prepare

func (c *KubeConfigMapController) Prepare()

func (*KubeConfigMapController) URLMapping

func (c *KubeConfigMapController) URLMapping()

Jump to

Keyboard shortcuts

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