Documentation ¶
Index ¶
- func NewVSphereCloudConfig(c *cli.Context) cloudconfigs.CloudConfigProvider
- type AZCloudProperties
- type DataCenter
- type NetworkCloudProperties
- type Plugin
- type ResourcePool
- type VMProperties
- type VSphereCloudConfig
- func (c *VSphereCloudConfig) CreateAZs() ([]enaml.AZ, error)
- func (c *VSphereCloudConfig) CreateCompilation() (*enaml.Compilation, error)
- func (c *VSphereCloudConfig) CreateDiskTypes() ([]enaml.DiskType, error)
- func (c *VSphereCloudConfig) CreateNetworks() ([]enaml.DeploymentNetwork, error)
- func (c *VSphereCloudConfig) CreateVMTypes() ([]enaml.VMType, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewVSphereCloudConfig ¶
func NewVSphereCloudConfig(c *cli.Context) cloudconfigs.CloudConfigProvider
Types ¶
type AZCloudProperties ¶
type AZCloudProperties struct {
DataCenters []DataCenter `yaml:"datacenters"`
}
type DataCenter ¶
type DataCenter struct { Name string `yaml:"name"` Clusters []map[string]ResourcePool `yaml:"clusters"` }
type NetworkCloudProperties ¶
type NetworkCloudProperties struct {
NetworkName string `yaml:"name"`
}
type Plugin ¶
type Plugin struct {
PluginVersion string
}
func (*Plugin) GetCloudConfig ¶
GetCloudConfig - get a serialized form of vCenter cloud configuration
func (*Plugin) GetContext ¶
GetContext -
type ResourcePool ¶
type ResourcePool struct {
ResourcePool string `yaml:"resource_pool"`
}
type VMProperties ¶
type VSphereCloudConfig ¶
type VSphereCloudConfig struct {
Context *cli.Context
}
func (*VSphereCloudConfig) CreateCompilation ¶
func (c *VSphereCloudConfig) CreateCompilation() (*enaml.Compilation, error)
func (*VSphereCloudConfig) CreateDiskTypes ¶
func (c *VSphereCloudConfig) CreateDiskTypes() ([]enaml.DiskType, error)
func (*VSphereCloudConfig) CreateNetworks ¶
func (c *VSphereCloudConfig) CreateNetworks() ([]enaml.DeploymentNetwork, error)
func (*VSphereCloudConfig) CreateVMTypes ¶
func (c *VSphereCloudConfig) CreateVMTypes() ([]enaml.VMType, error)
Click to show internal directories.
Click to hide internal directories.