Documentation ¶
Index ¶
- type ArmoCivAdaptorMock
- func (armoCivAdaptorMock *ArmoCivAdaptorMock) DescribeAdaptor() string
- func (armoCivAdaptorMock *ArmoCivAdaptorMock) GetImageVulnerability(imageID *registryvulnerabilities.ContainerImageIdentifier) (*registryvulnerabilities.ContainerImageVulnerabilityReport, error)
- func (armoCivAdaptorMock *ArmoCivAdaptorMock) GetImagesInformation(imageIDs []registryvulnerabilities.ContainerImageIdentifier) ([]registryvulnerabilities.ContainerImageInformation, error)
- func (armoCivAdaptorMock *ArmoCivAdaptorMock) GetImagesScanStatus(imageIDs []registryvulnerabilities.ContainerImageIdentifier) ([]registryvulnerabilities.ContainerImageScanStatus, error)
- func (armoCivAdaptorMock *ArmoCivAdaptorMock) GetImagesVulnerabilities(imageIDs []registryvulnerabilities.ContainerImageIdentifier) ([]registryvulnerabilities.ContainerImageVulnerabilityReport, error)
- func (armoCivAdaptorMock *ArmoCivAdaptorMock) Login() error
- type KSCivAdaptor
- func (ksCivAdaptor *KSCivAdaptor) DescribeAdaptor() string
- func (ksCivAdaptor *KSCivAdaptor) GetImageVulnerability(imageID *registryvulnerabilities.ContainerImageIdentifier) (*registryvulnerabilities.ContainerImageVulnerabilityReport, error)
- func (ksCivAdaptor *KSCivAdaptor) GetImagesInformation(imageIDs []registryvulnerabilities.ContainerImageIdentifier) ([]registryvulnerabilities.ContainerImageInformation, error)
- func (ksCivAdaptor *KSCivAdaptor) GetImagesScanStatus(imageIDs []registryvulnerabilities.ContainerImageIdentifier) ([]registryvulnerabilities.ContainerImageScanStatus, error)
- func (ksCivAdaptor *KSCivAdaptor) GetImagesVulnerabilities(imageIDs []registryvulnerabilities.ContainerImageIdentifier) ([]registryvulnerabilities.ContainerImageVulnerabilityReport, error)
- func (ksCivAdaptor *KSCivAdaptor) Login() error
- type V2ListRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArmoCivAdaptorMock ¶
type ArmoCivAdaptorMock struct {
// contains filtered or unexported fields
}
func NewArmoAdaptorMock ¶
func NewArmoAdaptorMock() (*ArmoCivAdaptorMock, error)
func (*ArmoCivAdaptorMock) DescribeAdaptor ¶
func (armoCivAdaptorMock *ArmoCivAdaptorMock) DescribeAdaptor() string
func (*ArmoCivAdaptorMock) GetImageVulnerability ¶
func (armoCivAdaptorMock *ArmoCivAdaptorMock) GetImageVulnerability(imageID *registryvulnerabilities.ContainerImageIdentifier) (*registryvulnerabilities.ContainerImageVulnerabilityReport, error)
func (*ArmoCivAdaptorMock) GetImagesInformation ¶
func (armoCivAdaptorMock *ArmoCivAdaptorMock) GetImagesInformation(imageIDs []registryvulnerabilities.ContainerImageIdentifier) ([]registryvulnerabilities.ContainerImageInformation, error)
func (*ArmoCivAdaptorMock) GetImagesScanStatus ¶
func (armoCivAdaptorMock *ArmoCivAdaptorMock) GetImagesScanStatus(imageIDs []registryvulnerabilities.ContainerImageIdentifier) ([]registryvulnerabilities.ContainerImageScanStatus, error)
func (*ArmoCivAdaptorMock) GetImagesVulnerabilities ¶
func (armoCivAdaptorMock *ArmoCivAdaptorMock) GetImagesVulnerabilities(imageIDs []registryvulnerabilities.ContainerImageIdentifier) ([]registryvulnerabilities.ContainerImageVulnerabilityReport, error)
func (*ArmoCivAdaptorMock) Login ¶
func (armoCivAdaptorMock *ArmoCivAdaptorMock) Login() error
type KSCivAdaptor ¶
type KSCivAdaptor struct {
// contains filtered or unexported fields
}
func NewKSAdaptor ¶
func NewKSAdaptor(api *getter.KSCloudAPI) *KSCivAdaptor
func (*KSCivAdaptor) DescribeAdaptor ¶
func (ksCivAdaptor *KSCivAdaptor) DescribeAdaptor() string
func (*KSCivAdaptor) GetImageVulnerability ¶
func (ksCivAdaptor *KSCivAdaptor) GetImageVulnerability(imageID *registryvulnerabilities.ContainerImageIdentifier) (*registryvulnerabilities.ContainerImageVulnerabilityReport, error)
func (*KSCivAdaptor) GetImagesInformation ¶
func (ksCivAdaptor *KSCivAdaptor) GetImagesInformation(imageIDs []registryvulnerabilities.ContainerImageIdentifier) ([]registryvulnerabilities.ContainerImageInformation, error)
func (*KSCivAdaptor) GetImagesScanStatus ¶
func (ksCivAdaptor *KSCivAdaptor) GetImagesScanStatus(imageIDs []registryvulnerabilities.ContainerImageIdentifier) ([]registryvulnerabilities.ContainerImageScanStatus, error)
func (*KSCivAdaptor) GetImagesVulnerabilities ¶
func (ksCivAdaptor *KSCivAdaptor) GetImagesVulnerabilities(imageIDs []registryvulnerabilities.ContainerImageIdentifier) ([]registryvulnerabilities.ContainerImageVulnerabilityReport, error)
func (*KSCivAdaptor) Login ¶
func (ksCivAdaptor *KSCivAdaptor) Login() error
type V2ListRequest ¶
type V2ListRequest struct { // properties of the requested next page // Use ValidatePageProperties to set PageSize field PageSize *int `json:"pageSize,omitempty"` // One can leave it empty for 0, then call ValidatePageProperties PageNum *int `json:"pageNum,omitempty"` // The time window of the list to return. Default: since - beginning of the time, until - now. Since *time.Time `json:"since,omitempty"` Until *time.Time `json:"until,omitempty"` // Which elements of the list to return, each field can hold multiple values separated by comma // Example: ": {"severity": "High,Medium", "type": "61539,30303"} // An empty map means "return the complete list" InnerFilters []map[string]string `json:"innerFilters,omitempty"` // How to order (sort) the list, field name + sort order (asc/desc), like https://www.w3schools.com/sql/sql_orderby.asp // Example: "timestamp:asc,severity:desc" OrderBy string `json:"orderBy,omitempty"` // Cursor to the next page of former request. Not supported yet // Cursor cannot be used with another parameters of this struct Cursor string `json:"cursor,omitempty"` // FieldsList allow us to return only subset of the source document fields // Don't expose FieldsList outside without well designed decision FieldsList []string `json:"includeFields,omitempty"` FieldsReverseKeywordMap map[string]string `json:"-,omitempty"` }
Click to show internal directories.
Click to hide internal directories.