handler

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoCreateProduct

func AutoCreateProduct(c *gin.Context)

func AutoUpdateProduct

func AutoUpdateProduct(c *gin.Context)

func CleanProductCronJob

func CleanProductCronJob(c *gin.Context)

func CreateProduct

func CreateProduct(c *gin.Context)

func DeletePod

func DeletePod(c *gin.Context)

func DeleteProduct

func DeleteProduct(c *gin.Context)

func EnvShare added in v1.2.0

func EnvShare(c *gin.Context)

func ExportYaml

func ExportYaml(c *gin.Context)

func GetHelmChartVersions added in v1.2.0

func GetHelmChartVersions(c *gin.Context)

func GetInitProduct

func GetInitProduct(c *gin.Context)

func GetProduct

func GetProduct(c *gin.Context)

func GetProductInfo

func GetProductInfo(c *gin.Context)

func GetProductIngress

func GetProductIngress(c *gin.Context)

func GetService

func GetService(c *gin.Context)

func GetServiceContainer

func GetServiceContainer(c *gin.Context)

func ListAvailableNamespaces

func ListAvailableNamespaces(c *gin.Context)

func ListConfigMaps

func ListConfigMaps(c *gin.Context)

func ListGroups

func ListGroups(c *gin.Context)

func ListGroupsBySource

func ListGroupsBySource(c *gin.Context)

func ListKubeEvents

func ListKubeEvents(c *gin.Context)

func ListPodEvents

func ListPodEvents(c *gin.Context)

func ListProducts

func ListProducts(c *gin.Context)

ListProducts list all product information

func ListProductsRevision

func ListProductsRevision(c *gin.Context)

func ListProductsSSE

func ListProductsSSE(c *gin.Context)

func ListRenderCharts

func ListRenderCharts(c *gin.Context)

func ListServicePods

func ListServicePods(c *gin.Context)

func RestartNewService

func RestartNewService(c *gin.Context)

func RestartService

func RestartService(c *gin.Context)

func RollBackConfigMap

func RollBackConfigMap(c *gin.Context)

func ScaleNewService

func ScaleNewService(c *gin.Context)

func ScaleService

func ScaleService(c *gin.Context)

func ServiceDiff

func ServiceDiff(c *gin.Context)

func UpdateConfigMap

func UpdateConfigMap(c *gin.Context)

func UpdateDeploymentContainerImage

func UpdateDeploymentContainerImage(c *gin.Context)

func UpdateHelmProduct added in v1.2.0

func UpdateHelmProduct(c *gin.Context)

func UpdateHelmProductVariable added in v1.2.0

func UpdateHelmProductVariable(c *gin.Context)

func UpdateMultiHelmProduct added in v1.2.0

func UpdateMultiHelmProduct(c *gin.Context)

func UpdateProduct

func UpdateProduct(c *gin.Context)

func UpdateProductRecycleDay added in v1.2.0

func UpdateProductRecycleDay(c *gin.Context)

func UpdateService

func UpdateService(c *gin.Context)

func UpdateStatefulSetContainerImage

func UpdateStatefulSetContainerImage(c *gin.Context)

Types

type ChartInfoArgs

type ChartInfoArgs struct {
	ChartInfos []*template.RenderChart `json:"chart_infos"`
}

type ListServicePodsArgs

type ListServicePodsArgs struct {
	ProductName string `json:"product_name"`
	EnvName     string `json:"env_name"`
	// contains filtered or unexported fields
}

type NamespaceResource

type NamespaceResource struct {
	Services  []*commonservice.ServiceResp `json:"services"`
	Ingresses []resource.Ingress           `json:"ingresses"`
}

type Router

type Router struct{}

func (*Router) Inject

func (*Router) Inject(router *gin.RouterGroup)

type UpdateEnvs

type UpdateEnvs struct {
	EnvNames   []string `json:"env_names"`
	UpdateType string   `json:"update_type"`
}

Jump to

Keyboard shortcuts

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