Versions in this module Expand all Collapse all v0 v0.7.2 Jul 9, 2024 v0.7.1 Jun 14, 2024 Changes in this version + type AssetDiscoverer interface + Chan func() chan apitypes.AssetType + Err func() error + type Discoverer interface + DiscoverAssets func(ctx context.Context) AssetDiscoverer + type Estimator interface + Estimate func(context.Context, apitypes.AssetScanStats, *apitypes.Asset, ...) (*apitypes.Estimation, error) + type FatalError struct + Err error + func FatalErrorf(tmpl string, parts ...interface{}) FatalError + func (e FatalError) Error() string + func (e FatalError) RetryAfter() time.Duration + func (e FatalError) Retryable() bool + func (e FatalError) Unwrap() error + type Provider interface + Kind func() apitypes.CloudProvider + type RetryableError struct + After time.Duration + Err error + func RetryableErrorf(d time.Duration, tmpl string, parts ...interface{}) RetryableError + func (e RetryableError) Error() string + func (e RetryableError) RetryAfter() time.Duration + func (e RetryableError) Retryable() bool + func (e RetryableError) Unwrap() error + type ScanJobConfig struct + ScannerCLIConfig string + ScannerImage string + VMClarityAddress string + type ScanMetadata struct + AssetID string + AssetScanID string + ScanID string + type Scanner interface + RemoveAssetScan func(context.Context, *ScanJobConfig) error + RunAssetScan func(context.Context, *ScanJobConfig) error + type SimpleAssetDiscoverer struct + Error error + OutputChan chan apitypes.AssetType + func NewSimpleAssetDiscoverer() *SimpleAssetDiscoverer + func (ad *SimpleAssetDiscoverer) Chan() chan apitypes.AssetType + func (ad *SimpleAssetDiscoverer) Err() error