statefulset

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeStatefulsetController

type KubeStatefulsetController struct {
	base.APIController
}

func (*KubeStatefulsetController) Deploy

func (c *KubeStatefulsetController) Deploy()

@Title deploy @Description deploy tpl @Param body body string true "The tpl content" @Success 200 return ok success @router /:statefulsetId([0-9]+)/tpls/:tplId([0-9]+)/clusters/:cluster [post]

func (*KubeStatefulsetController) Get

func (c *KubeStatefulsetController) Get()

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

func (*KubeStatefulsetController) Offline

func (c *KubeStatefulsetController) Offline()

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

func (*KubeStatefulsetController) Prepare

func (c *KubeStatefulsetController) Prepare()

func (*KubeStatefulsetController) URLMapping

func (c *KubeStatefulsetController) URLMapping()

Jump to

Keyboard shortcuts

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