Documentation ¶
Index ¶
- func NewContainerScanVulnerabilityResult() containerscan.ContainerScanVulnerabilityResult
- func NewScanResultReport() containerscan.ScanReport
- type ScanResultReport
- func (r *ScanResultReport) GetContainerScanID() string
- func (r *ScanResultReport) GetCustomerGUID() string
- func (r *ScanResultReport) GetDesignators() identifiers.PortalDesignator
- func (r *ScanResultReport) GetPaginationInfo() apis.PaginationMarks
- func (r *ScanResultReport) GetSummary() containerscan.ContainerScanSummaryResult
- func (r *ScanResultReport) GetTimestamp() int64
- func (r *ScanResultReport) GetVersion() string
- func (r *ScanResultReport) GetVulnerabilities() []containerscan.ContainerScanVulnerabilityResult
- func (r *ScanResultReport) GetWorkloadHash() string
- func (r *ScanResultReport) IsLastReport() bool
- func (scan *ScanResultReport) NKeys() int
- func (r *ScanResultReport) SetContainerScanID(containerScanID string)
- func (r *ScanResultReport) SetCustomerGUID(customerGUID string)
- func (r *ScanResultReport) SetDesignators(designators identifiers.PortalDesignator)
- func (r *ScanResultReport) SetPaginationInfo(paginationInfo apis.PaginationMarks)
- func (r *ScanResultReport) SetTimestamp(timestamp int64)
- func (r *ScanResultReport) SetWorkloadHash(workloadHash string)
- func (scan *ScanResultReport) UnmarshalJSONObject(dec *gojay.Decoder, key string) error
- func (scanresult *ScanResultReport) Validate() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContainerScanVulnerabilityResult ¶
func NewContainerScanVulnerabilityResult() containerscan.ContainerScanVulnerabilityResult
func NewScanResultReport ¶
func NewScanResultReport() containerscan.ScanReport
Types ¶
type ScanResultReport ¶
type ScanResultReport struct { Designators identifiers.PortalDesignator `json:"designators"` Summary *containerscan.CommonContainerScanSummaryResult `json:"summary,omitempty"` ContainerScanID string `json:"containersScanID"` Vulnerabilities []containerscan.CommonContainerVulnerabilityResult `json:"vulnerabilities"` PaginationInfo apis.PaginationMarks `json:"paginationInfo"` Timestamp int64 `json:"timestamp"` }
func (*ScanResultReport) GetContainerScanID ¶
func (r *ScanResultReport) GetContainerScanID() string
func (*ScanResultReport) GetCustomerGUID ¶
func (r *ScanResultReport) GetCustomerGUID() string
func (*ScanResultReport) GetDesignators ¶
func (r *ScanResultReport) GetDesignators() identifiers.PortalDesignator
func (*ScanResultReport) GetPaginationInfo ¶
func (r *ScanResultReport) GetPaginationInfo() apis.PaginationMarks
func (*ScanResultReport) GetSummary ¶
func (r *ScanResultReport) GetSummary() containerscan.ContainerScanSummaryResult
func (*ScanResultReport) GetTimestamp ¶
func (r *ScanResultReport) GetTimestamp() int64
func (*ScanResultReport) GetVersion ¶
func (r *ScanResultReport) GetVersion() string
func (*ScanResultReport) GetVulnerabilities ¶
func (r *ScanResultReport) GetVulnerabilities() []containerscan.ContainerScanVulnerabilityResult
func (*ScanResultReport) GetWorkloadHash ¶
func (r *ScanResultReport) GetWorkloadHash() string
func (*ScanResultReport) IsLastReport ¶
func (r *ScanResultReport) IsLastReport() bool
func (*ScanResultReport) NKeys ¶
func (scan *ScanResultReport) NKeys() int
func (*ScanResultReport) SetContainerScanID ¶
func (r *ScanResultReport) SetContainerScanID(containerScanID string)
func (*ScanResultReport) SetCustomerGUID ¶
func (r *ScanResultReport) SetCustomerGUID(customerGUID string)
func (*ScanResultReport) SetDesignators ¶
func (r *ScanResultReport) SetDesignators(designators identifiers.PortalDesignator)
func (*ScanResultReport) SetPaginationInfo ¶
func (r *ScanResultReport) SetPaginationInfo(paginationInfo apis.PaginationMarks)
func (*ScanResultReport) SetTimestamp ¶
func (r *ScanResultReport) SetTimestamp(timestamp int64)
func (*ScanResultReport) SetWorkloadHash ¶
func (r *ScanResultReport) SetWorkloadHash(workloadHash string)
func (*ScanResultReport) UnmarshalJSONObject ¶
func (scan *ScanResultReport) UnmarshalJSONObject(dec *gojay.Decoder, key string) error
func (*ScanResultReport) Validate ¶
func (scanresult *ScanResultReport) Validate() bool
Click to show internal directories.
Click to hide internal directories.