Skip to content

Commit d1d317a

Browse files
sabyadiphoracek
authored andcommitted
Correct the imports for device plugin API and migrate to go modules.
Signed-off-by: Adilet Sabyrbaev <adilet.sabyrbaev2@ibm.com>
1 parent c9ca4e8 commit d1d317a

18,846 files changed

Lines changed: 77058 additions & 4941525 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
language: go
22

3-
go: 1.11.x
3+
go: 1.14.x
44
go_import_path: github.com/kubevirt/device-plugin-manager
55

66
before_install:
7+
- sudo mkdir -p /var/lib/kubelet/device-plugins
8+
- sudo chown $USER /var/lib/kubelet/device-plugins
79
- go get github.com/onsi/gomega
810
- go get github.com/onsi/ginkgo/ginkgo
911

Gopkg.lock

Lines changed: 0 additions & 269 deletions
This file was deleted.

Gopkg.toml

Lines changed: 0 additions & 20 deletions
This file was deleted.

Makefile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@ build:
44
go fmt ./pkg/...
55
go vet ./pkg/...
66
go install -v ./pkg/...
7+
go mod tidy
78

89
test:
910
ginkgo ./pkg/...
1011

1112
dep:
12-
dep ensure -v
13+
go get -t -u ./...
14+
go mod vendor
1315

14-
clean-dep:
15-
rm -f ./Gopkg.lock
16-
rm -rf ./vendor
17-
18-
.PHONY: build test dep clean-dep
16+
.PHONY: build test dep

go.mod

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
module github.com/kubevirt/device-plugin-manager
2+
3+
go 1.14
4+
5+
require (
6+
github.com/fsnotify/fsnotify v1.4.9
7+
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
8+
github.com/onsi/ginkgo v1.14.0
9+
github.com/onsi/gomega v1.10.1
10+
golang.org/x/net v0.0.0-20200822124328-c89045814202
11+
golang.org/x/sys v0.0.0-20200824131525-c12d262b63d8 // indirect
12+
golang.org/x/text v0.3.3 // indirect
13+
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
14+
google.golang.org/genproto v0.0.0-20200815001618-f69a88009b70 // indirect
15+
google.golang.org/grpc v1.31.0
16+
google.golang.org/protobuf v1.25.0 // indirect
17+
k8s.io/kubelet v0.18.8
18+
)

0 commit comments

Comments
 (0)