docker: github.com/docker/docker/pkg/platform Index | Files

package platform

import "github.com/docker/docker/pkg/platform"

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

Index

Package Files

architecture_unix.go platform.go

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
)

Package platform imports 4 packages (graph) and is imported by 385 packages. Updated 2019-09-12. Refresh now. Tools for package owners.