Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReleaseController ¶
func NewReleaseController(s *service, avService core.AssetVersionService, avRepo core.AssetVersionRepository, compRepo core.ComponentRepository, licRepo core.LicenseRiskRepository, dvRepo core.DependencyVulnRepository, assetRepository core.AssetRepository) *releaseController
func NewService ¶
func NewService(releaseRepository core.ReleaseRepository) *service
Types ¶
type ArtifactDTO ¶
type ArtifactDTO struct {
ArtifactName string `json:"artifactName"`
AssetVersionName string `json:"assetVersionName"`
AssetID uuid.UUID `json:"assetId"`
}
ArtifactDTO is a trimmed artifact view returned to clients. It includes the asset's name.
type CandidatesResponseDTO ¶
type CandidatesResponseDTO struct {
Artifacts []ArtifactDTO `json:"artifacts"`
Releases []ReleaseDTO `json:"releases"`
}
type ReleaseDTO ¶
type ReleaseItemDTO ¶
type ReleaseItemDTO struct {
ID uuid.UUID `json:"id,omitempty"`
ReleaseID uuid.UUID `json:"releaseId,omitempty"`
ChildReleaseName *string `json:"childReleaseName,omitempty"`
ChildReleaseID *uuid.UUID `json:"childReleaseId,omitempty"`
ArtifactName *string `json:"artifactName,omitempty"`
AssetVersionName *string `json:"assetVersionName,omitempty"`
AssetID *uuid.UUID `json:"assetId,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.