Versions in this module Expand all Collapse all v0 v0.44.0 Aug 25, 2023 v0.0.1 Oct 9, 2023 Changes in this version + type Artifact interface + Clean func(reference types.ArtifactReference) error + Inspect func(ctx context.Context) (reference types.ArtifactReference, err error) + type ArtifactCleanArgs struct + Reference types.ArtifactReference + ReferenceAnything bool + type ArtifactCleanExpectation struct + Args ArtifactCleanArgs + Returns ArtifactCleanReturns + type ArtifactCleanReturns struct + type ArtifactInspectArgs struct + Ctx context.Context + CtxAnything bool + type ArtifactInspectExpectation struct + Args ArtifactInspectArgs + Returns ArtifactInspectReturns + type ArtifactInspectReturns struct + Err error + Reference types.ArtifactReference + type MockArtifact struct + func (_m *MockArtifact) ApplyCleanExpectation(e ArtifactCleanExpectation) + func (_m *MockArtifact) ApplyCleanExpectations(expectations []ArtifactCleanExpectation) + func (_m *MockArtifact) ApplyInspectExpectation(e ArtifactInspectExpectation) + func (_m *MockArtifact) ApplyInspectExpectations(expectations []ArtifactInspectExpectation) + func (_m *MockArtifact) Clean(reference types.ArtifactReference) error + func (_m *MockArtifact) Inspect(ctx context.Context) (types.ArtifactReference, error) + type Option struct + AWSEndpoint string + AWSRegion string + AnalyzerGroup analyzer.Group + AppDirs []string + DisabledAnalyzers []analyzer.Type + DisabledHandlers []types.HandlerType + FileChecksum bool + FilePatterns []string + ImageOption types.ImageOptions + Insecure bool + LicenseScannerOption analyzer.LicenseScannerOption + MisconfScannerOption misconf.ScannerOption + NoProgress bool + Offline bool + RekorURL string + RepoBranch string + RepoCommit string + RepoTag string + SBOMSources []string + SecretScannerOption analyzer.SecretScannerOption + SkipDirs []string + SkipFiles []string + Slow bool + WalkOption WalkOption + func (o *Option) Sort() + type WalkOption struct + ErrorCallback walker.ErrorCallback