Documentation
¶
Index ¶
Constants ¶
View Source
const ( AWS = iota AZURE GCP )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPUWatt ¶
type MachineType ¶
type MachineType struct { Name string `json:"name"` Vcpus int32 `json:"vcpus"` Gpus int32 `json:"gpus"` MemoryMb int32 `json:"memoryMb"` CpuTypes []string `json:"cpuTypes"` }
func GetGCPMachineType ¶
func GetGCPMachineType(machineTypeStr string, zone string) MachineType
type UnsupportedProviderError ¶
type UnsupportedProviderError struct {
Provider string
}
func (*UnsupportedProviderError) Error ¶
func (upe *UnsupportedProviderError) Error() string
Click to show internal directories.
Click to hide internal directories.