Documentation ¶
Index ¶
- func CreateBuild(username string, build *commonmodels.Build, log *zap.SugaredLogger) error
- func DeleteBuild(name, productName string, log *zap.SugaredLogger) error
- func FindBuild(name, productName string, log *zap.SugaredLogger) (*commonmodels.Build, error)
- func ListBuildForProduct(productName string, containerList []*commonmodels.ServiceModuleTarget, ...) ([]*buildPreviewResp, error)
- func ListContainers(productName string, log *zap.SugaredLogger) ([]*commonmodels.ServiceModuleTarget, error)
- func ListDeployTarget(productName string, log *zap.SugaredLogger) ([]*commonmodels.ServiceModuleTarget, error)
- func UpdateBuild(username string, build *commonmodels.Build, log *zap.SugaredLogger) error
- func UpdateBuildTargets(name, productName string, targets []*commonmodels.ServiceModuleTarget, ...) error
- type BuildResp
- type ServiceModuleAndBuildResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBuild ¶
func CreateBuild(username string, build *commonmodels.Build, log *zap.SugaredLogger) error
func DeleteBuild ¶
func DeleteBuild(name, productName string, log *zap.SugaredLogger) error
func FindBuild ¶
func FindBuild(name, productName string, log *zap.SugaredLogger) (*commonmodels.Build, error)
func ListBuildForProduct ¶
func ListBuildForProduct(productName string, containerList []*commonmodels.ServiceModuleTarget, log *zap.SugaredLogger) ([]*buildPreviewResp, error)
func ListContainers ¶
func ListContainers(productName string, log *zap.SugaredLogger) ([]*commonmodels.ServiceModuleTarget, error)
func ListDeployTarget ¶
func ListDeployTarget(productName string, log *zap.SugaredLogger) ([]*commonmodels.ServiceModuleTarget, error)
func UpdateBuild ¶
func UpdateBuild(username string, build *commonmodels.Build, log *zap.SugaredLogger) error
func UpdateBuildTargets ¶
func UpdateBuildTargets(name, productName string, targets []*commonmodels.ServiceModuleTarget, log *zap.SugaredLogger) error
Types ¶
type BuildResp ¶
type BuildResp struct { ID string `json:"id"` Name string `json:"name"` Targets []*commonmodels.ServiceModuleTarget `json:"targets"` KeyVals []*commonmodels.KeyVal `json:"key_vals"` UpdateTime int64 `json:"update_time"` UpdateBy string `json:"update_by"` Pipelines []string `json:"pipelines"` ProductName string `json:"productName"` }
type ServiceModuleAndBuildResp ¶ added in v1.9.9
type ServiceModuleAndBuildResp struct { ServiceName string `json:"service_name"` ServiceModule string `json:"service_module"` ModuleBuilds []*BuildResp `json:"module_builds"` }
func ListBuildModulesByServiceModule ¶ added in v1.9.9
func ListBuildModulesByServiceModule(productName string, excludeJenkins bool, log *zap.SugaredLogger) ([]*ServiceModuleAndBuildResp, error)
Click to show internal directories.
Click to hide internal directories.