secret

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 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 KubeSecretController

type KubeSecretController struct {
	base.APIController
}

func (*KubeSecretController) Deploy

func (c *KubeSecretController) Deploy()

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

func (*KubeSecretController) Get

func (c *KubeSecretController) Get()

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

func (*KubeSecretController) Offline

func (c *KubeSecretController) Offline()

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

func (*KubeSecretController) Prepare

func (c *KubeSecretController) Prepare()

func (*KubeSecretController) URLMapping

func (c *KubeSecretController) URLMapping()

Jump to

Keyboard shortcuts

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