Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Library ¶
type Library struct { gorm.Model `json:"-"` ProjectID uuid.UUID `gorm:"type:uuid;primary_key;" json:"projectId"` CommitHash string `gorm:"primary_key" json:"commit,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Scope string `json:"scope,omitempty"` Packaging string `json:"packaging,omitempty"` }
Library represents a third party library from the dependency tree
type Project ¶
type Project struct { gorm.Model `json:"-"` ProjectID uuid.UUID `gorm:"type:uuid;primary_key;" json:"projectId"` CommitHash string `gorm:"primary_key" json:"commit,omitempty"` Name string `json:"name,omitempty"` Status string `json:"status,omitempty"` BuildTool string `json:"-"` Data string `json:"-"` }
Project defines data related to a project repository
type Status ¶
type Status string
Status represents the status of a job
const ( DownloadSuccess Status = "DOWNLOAD_SUCCESS" DownloadFailure Status = "DOWNLOAD_FAILURE" UnbundleSuccess Status = "UNBUNDLE_SUCCESS" UnbundleFailure Status = "UNBUNDLE_FAILURE" BuildToolSuccess Status = "BUILD_TOOL_SUCCESS" BuildToolFailure Status = "BUILD_TOOL_FAILURE" DependencyTreeSuccess Status = "DEPENDENCY_TREE_SUCCESS" DependencyTreeFailure Status = "DEPENDENCY_TREE_FAILURE" ParseSuccess Status = "PARSE_SUCCESS" ParseFailure Status = "PARSE_FAILURE" McdSuccess Status = "MCD_SUCCESS" McdFailure Status = "MCD_FAILURE" )
Click to show internal directories.
Click to hide internal directories.