Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Drivers is a map of available cloud drivers. Clusters.*.Containers.CloudVMs.Driver configuration values correspond to keys in this map.
Functions ¶
func ChooseInstanceType ¶
func ChooseInstanceType(cc *arvados.Cluster, ctr *arvados.Container) (best arvados.InstanceType, err error)
ChooseInstanceType returns the cheapest available arvados.InstanceType big enough to run ctr.
func EstimateScratchSpace ¶
EstimateScratchSpace estimates how much available disk space (in bytes) is needed to run the container by summing the capacity requested by 'tmp' mounts plus disk space required to load the Docker image.
Types ¶
type ConstraintsNotSatisfiableError ¶
type ConstraintsNotSatisfiableError struct { AvailableTypes []arvados.InstanceType // contains filtered or unexported fields }
ConstraintsNotSatisfiableError includes a list of available instance types to be reported back to the user.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package scheduler uses a resizable worker pool to execute containers in priority order.
|
Package scheduler uses a resizable worker pool to execute containers in priority order. |
Package sshexecutor provides an implementation of pool.Executor using a long-lived multiplexed SSH session.
|
Package sshexecutor provides an implementation of pool.Executor using a long-lived multiplexed SSH session. |
Package test provides fakes and other tools for testing cloud drivers and other dispatcher modules.
|
Package test provides fakes and other tools for testing cloud drivers and other dispatcher modules. |
Click to show internal directories.
Click to hide internal directories.