Documentation
¶
Index ¶
Constants ¶
View Source
const ( // MaxEntitySize defines the maximum number of bytes of the payloads the Results client // can send to the Results service. MaxEntitySize = 1024 * 1024 * 7 // 7 MB's )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RawData ¶
type RawData struct {
Raw []byte `json:"raw"`
CheckID string `json:"check_id"`
ScanID string `json:"scan_id"`
ScanStartTime time.Time `json:"scan_start_time"`
}
RawData represents the payload for raw upload requests.
type ReportData ¶
type ReportData struct {
Report string `json:"report"`
CheckID string `json:"check_id"`
ScanID string `json:"scan_id"`
ScanStartTime time.Time `json:"scan_start_time"`
}
ReportData represents the payload for report upload requests.
type Uploader ¶
type Uploader struct {
// contains filtered or unexported fields
}
Uploader is responsible for uploading reports and logs to vulcan-results.
Click to show internal directories.
Click to hide internal directories.