machines

package
v1.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 GetMachineTypeList(client *cmv1.Client) (machineTypeList []string, err error)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL