Commit Graph

14 Commits (dependabot/go_modules/github.com/tklauser/go-sysconf-0.3.15)

Author SHA1 Message Date
shirou bc060cc227 add SPDX License, remove old build tag, and replace import 10 months ago
Antoine Toulme 842e4da755 apply code review 2 years ago
Antoine Toulme 0cbdf257ab change to use a typed map per code review 2 years ago
Antoine Toulme 38b94668ea allow to pass context values to override environment variables 2 years ago
shirou 5610fbc5d5 fix(host,linux): Check if path exists and is nonempty before reading host files 3 years ago
mmorel-35 1e6b445a8a gofumpt 3 years ago
shirou 0969c9436b delete v2 directory, move v3 to top #1078 3 years ago
Ville Skyttä 633e77013f Use short if 4 years ago
Sergey Vinogradov 8ff2ab3187 Add "vet" target to the Makefile
Making the "vet" target will run "go vet ./..." for each supported
GOOS.

Also, some of the warnings produced by go 1.15 vet were mitigated.
4 years ago
Curtis Mattoon 648bf4eebc Adds ConntrackStats to get conntrack summary stats 6 years ago
shirou 079e1cb22f [internal]Windows: skip Host test. 7 years ago
Michael Schurter 042305ee4a Remove SetEnv on all platforms 8 years ago
Shirou WAKAYAMA fa3e1cc196 [common]linux: add HostEtc to switch '/etc' See #175. 9 years ago
Daniel Theophanes 0af895258e common: rename package common to internal/common. Add ENV helper funcs.
Package common wasn't used for public functions. Place it in an
internal directory to prevent other packages from using.

Remove the distributed references to "HOST_PROC" and "HOST_SYS"
consts and combine into a common function. This also helps so that
if a env var is defined with a trailing slash all will continue to
work as expected.

Fixes #100
10 years ago