Documentation ¶
Index ¶
- Constants
- type Config
- type Provider
- func (p *Provider) DiscoverAssets(ctx context.Context) provider.AssetDiscoverer
- func (p *Provider) Estimate(ctx context.Context, stats models.AssetScanStats, asset *models.Asset, ...) (*models.Estimation, error)
- func (p *Provider) Kind() models.CloudProvider
- func (p *Provider) RemoveAssetScan(ctx context.Context, config *provider.ScanJobConfig) error
- func (p *Provider) RunAssetScan(ctx context.Context, config *provider.ScanJobConfig) error
Constants ¶
View Source
const (
DefaultEnvPrefix = "VMCLARITY_EXTERNAL"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ProviderPluginAddress string `mapstructure:"provider_plugin_address"`
}
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) DiscoverAssets ¶
func (p *Provider) DiscoverAssets(ctx context.Context) provider.AssetDiscoverer
func (*Provider) Estimate ¶
func (p *Provider) Estimate(ctx context.Context, stats models.AssetScanStats, asset *models.Asset, assetScanTemplate *models.AssetScanTemplate) (*models.Estimation, error)
func (*Provider) Kind ¶
func (p *Provider) Kind() models.CloudProvider
func (*Provider) RemoveAssetScan ¶
func (*Provider) RunAssetScan ¶
Click to show internal directories.
Click to hide internal directories.