Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AZ ¶
type AZ struct {
Name string `yaml:"name"`
CloudProperties AZCloudProperties `yaml:"cloud_properties"`
}
type AZCloudProperties ¶
type AZCloudProperties struct {
Zone string `yaml:"zone"`
}
type AZsGenerator ¶
type AZsGenerator struct {
// contains filtered or unexported fields
}
func NewAZsGenerator ¶
func NewAZsGenerator(gcpNames ...string) AZsGenerator
func (AZsGenerator) Generate ¶
func (g AZsGenerator) Generate() []AZ
type CloudConfig ¶
type CloudConfig struct {
AZs []AZ `yaml:"azs,omitempty"`
Networks []Network `yaml:"networks,omitempty"`
VMTypes interface{} `yaml:"vm_types,omitempty"`
DiskTypes interface{} `yaml:"disk_types,omitempty"`
Compilation interface{} `yaml:"compilation,omitempty"`
VMExtensions []VMExtension `yaml:"vm_extensions,omitempty"`
}
type CloudConfigGenerator ¶
type CloudConfigGenerator struct {
// contains filtered or unexported fields
}
func NewCloudConfigGenerator ¶
func NewCloudConfigGenerator() CloudConfigGenerator
func (CloudConfigGenerator) Generate ¶
func (c CloudConfigGenerator) Generate(input CloudConfigInput) (CloudConfig, error)
type CloudConfigInput ¶
type Network ¶
type Network struct {
Name string `yaml:"name"`
Type string `yaml:"type"`
Subnets []NetworkSubnet `yaml:"subnets"`
}
type NetworkSubnet ¶
type NetworksGenerator ¶
type NetworksGenerator struct {
// contains filtered or unexported fields
}
func NewNetworksGenerator ¶
func NewNetworksGenerator(networkName, subnetworkName string, tags, azs []string) NetworksGenerator
func (NetworksGenerator) Generate ¶
func (n NetworksGenerator) Generate() ([]Network, error)
type SubnetCloudProperties ¶
type VMExtension ¶
type VMExtension struct {
Name string `yaml:"name"`
CloudProperties VMExtensionCloudProperties `yaml:"cloud_properties"`
}
Click to show internal directories.
Click to hide internal directories.