Documentation
¶
Index ¶
- func GetAvailabilityZones(ctx context.Context, region string) ([]string, error)
- func GetFedoraImageURI(ctx context.Context, version string) (string, error)
- func GetRHELImageURI(ctx context.Context, version string) (string, error)
- func GetWindowsImageURI(ctx context.Context, version string) (string, error)
- type ComputeSelector
- type SpotSelector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAvailabilityZones ¶
func GetFedoraImageURI ¶
Types ¶
type ComputeSelector ¶
type ComputeSelector struct{}
func NewComputeSelector ¶
func NewComputeSelector() *ComputeSelector
func (*ComputeSelector) Select ¶
func (s *ComputeSelector) Select(ctx context.Context, args *cr.ComputeRequestArgs, zone string) ([]string, error)
type SpotSelector ¶
type SpotSelector struct {
// contains filtered or unexported fields
}
func NewSpotSelector ¶
func NewSpotSelector() *SpotSelector
func (*SpotSelector) MarkExhausted ¶
func (s *SpotSelector) MarkExhausted(zone, machineType string)
func (*SpotSelector) Select ¶
func (s *SpotSelector) Select(mCtx *mc.Context, args *spot.SpotRequestArgs) (*spot.SpotResults, error)
Click to show internal directories.
Click to hide internal directories.