kubernetes/vendor/go.opentelemetry.io/otel/sdk/resource/os_unix.go

type unameProvider

var defaultUnameProvider

var currentUnameProvider

func setDefaultUnameProvider() {}

func setUnameProvider(unameProvider unameProvider) {}

// platformOSDescription returns a human readable OS version information string.
// The final string combines OS release information (where available) and the
// result of the `uname` system call.
func platformOSDescription() (string, error) {}

// uname issues a uname(2) system call (or equivalent on systems which doesn't
// have one) and formats the output in a single string, similar to the output
// of the `uname` commandline program. The final string resembles the one
// obtained with a call to `uname -snrvm`.
func uname() (string, error) {}

// getFirstAvailableFile returns an *os.File of the first available
// file from a list of candidate file paths.
func getFirstAvailableFile(candidates []string) (*os.File, error) {}