crd

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeCRDController

type KubeCRDController struct {
	base.APIController
}

func (*KubeCRDController) Create

func (c *KubeCRDController) Create()

@Title Create @Description create CustomResourceDefinition @router / [post]

func (*KubeCRDController) Delete

func (c *KubeCRDController) Delete()

@Title Delete @Description delete the CustomResourceDefinition @Success 200 {string} delete success! @router /:name [delete]

func (*KubeCRDController) Get

func (c *KubeCRDController) Get()

@Title get CRD @Description find CRD by cluster @router /:name [get]

func (*KubeCRDController) List

func (c *KubeCRDController) List()

@Title List CRD @Description find CRD by cluster @router / [get]

func (*KubeCRDController) Prepare

func (c *KubeCRDController) Prepare()

func (*KubeCRDController) URLMapping

func (c *KubeCRDController) URLMapping()

func (*KubeCRDController) Update

func (c *KubeCRDController) Update()

@Title Update @Description update the CustomResourceDefinition @router /:name [put]

type KubeCustomCRDController

type KubeCustomCRDController struct {
	base.APIController
	// contains filtered or unexported fields
}

func (*KubeCustomCRDController) Create

func (c *KubeCustomCRDController) Create()

@Title Create @Description create CustomResourceDefinition @Param namespace path string true "the namespace name" @router / [post]

func (*KubeCustomCRDController) Delete

func (c *KubeCustomCRDController) Delete()

@Title Delete @Description delete the CustomResourceDefinition @Param namespace path string true "the namespace name" @Success 200 {string} delete success! @router /:name [delete]

func (*KubeCustomCRDController) Get

func (c *KubeCustomCRDController) Get()

@Title get CRD @Description find CRD by cluster @Param namespace path string true "the namespace name" @router /:name [get]

func (*KubeCustomCRDController) List

func (c *KubeCustomCRDController) List()

@Title List CRD @Description find CRD by cluster @Param namespace path string true "the namespace name" @router / [get]

func (*KubeCustomCRDController) Prepare

func (c *KubeCustomCRDController) Prepare()

func (*KubeCustomCRDController) URLMapping

func (c *KubeCustomCRDController) URLMapping()

func (*KubeCustomCRDController) Update

func (c *KubeCustomCRDController) Update()

@Title Update @Description update the CustomResourceDefinition @Param namespace path string true "the namespace name" @router /:name [put]

Jump to

Keyboard shortcuts

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