Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ComputeRequestArgs ¶
type ComputeRequestArgs struct {
CPUs int32
MaxCPUs int32
// CPUsRange *Int32RangeFilter
GPUs int32
GPUManufacturer string
GPUModel string
MemoryGib int32
// MemoryRange *Int32RangeFilter
Arch Arch
NestedVirt bool
// In case we want an specific type / size
// we can set them directly
ComputeSizes []string
}
type ComputeSelector ¶
type ComputeSelector interface {
Select(args *ComputeRequestArgs) ([]string, error)
}
type Int32RangeFilter ¶
Click to show internal directories.
Click to hide internal directories.