package platform
import "github.com/docker/cli/components/engine/pkg/platform"
Index ¶
Constants ¶
const ( ProcessorArchitecture64 = 9 // PROCESSOR_ARCHITECTURE_AMD64 ProcessorArchitectureIA64 = 6 // PROCESSOR_ARCHITECTURE_IA64 ProcessorArchitecture32 = 0 // PROCESSOR_ARCHITECTURE_INTEL ProcessorArchitectureArm = 5 // PROCESSOR_ARCHITECTURE_ARM )
Constants
Variables ¶
var ( // Architecture holds the runtime architecture of the process. Architecture string // OSType holds the runtime operating system type (Linux, …) of the process. OSType string )
Functions ¶
func NumProcs ¶
func NumProcs() uint32
NumProcs returns the number of processors on the system
Source Files ¶
architecture_windows.go platform.go
- Version
- v17.12.1-ce+incompatible
- Published
- Feb 27, 2018
- Platform
- windows/amd64
- Imports
- 6 packages
- Last checked
- 13 minutes ago –
Tools for package owners.