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: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDeliveryActivities

func CreateDeliveryActivities(c *gin.Context)

func CreateDeliveryArtifacts

func CreateDeliveryArtifacts(c *gin.Context)

func CreateDeliverySecurity added in v1.2.0

func CreateDeliverySecurity(c *gin.Context)

func DeleteDeliveryVersion added in v1.2.0

func DeleteDeliveryVersion(c *gin.Context)

func GetDeliveryArtifact

func GetDeliveryArtifact(c *gin.Context)

func GetDeliveryVersion added in v1.2.0

func GetDeliveryVersion(c *gin.Context)

func GetProductByDeliveryInfo added in v1.2.0

func GetProductByDeliveryInfo(c *gin.Context)

func GetProductNameByDelivery added in v1.2.0

func GetProductNameByDelivery(c *gin.Context)

func ListDeliveryArtifacts

func ListDeliveryArtifacts(c *gin.Context)

func ListDeliveryProduct

func ListDeliveryProduct(c *gin.Context)

func ListDeliverySecurity added in v1.2.0

func ListDeliverySecurity(c *gin.Context)

func ListDeliverySecurityStatistics added in v1.2.0

func ListDeliverySecurityStatistics(c *gin.Context)

func ListDeliveryServiceNames added in v1.2.0

func ListDeliveryServiceNames(c *gin.Context)

func ListDeliveryVersion added in v1.2.0

func ListDeliveryVersion(c *gin.Context)

func ListPackagesVersion added in v1.2.0

func ListPackagesVersion(c *gin.Context)

func UpdateDeliveryArtifact

func UpdateDeliveryArtifact(c *gin.Context)

Types

type DeliveryFileDetail added in v1.2.0

type DeliveryFileDetail struct {
	FileVersion     string `json:"fileVersion"`
	DeliveryVersion string `json:"deliveryVersion"`
	DeliveryID      string `json:"deliveryId"`
}

type DeliveryFileInfo added in v1.2.0

type DeliveryFileInfo struct {
	FileName           string               `json:"fileName"`
	DeliveryFileDetail []DeliveryFileDetail `json:"versionInfo"`
}

type DeliverySecurityInfo added in v1.2.0

type DeliverySecurityInfo struct {
	Result            string                           `json:"result,omitempty"`
	DeliverySecuritys []*commonmodels.DeliverySecurity `json:"message,omitempty"`
}

type DeliverySecurityStats added in v1.2.0

type DeliverySecurityStats struct {
	ImageName                 string                    `json:"imageName"`
	ImageID                   string                    `json:"imageId"`
	DeliverySecurityStatsInfo DeliverySecurityStatsInfo `json:"deliverySecurityStatsInfo"`
}

type DeliverySecurityStatsInfo added in v1.2.0

type DeliverySecurityStatsInfo struct {
	Total      int `json:"total"`
	Unknown    int `json:"unkown"`
	Negligible int `json:"negligible"`
	Low        int `json:"low"`
	Medium     int `json:"medium"`
	High       int `json:"high"`
	Critical   int `json:"critical"`
}

type ReleaseInfo added in v1.2.0

type ReleaseInfo struct {
	VersionInfo    *commonmodels.DeliveryVersion      `json:"versionInfo"`
	BuildInfo      []*commonmodels.DeliveryBuild      `json:"buildInfo"`
	DeployInfo     []*commonmodels.DeliveryDeploy     `json:"deployInfo"`
	TestInfo       []*commonmodels.DeliveryTest       `json:"testInfo"`
	DistributeInfo []*commonmodels.DeliveryDistribute `json:"distributeInfo"`
	SecurityInfo   []*DeliverySecurityStats           `json:"securityStatsInfo"`
}

type Router

type Router struct{}

func (*Router) Inject

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

Jump to

Keyboard shortcuts

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