service

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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