package platform

import "github.com/docker/cli/components/engine/pkg/platform"

Package platform provides helper function to get the runtime architecture for different platforms.

Index

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
)

Source Files

architecture_linux.go platform.go

Version
v17.12.0-ce-rc3+incompatible
Published
Dec 14, 2017
Platform
linux/amd64
Imports
4 packages
Last checked
33 minutes ago

Tools for package owners.