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
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"` UpdateTime int64 `json:"update_time"` UpdateBy string `json:"update_by"` Pipelines []string `json:"pipelines"` ProductName string `json:"productName"` }
Click to show internal directories.
Click to hide internal directories.