Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSNode ¶
type AWSNode struct { InstanceType string `json:"instanceType"` OnDemandPrice float64 `json:"onDemandPriceUSD"` VCPU int `json:"vcpu"` Memory float32 `json:"memory"` GPU int `json:"gpu"` MaxPods int `json:"maxPods"` Arch []string `json:"arch"` }
func (*AWSNode) GetHourlyPrice ¶
func (*AWSNode) GetNodeConfig ¶
func (n *AWSNode) GetNodeConfig(nodeName string) *config.NodeConfig
type AWSNodeSource ¶
type AWSNodeSource struct { AWSRegion string InstanceTypes []string VolumeSizePerNodeGB int64 // TODO }
func (*AWSNodeSource) GetNodes ¶
func (s *AWSNodeSource) GetNodes() ([]*AWSNode, error)
type Node ¶
type Node interface { GetHourlyPrice() float64 GetNodeConfig(nodeName string) *config.NodeConfig }
type NodeSource ¶
Click to show internal directories.
Click to hide internal directories.