Documentation ¶
Overview ¶
Package openstack contains OpenStack-specific structures for installer configuration and management.
Index ¶
Constants ¶
View Source
const Name string = "openstack"
Name is the name for the Openstack platform.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MachinePool ¶
type MachinePool struct { // FlavorName defines the OpenStack Nova flavor. // eg. m1.large FlavorName string `json:"type"` }
MachinePool stores the configuration for a machine pool installed on OpenStack.
func (*MachinePool) Set ¶
func (o *MachinePool) Set(required *MachinePool)
Set sets the values from `required` to `a`.
type Metadata ¶
type Metadata struct { Region string `json:"region"` Cloud string `json:"cloud"` // Most OpenStack resources are tagged with these tags as identifier. Identifier map[string]string `json:"identifier"` }
Metadata contains OpenStack metadata (e.g. for uninstalling the cluster).
type Platform ¶
type Platform struct { // Region specifies the OpenStack region where the cluster will be created. Region string `json:"region"` // DefaultMachinePlatform is the default configuration used when // installing on OpenStack for machine pools which do not define their own // platform configuration. DefaultMachinePlatform *MachinePool `json:"defaultMachinePlatform,omitempty"` // NetworkCIDRBlock NetworkCIDRBlock ipnet.IPNet `json:"NetworkCIDRBlock"` // BaseImage // Name of image to use from OpenStack cloud BaseImage string `json:"baseImage"` // Cloud // Name of OpenStack cloud to use from clouds.yaml Cloud string `json:"cloud"` // ExternalNetwork // The OpenStack external network to be used for installation. ExternalNetwork string `json:"externalNetwork"` }
Platform stores all the global configuration that all machinesets use.
Click to show internal directories.
Click to hide internal directories.