Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrFileNotFound indicates that an artifact was not found. ErrFileNotFound = errors.New("file not found") // ErrNotParsable indicates that an artifact could not be parsed against the // artifact specification. ErrNotParsable = errors.New("artifact not parsable") // ErrUnknownFields indicates that an artifact contains an unknown field. ErrUnknownFields = errors.New("artifact contains unknown fields") )
Functions ¶
Types ¶
type Repository ¶
type Repository struct { Branch string `json:"branch,omitempty"` SHA string `json:"sha,omitempty"` AuthorName string `json:"authorName,omitempty"` AuthorEmail string `json:"authorEmail,omitempty"` CommitterName string `json:"committerName,omitempty"` CommitterEmail string `json:"committerEmail,omitempty"` Message string `json:"message,omitempty"` Name string `json:"name,omitempty"` URL string `json:"url,omitempty"` Provider string `json:"provider,omitempty"` }
type Shuttle ¶
type Shuttle struct { Plan Repository `json:"plan,omitempty"` ShuttleVersion string `json:"shuttleVersion,omitempty"` }
type SnykCodeData ¶
type SnykCodeData struct { SnykVersion string `json:"snykVersion,omitempty"` URL string `json:"url,omitempty"` Language string `json:"language,omitempty"` Vulnerabilities VulnerabilityResult `json:"vulnerabilities,omitempty"` }
type SnykDockerData ¶
type SnykDockerData struct { Tag string `json:"tag,omitempty"` SnykVersion string `json:"snykVersion,omitempty"` URL string `json:"url,omitempty"` BaseImage string `json:"baseImage,omitempty"` Vulnerabilities VulnerabilityResult `json:"vulnerabilities,omitempty"` }
type Spec ¶
type TestData ¶
type TestData struct { URL string `json:"url,omitempty"` Results TestResult `json:"results,omitempty"` }
type TestResult ¶
type VulnerabilityResult ¶
Click to show internal directories.
Click to hide internal directories.