Documentation ¶
Index ¶
- Constants
- Variables
- func AddAZs(cfg *enaml.CloudConfigManifest, subnets []SubnetBucket)
- func AddCompilation(cfg *enaml.CloudConfigManifest, az string, vmtype string, network string)
- func AddDisk(cfg *enaml.CloudConfigManifest)
- func AddNetwork(cfg *enaml.CloudConfigManifest, subnets []SubnetBucket)
- func AddVMTypes(cfg *enaml.CloudConfigManifest)
- func NewAWSCloudConfig(region string, securityGroupList []string, subnets []SubnetBucket) (awsCloudConfig *enaml.CloudConfigManifest)
- func NewVMCloudProperty(instanceType, diskType string, diskSize int) awscloudproperties.VMType
- type SubnetBucket
Constants ¶
View Source
const ( DefaultDiskType = "gp2" DiskSmallName = "small" DiskMediumName = "medium" DiskLargeName = "large" SmallVMName = "small" SmallVMSize = "t2.micro" MediumVMName = "medium" MediumVMSize = "m3.medium" MediumDiskType = DefaultDiskType MediumEphemeralDiskSize = 30000 SmallDiskType = DefaultDiskType SmallEphemeralDiskSize = 3000 PrivateNetworkName = "private" VIPNetworkName = "vip" )
Variables ¶
View Source
var ( Region string DefaultSecurityGroups []string )
Functions ¶
func AddAZs ¶
func AddAZs(cfg *enaml.CloudConfigManifest, subnets []SubnetBucket)
func AddCompilation ¶
func AddCompilation(cfg *enaml.CloudConfigManifest, az string, vmtype string, network string)
func AddDisk ¶
func AddDisk(cfg *enaml.CloudConfigManifest)
func AddNetwork ¶
func AddNetwork(cfg *enaml.CloudConfigManifest, subnets []SubnetBucket)
func AddVMTypes ¶
func AddVMTypes(cfg *enaml.CloudConfigManifest)
func NewAWSCloudConfig ¶
func NewAWSCloudConfig(region string, securityGroupList []string, subnets []SubnetBucket) (awsCloudConfig *enaml.CloudConfigManifest)
func NewVMCloudProperty ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.