handler

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateK8sWorkloads added in v1.5.0

func CreateK8sWorkloads(c *gin.Context)

func CreateOrUpdateHelmService added in v1.5.0

func CreateOrUpdateHelmService(c *gin.Context)

func CreatePMService added in v1.2.0

func CreatePMService(c *gin.Context)

func CreateServiceTemplate

func CreateServiceTemplate(c *gin.Context)

func DeleteServiceTemplate

func DeleteServiceTemplate(c *gin.Context)

func FindHarborChartDetail added in v1.2.0

func FindHarborChartDetail(c *gin.Context)

func GetFileContent added in v1.2.0

func GetFileContent(c *gin.Context)

func GetFilePath added in v1.2.0

func GetFilePath(c *gin.Context)

func GetHelmServiceModule added in v1.2.0

func GetHelmServiceModule(c *gin.Context)

func GetServiceTemplate

func GetServiceTemplate(c *gin.Context)

func GetServiceTemplateObjectProductName

func GetServiceTemplateObjectProductName(c *gin.Context)

func GetServiceTemplateOption

func GetServiceTemplateOption(c *gin.Context)

func GetServiceTemplateProductName

func GetServiceTemplateProductName(c *gin.Context)

func ListAvailablePublicServices added in v1.3.1

func ListAvailablePublicServices(c *gin.Context)

func ListHarborChartRepos added in v1.2.0

func ListHarborChartRepos(c *gin.Context)

func ListHarborChartVersions added in v1.2.0

func ListHarborChartVersions(c *gin.Context)

func ListHarborProjects added in v1.2.0

func ListHarborProjects(c *gin.Context)

func ListHelmServices added in v1.2.0

func ListHelmServices(c *gin.Context)

func ListServicePort

func ListServicePort(c *gin.Context)

func ListServiceTemplate

func ListServiceTemplate(c *gin.Context)

func ListWorkloadTemplate added in v1.5.0

func ListWorkloadTemplate(c *gin.Context)

func LoadServiceTemplate

func LoadServiceTemplate(c *gin.Context)

func PreloadServiceTemplate

func PreloadServiceTemplate(c *gin.Context)

func UpdateHelmService added in v1.2.0

func UpdateHelmService(c *gin.Context)

func UpdatePmServiceTemplate added in v1.2.0

func UpdatePmServiceTemplate(c *gin.Context)

func UpdateServiceTemplate

func UpdateServiceTemplate(c *gin.Context)

func UpdateWorkloads added in v1.5.0

func UpdateWorkloads(c *gin.Context)

func ValidateServiceUpdate

func ValidateServiceUpdate(c *gin.Context)

ValidateServiceUpdate ...

func YamlValidator

func YamlValidator(c *gin.Context)

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 Router

type Router struct{}

func (*Router) Inject

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

type ValidatorResp

type ValidatorResp struct {
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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