docker: Index | Files

package platform

import ""

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


Package Files

architecture_unix.go platform.go


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.