osutil

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

View Source
const UnixPathMax = 108

UnixPathMax is the value of UNIX_PATH_MAX.

Variables

This section is empty.

Functions

func DNSAddresses added in v0.6.3

func DNSAddresses() ([]string, error)

func LimaUser added in v0.6.4

func LimaUser(warn bool) (*user.User, error)

func MachineID

func MachineID() string

func ProxySettings added in v0.7.0

func ProxySettings() (map[string]string, error)

Types

type Group added in v0.7.0

type Group struct {
	Name string
	Gid  uint32
}

func LookupGroup added in v0.7.0

func LookupGroup(name string) (Group, error)

type User added in v0.7.0

type User struct {
	User  string
	Uid   uint32
	Group string
	Gid   uint32
}

func LookupUser added in v0.7.0

func LookupUser(name string) (User, error)

Jump to

Keyboard shortcuts

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