osgroup

package
v0.27.4 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Overview

Package osgroup contains functions for reading OS group names.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GroupName

func GroupName(gid int) (string, error)

GroupName returns the name for the gid.

func IsInsideDocker

func IsInsideDocker() bool

IsInsideDocker returns true iff we are inside a docker cgroup.

Types

This section is empty.

Jump to

Keyboard shortcuts

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