Documentation
¶
Index ¶
- func AutoCreateProduct(c *gin.Context)
- func AutoUpdateProduct(c *gin.Context)
- func CleanProductCronJob(c *gin.Context)
- func CreateHelmProduct(c *gin.Context)
- func CreateOrUpdateRenderChart(c *gin.Context)
- func CreateProduct(c *gin.Context)
- func DeletePod(c *gin.Context)
- func DeleteProduct(c *gin.Context)
- func EnvShare(c *gin.Context)
- func ExportYaml(c *gin.Context)
- func GetEstimatedRenderCharts(c *gin.Context)
- func GetHelmChartVersions(c *gin.Context)
- func GetInitProduct(c *gin.Context)
- func GetProduct(c *gin.Context)
- func GetProductInfo(c *gin.Context)
- func GetProductIngress(c *gin.Context)
- func GetService(c *gin.Context)
- func GetServiceContainer(c *gin.Context)
- func GetServiceRenderCharts(c *gin.Context)
- func ListAvailableNamespaces(c *gin.Context)
- func ListConfigMaps(c *gin.Context)
- func ListGroups(c *gin.Context)
- func ListKubeEvents(c *gin.Context)
- func ListPodEvents(c *gin.Context)
- func ListProducts(c *gin.Context)
- func ListProductsRevision(c *gin.Context)
- func ListRenderCharts(c *gin.Context)
- func ListServicePods(c *gin.Context)
- func ListWorkloads(c *gin.Context)
- func ListWorkloadsInEnv(c *gin.Context)
- func RestartNewService(c *gin.Context)
- func RestartService(c *gin.Context)
- func RollBackConfigMap(c *gin.Context)
- func ScaleNewService(c *gin.Context)
- func ScaleService(c *gin.Context)
- func ServiceDiff(c *gin.Context)
- func UpdateConfigMap(c *gin.Context)
- func UpdateDeploymentContainerImage(c *gin.Context)
- func UpdateHelmProduct(c *gin.Context)
- func UpdateHelmProductRenderCharts(c *gin.Context)
- func UpdateHelmProductVariable(c *gin.Context)
- func UpdateMultiHelmEnv(c *gin.Context)
- func UpdateMultiHelmProduct(c *gin.Context)
- func UpdateProduct(c *gin.Context)
- func UpdateProductRecycleDay(c *gin.Context)
- func UpdateService(c *gin.Context)
- func UpdateStatefulSetContainerImage(c *gin.Context)
- type ChartInfoArgs
- type ListServicePodsArgs
- type ListWorkloadsArgs
- type NamespaceResource
- type Router
- type UpdateEnvs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoCreateProduct ¶
func AutoUpdateProduct ¶
func CleanProductCronJob ¶
func CreateHelmProduct ¶ added in v1.5.0
func CreateOrUpdateRenderChart ¶ added in v1.5.0
func CreateProduct ¶
func DeleteProduct ¶
func ExportYaml ¶
func GetEstimatedRenderCharts ¶ added in v1.5.0
func GetHelmChartVersions ¶ added in v1.2.0
func GetInitProduct ¶
func GetProduct ¶
func GetProductInfo ¶
func GetProductIngress ¶
func GetService ¶
func GetServiceContainer ¶
func GetServiceRenderCharts ¶ added in v1.5.0
func ListAvailableNamespaces ¶
func ListConfigMaps ¶
func ListGroups ¶
func ListKubeEvents ¶
func ListPodEvents ¶
func ListProducts ¶
ListProducts list all product information Args: projectName, which is formerly known as productName, is the primary key of the project in our system
func ListProductsRevision ¶
func ListRenderCharts ¶
func ListServicePods ¶
func ListWorkloads ¶ added in v1.5.0
func ListWorkloadsInEnv ¶ added in v1.5.0
func RestartNewService ¶
func RestartService ¶
func RollBackConfigMap ¶
func ScaleNewService ¶
func ScaleService ¶
func ServiceDiff ¶
func UpdateConfigMap ¶
func UpdateHelmProduct ¶ added in v1.2.0
func UpdateHelmProductRenderCharts ¶ added in v1.5.0
func UpdateHelmProductVariable ¶ added in v1.2.0
func UpdateMultiHelmEnv ¶ added in v1.5.0
func UpdateMultiHelmProduct ¶ added in v1.2.0
func UpdateProduct ¶
func UpdateProductRecycleDay ¶ added in v1.2.0
func UpdateService ¶
Types ¶
type ChartInfoArgs ¶
type ChartInfoArgs struct {
ChartInfos []*template.RenderChart `json:"chart_infos"`
}
type ListServicePodsArgs ¶
type ListWorkloadsArgs ¶ added in v1.5.0
type ListWorkloadsArgs struct { Namespace string `json:"namespace" form:"namespace"` ClusterID string `json:"clusterId" form:"clusterId"` WorkloadName string `json:"workloadName" form:"workloadName"` PerPage int `json:"perPage" form:"perPage,default:20"` Page int `json:"page" form:"page,default:1"` }
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 ¶
Click to show internal directories.
Click to hide internal directories.