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 CFBackends ¶
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{}
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"`
}
type VMExtensionCloudProperties ¶
type VMExtensionCloudProperties struct {
RootDiskSizeGB int `yaml:"root_disk_size_gb,omitempty"`
RootDiskType string `yaml:"root_disk_type,omitempty"`
TargetPool string `yaml:"target_pool,omitempty"`
EphemeralExternalIP *bool `yaml:"ephemeral_external_ip,omitempty"`
BackendService string `yaml:"backend_service,omitempty"`
Tags []string `yaml:"tags,omitempty"`
Preemptible *bool `yaml:"preemptible,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.