package platform

import "github.com/docker/docker/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
v20.10.20+incompatible
Published
Oct 18, 2022
Platform
js/wasm
Imports
4 packages
Last checked
1 minute ago

Tools for package owners.