external

package
v0.0.0-...-50ee7e7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

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"`
}

func NewConfig

func NewConfig() (*Config, error)

func (*Config) Validate

func (c *Config) Validate() error

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func New

func New(_ context.Context) (*Provider, error)

func (*Provider) DiscoverAssets

func (p *Provider) DiscoverAssets(ctx context.Context) provider.AssetDiscoverer

func (*Provider) Estimate

func (p *Provider) Estimate(ctx context.Context, stats apitypes.AssetScanStats, asset *apitypes.Asset, assetScanTemplate *apitypes.AssetScanTemplate) (*apitypes.Estimation, error)

func (*Provider) Kind

func (p *Provider) Kind() apitypes.CloudProvider

func (*Provider) RemoveAssetScan

func (p *Provider) RemoveAssetScan(ctx context.Context, config *provider.ScanJobConfig) error

func (*Provider) RunAssetScan

func (p *Provider) RunAssetScan(ctx context.Context, config *provider.ScanJobConfig) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL