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 utsname_int8.go

Version
v17.10.0-ce+incompatible
Published
Oct 17, 2017
Platform
linux/amd64
Imports
3 packages
Last checked
3 minutes ago

Tools for package owners.