Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Constraints ¶
func Constraints(config *types.InstallConfig, controlPlanes []machineapi.Machine, computes []machineapi.MachineSet, instanceTypes map[string]InstanceTypeInfo) []quota.Constraint
Constraints returns a list of quota constraints based on the InstallConfig. These constraints can be used to check if there is enough quota for creating a cluster for the isntall config.
func InstanceTypes ¶
func InstanceTypes(ctx context.Context, sess *session.Session, region string) (map[string]InstanceTypeInfo, error)
InstanceTypes returns information of the all the instance types available for a region. It returns a map of instance type name to it's information.
func IsUnauthorizedOperation ¶
IsUnauthorizedOperation checks if the error is un authorized due to permission failure or lack of service availability.
Types ¶
type InstanceTypeInfo ¶
type InstanceTypeInfo struct { Name string // contains filtered or unexported fields }
InstanceTypeInfo describes the instance type
Click to show internal directories.
Click to hide internal directories.