Documentation ¶
Index ¶
- Constants
- func GetAvailableMachineTypeList(machineTypes []*MachineType, multiAZ bool) (machineTypeList []string)
- func GetMachineTypeList(client *cmv1.Client) (machineTypeList []string, err error)
- func GetMachineTypes(client *cmv1.Client) (machineTypes []*cmv1.MachineType, err error)
- func ValidateMachineType(machineType string, machineTypes []*MachineType, multiAZ bool) (string, error)
- type MachineType
Constants ¶
View Source
const AcceleratedComputing = "accelerated_computing"
Variables ¶
This section is empty.
Functions ¶
func GetAvailableMachineTypeList ¶ added in v1.0.9
func GetAvailableMachineTypeList(machineTypes []*MachineType, multiAZ bool) (machineTypeList []string)
func GetMachineTypeList ¶
func GetMachineTypes ¶
func GetMachineTypes(client *cmv1.Client) (machineTypes []*cmv1.MachineType, err error)
func ValidateMachineType ¶
func ValidateMachineType(machineType string, machineTypes []*MachineType, multiAZ bool) (string, error)
Validate AWS machine types
Types ¶
type MachineType ¶ added in v1.0.9
type MachineType struct { MachineType *cmv1.MachineType Available bool AvailableQuota int }
func GetAvailableMachineTypes ¶ added in v1.0.9
func GetAvailableMachineTypes(ocmConnection *sdk.Connection) ([]*MachineType, error)
Click to show internal directories.
Click to hide internal directories.