Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SuperSet = wire.NewSet( vulnerability.SuperSet, applier.NewApplier, ospkg.NewScanner, langpkg.NewScanner, NewScanner, )
SuperSet binds dependencies for Local scan
Functions ¶
Types ¶
type ApplierApplyLayersArgs ¶
type ApplierApplyLayersExpectation ¶
type ApplierApplyLayersExpectation struct { Args ApplierApplyLayersArgs Returns ApplierApplyLayersReturns }
type ApplierApplyLayersReturns ¶
type ApplierApplyLayersReturns struct { Detail types.ArtifactDetail Err error }
type MockApplier ¶
MockApplier is an autogenerated mock type for the Applier type
func (*MockApplier) ApplyApplyLayersExpectation ¶
func (_m *MockApplier) ApplyApplyLayersExpectation(e ApplierApplyLayersExpectation)
func (*MockApplier) ApplyApplyLayersExpectations ¶
func (_m *MockApplier) ApplyApplyLayersExpectations(expectations []ApplierApplyLayersExpectation)
func (*MockApplier) ApplyLayers ¶
func (_m *MockApplier) ApplyLayers(artifactID string, blobIDs []string) (types.ArtifactDetail, error)
ApplyLayers provides a mock function with given fields: artifactID, blobIDs
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
Scanner implements the OspkgDetector and LibraryDetector
func NewScanner ¶
func NewScanner(applier applier.Applier, osPkgScanner ospkg.Scanner, langPkgScanner langpkg.Scanner, vulnClient vulnerability.Client) Scanner
NewScanner is the factory method for Scanner
func (Scanner) MisconfsToResults ¶
func (s Scanner) MisconfsToResults(misconfs []ftypes.Misconfiguration) types.Results
MisconfsToResults is exported for vul-plugin-aqua purposes only
Click to show internal directories.
Click to hide internal directories.