Skip to content

Commit 8d500ae

Browse files
author
Xuewei Zhang
committed
Add github.com/cobaugh/osrelease as dependency
This is needed for parsing /etc/os-release file. This done via: GO111MODULE=on go get github.com/cobaugh/osrelease GO111MODULE=on go mod vendor
1 parent 1a946e6 commit 8d500ae

File tree

7 files changed

+209
-0
lines changed

7 files changed

+209
-0
lines changed

go.mod

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ require (
99
github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2 // indirect
1010
github.com/StackExchange/wmi v0.0.0-20181212234831-e0a55b97c705 // indirect
1111
github.com/beorn7/perks v1.0.0 // indirect
12+
github.com/cobaugh/osrelease v0.0.0-20181218015638-a93a0a55a249
1213
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e
1314
github.com/coreos/pkg v0.0.0-20160620232715-fa29b1d70f0b // indirect
1415
github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633 // indirect

go.sum

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24
1616
github.com/beorn7/perks v1.0.0 h1:HWo1m869IqiPhD389kmkxeTalrjNbbJTC8LXupb+sl0=
1717
github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
1818
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
19+
github.com/cobaugh/osrelease v0.0.0-20181218015638-a93a0a55a249 h1:R0IDH8daQ3lODvu8YtxnIqqth5qMGCJyADoUQvmLx4o=
20+
github.com/cobaugh/osrelease v0.0.0-20181218015638-a93a0a55a249/go.mod h1:EHKW9yNEYSBpTKzuu7Y9oOrft/UlzH57rMIB03oev6M=
1921
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e h1:Wf6HqHfScWJN9/ZjdUKyjop4mf3Qdd+1TvvltAvM3m8=
2022
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
2123
github.com/coreos/pkg v0.0.0-20160620232715-fa29b1d70f0b h1:IqgHacj6F3QnV+0H9PXFWAmML5HdxkZakBQgZgfD+FU=

vendor/github.com/cobaugh/osrelease/.travis.yml

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/cobaugh/osrelease/LICENSE

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/cobaugh/osrelease/README.md

+52
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/cobaugh/osrelease/osrelease.go

+138
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ github.com/PuerkitoBio/urlesc
1111
github.com/StackExchange/wmi
1212
# github.com/beorn7/perks v1.0.0
1313
github.com/beorn7/perks/quantile
14+
# github.com/cobaugh/osrelease v0.0.0-20181218015638-a93a0a55a249
15+
github.com/cobaugh/osrelease
1416
# github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e
1517
github.com/coreos/go-systemd/sdjournal
1618
# github.com/coreos/pkg v0.0.0-20160620232715-fa29b1d70f0b

0 commit comments

Comments
 (0)