Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidUUIDv4 ¶
validUUIDv4 checks if string is in UUID v4 format For more information: https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_4_(random)
func ValidateMachinePool ¶
func ValidateMachinePool(p *openstack.MachinePool, ci *CloudInfo, controlPlane bool, fldPath *field.Path) field.ErrorList
ValidateMachinePool checks that the specified machine pool is valid.
func ValidatePlatform ¶
ValidatePlatform checks that the specified platform is valid.
Types ¶
type CloudInfo ¶
type CloudInfo struct {
APIFIP *floatingips.FloatingIP
ExternalNetwork *Network
Flavors map[string]Flavor
IngressFIP *floatingips.FloatingIP
ControlPlanePortSubnets []*subnets.Subnet
ControlPlanePortNetwork *Network
OSImage *images.Image
ComputeZones []string
VolumeZones []string
VolumeTypes []string
NetworkExtensions []extensions.Extension
Quotas []quota.Quota
Networks []string
SecurityGroups []string
// contains filtered or unexported fields
}
CloudInfo caches data fetched from the user's openstack cloud
func GetCloudInfo ¶
GetCloudInfo fetches and caches metadata from openstack
Click to show internal directories.
Click to hide internal directories.