Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CPUs ¶
CPUs returns a Swarming-style description of the host's CPU, in all available precisions.
Swarming goes to special trouble on Linux to return "32" if running a 32-bit userland on a 64-bit kernel, we do not. None of our jobs care about that distinction, nor, I think, do any of our boxes run like that.
func GCEMachineType ¶
GCEMachineType returns the GCE machine type.
func GPUs ¶
GPUs returns a Swarming-style description of all the host's GPUs, in all available precisions, drawn from the lspci commandline util. If lspci is absent, returns an error.
func IsDockerInstalled ¶
IsDockerInstalled returns true if Docker is installed.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package common contains interrogation-related code common to multiple platforms.
|
Package common contains interrogation-related code common to multiple platforms. |
Package linux contains Linux-specific pieces of interrogation which are nonetheless testable on arbitrary platforms.
|
Package linux contains Linux-specific pieces of interrogation which are nonetheless testable on arbitrary platforms. |
Package mac contains Mac-specific pieces of interrogation which are nonetheless testable on arbitrary platforms.
|
Package mac contains Mac-specific pieces of interrogation which are nonetheless testable on arbitrary platforms. |
Package windows contains Windows-specific pieces of interrogation which are nonetheless testable on arbitrary platforms.
|
Package windows contains Windows-specific pieces of interrogation which are nonetheless testable on arbitrary platforms. |
Click to show internal directories.
Click to hide internal directories.