Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultEnvPrefix = "VMCLARITY_AWS" DefaultScannerInstanceType = "t2.large" DefaultBlockDeviceName = "xvdh" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Region where the Scanner instance needs to be created ScannerRegion string `mapstructure:"scanner_region"` // SubnetID where the Scanner instance needs to be created SubnetID string `mapstructure:"subnet_id"` // SecurityGroupID which needs to be attached to the Scanner instance SecurityGroupID string `mapstructure:"security_group_id"` // KeyPairName is the name of the SSH KeyPair to use for Scanner instance launch KeyPairName string `mapstructure:"keypair_name"` // ScannerImage is the AMI image used for creating Scanner instance ScannerImage string `mapstructure:"scanner_ami_id"` // ScannerInstanceType is the instance type used for Scanner instance ScannerInstanceType string `mapstructure:"scanner_instance_type"` // BlockDeviceName contains the block device name used for attaching Scanner volume to the Scanner instance BlockDeviceName string `mapstructure:"block_device_name"` }
type Provider ¶
type Provider struct { *discoverer.Discoverer *scanner.Scanner *estimator.Estimator }
func (*Provider) Kind ¶
func (p *Provider) Kind() apitypes.CloudProvider
Click to show internal directories.
Click to hide internal directories.