Documentation ¶
Index ¶
- func CreateK8sWorkloads(c *gin.Context)
- func CreateOrUpdateBulkHelmServices(c *gin.Context)
- func CreateOrUpdateHelmService(c *gin.Context)
- func CreatePMService(c *gin.Context)
- func CreateServiceTemplate(c *gin.Context)
- func DeleteServiceTemplate(c *gin.Context)
- func FindHarborChartDetail(c *gin.Context)
- func GetFileContent(c *gin.Context)
- func GetFilePath(c *gin.Context)
- func GetHelmServiceModule(c *gin.Context)
- func GetServiceTemplate(c *gin.Context)
- func GetServiceTemplateObjectProductName(c *gin.Context)
- func GetServiceTemplateOption(c *gin.Context)
- func GetServiceTemplateProductName(c *gin.Context)
- func ListAvailablePublicServices(c *gin.Context)
- func ListHarborChartRepos(c *gin.Context)
- func ListHarborChartVersions(c *gin.Context)
- func ListHarborProjects(c *gin.Context)
- func ListHelmServices(c *gin.Context)
- func ListServicePort(c *gin.Context)
- func ListServiceTemplate(c *gin.Context)
- func ListWorkloadTemplate(c *gin.Context)
- func LoadServiceFromYamlTemplate(c *gin.Context)
- func LoadServiceTemplate(c *gin.Context)
- func PreloadServiceTemplate(c *gin.Context)
- func ReloadServiceFromYamlTemplate(c *gin.Context)
- func UpdateHelmService(c *gin.Context)
- func UpdatePmServiceTemplate(c *gin.Context)
- func UpdateServiceTemplate(c *gin.Context)
- func UpdateWorkloads(c *gin.Context)
- func ValidateServiceUpdate(c *gin.Context)
- func YamlValidator(c *gin.Context)
- type K8sWorkloadsArgs
- type LoadServiceFromYamlTemplateReq
- type Router
- type ValidatorResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateK8sWorkloads ¶ added in v1.5.0
func CreateOrUpdateBulkHelmServices ¶ added in v1.6.0
func CreateOrUpdateHelmService ¶ added in v1.5.0
func CreatePMService ¶ added in v1.2.0
func CreateServiceTemplate ¶
func DeleteServiceTemplate ¶
func FindHarborChartDetail ¶ added in v1.2.0
func GetFileContent ¶ added in v1.2.0
func GetFilePath ¶ added in v1.2.0
func GetHelmServiceModule ¶ added in v1.2.0
func GetServiceTemplate ¶
func ListAvailablePublicServices ¶ added in v1.3.1
func ListHarborChartRepos ¶ added in v1.2.0
func ListHarborChartVersions ¶ added in v1.2.0
func ListHarborProjects ¶ added in v1.2.0
func ListHelmServices ¶ added in v1.2.0
func ListServicePort ¶
func ListServiceTemplate ¶
func ListWorkloadTemplate ¶ added in v1.5.0
func LoadServiceFromYamlTemplate ¶ added in v1.6.0
func LoadServiceTemplate ¶
func PreloadServiceTemplate ¶
func ReloadServiceFromYamlTemplate ¶ added in v1.6.0
func UpdateHelmService ¶ added in v1.2.0
func UpdatePmServiceTemplate ¶ added in v1.2.0
func UpdateServiceTemplate ¶
func UpdateWorkloads ¶ added in v1.5.0
func YamlValidator ¶
Types ¶
type K8sWorkloadsArgs ¶ added in v1.5.0
type K8sWorkloadsArgs struct { WorkLoads []commonmodels.Workload `bson:"workLoads" json:"workLoads"` EnvName string `bson:"env_name" json:"env_name"` ClusterID string `bson:"cluster_id" json:"cluster_id"` Namespace string `bson:"namespace" json:"namespace"` ProductName string `bson:"product_name" json:"product_name"` }
type LoadServiceFromYamlTemplateReq ¶ added in v1.6.0
type LoadServiceFromYamlTemplateReq struct { ServiceName string `json:"service_name"` ProjectName string `json:"project_name"` TemplateID string `json:"template_id"` Variables []*svcservice.Variable `json:"variables"` }
type Router ¶
type Router struct{}
func (*Router) Inject ¶
func (*Router) Inject(router *gin.RouterGroup)
type ValidatorResp ¶
type ValidatorResp struct {
Message string `json:"message"`
}
Click to show internal directories.
Click to hide internal directories.