Documentation ¶
Index ¶
- type KubeCRDController
- type KubeCustomCRDController
- func (c *KubeCustomCRDController) Create()
- func (c *KubeCustomCRDController) Delete()
- func (c *KubeCustomCRDController) Get()
- func (c *KubeCustomCRDController) List()
- func (c *KubeCustomCRDController) Prepare()
- func (c *KubeCustomCRDController) URLMapping()
- func (c *KubeCustomCRDController) Update()
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]