Documentation ¶
Index ¶
- func FindDeliveryProduct(orgID int, log *zap.SugaredLogger) ([]string, error)
- func InsertDeliveryActivities(args *commonmodels.DeliveryActivity, deliveryArtifactID string, ...) error
- func InsertDeliveryArtifact(args *DeliveryArtifactInfo, log *zap.SugaredLogger) (string, error)
- func UpdateDeliveryArtifact(args *commonrepo.DeliveryArtifactArgs, log *zap.SugaredLogger) error
- type DeliveryArtifactInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindDeliveryProduct ¶
func FindDeliveryProduct(orgID int, log *zap.SugaredLogger) ([]string, error)
func InsertDeliveryActivities ¶
func InsertDeliveryActivities(args *commonmodels.DeliveryActivity, deliveryArtifactID string, log *zap.SugaredLogger) error
func InsertDeliveryArtifact ¶
func InsertDeliveryArtifact(args *DeliveryArtifactInfo, log *zap.SugaredLogger) (string, error)
func UpdateDeliveryArtifact ¶
func UpdateDeliveryArtifact(args *commonrepo.DeliveryArtifactArgs, log *zap.SugaredLogger) error
Types ¶
type DeliveryArtifactInfo ¶
type DeliveryArtifactInfo struct { *commonmodels.DeliveryArtifact DeliveryActivities []*commonmodels.DeliveryActivity `json:"activities"` DeliveryActivitiesMap map[string][]*commonmodels.DeliveryActivity `json:"sortedActivities,omitempty"` }
func GetDeliveryArtifact ¶
func GetDeliveryArtifact(deliveryArtifactArgs *commonrepo.DeliveryArtifactArgs, log *zap.SugaredLogger) (*DeliveryArtifactInfo, error)
func ListDeliveryArtifacts ¶
func ListDeliveryArtifacts(deliveryArtifactArgs *commonrepo.DeliveryArtifactArgs, log *zap.SugaredLogger) ([]*DeliveryArtifactInfo, int, error)
Click to show internal directories.
Click to hide internal directories.