operatingsystem

package
v1.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOperatingSystem

func GetOperatingSystem() (string, error)

GetOperatingSystem gets the name of the current operating system.

func IsContainerized

func IsContainerized() (bool, error)

IsContainerized returns true if we are running inside a container. No-op on FreeBSD and Darwin, always returns false.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL