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_unix.go platform.go

Version
v17.12.1-ce+incompatible
Published
Feb 27, 2018
Platform
darwin/amd64
Imports
4 packages
Last checked
1 minute ago

Tools for package owners.