Compare commits

...

2 Commits

  1. 26
      Makefile
  2. 7
      go.mod
  3. 6
      go.sum

26
Makefile

@ -11,13 +11,13 @@ build:
.PHONY: clean .PHONY: clean
clean: clean:
rm -f docker-machine-driver-xcp \ rm -f docker-machine-driver-xenserver \
docker-machine-driver-xcp_darwin-386.tar.gz \ docker-machine-driver-xenserver_darwin-386.tar.gz \
docker-machine-driver-xcp_darwin-amd64.tar.gz \ docker-machine-driver-xenserver_darwin-amd64.tar.gz \
docker-machine-driver-xcp_linux-386.tar.gz \ docker-machine-driver-xenserver_linux-386.tar.gz \
docker-machine-driver-xcp_linux-amd64.tar.gz \ docker-machine-driver-xenserver_linux-amd64.tar.gz \
docker-machine-driver-xcp_windows-386.zip \ docker-machine-driver-xenserver_windows-386.zip \
docker-machine-driver-xcp_windows-amd64.zip docker-machine-driver-xenserver_windows-amd64.zip
.PHONY: release .PHONY: release
release: release:
@ -25,14 +25,14 @@ release:
# Unix # Unix
for arch in 386 amd64 ; do \ for arch in 386 amd64 ; do \
for os in darwin linux ; do \ for os in darwin linux ; do \
GOOS=$$os GOARCH=$$arch go build -o docker-machine-driver-xcp; \ GOOS=$$os GOARCH=$$arch go build -o docker-machine-driver-xenserver; \
tar -cvzf docker-machine-driver-xcp_$$os-$$arch.tar.gz docker-machine-driver-xcp; \ tar -cvzf docker-machine-driver-xenserver_$$os-$$arch.tar.gz docker-machine-driver-xenserver; \
rm -f docker-machine-driver-xcp; \ rm -f docker-machine-driver-xenserver; \
done \ done \
done done
# Windows # Windows
for arch in 386 amd64 ; do \ for arch in 386 amd64 ; do \
GOOS=windows GOARCH=$$arch go build -o docker-machine-driver-xcp.exe; \ GOOS=windows GOARCH=$$arch go build -o docker-machine-driver-xenserver.exe; \
zip docker-machine-driver-xcp_windows-$$arch.zip docker-machine-driver-xcp.exe; \ zip docker-machine-driver-xenserver_windows-$$arch.zip docker-machine-driver-xenserver.exe; \
rm -f docker-machine-driver-xcp; \ rm -f docker-machine-driver-xenserver; \
done done

7
go.mod

@ -1,17 +1,16 @@
module github.com/interlegis/docker-machine-driver-xenserver module git.interlegis.leg.br/SEIT/docker-machine-driver-xenserver
go 1.13 go 1.13
replace github.com/Sirupsen/logrus => github.com/sirupsen/logrus v1.4.2
require ( require (
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect
github.com/Sirupsen/logrus v0.0.0-00010101000000-000000000000 // indirect github.com/Sirupsen/logrus v0.0.0-00010101000000-000000000000 // indirect
github.com/diskfs/go-diskfs v0.0.0-20200202142013-3bd1f70075f0 github.com/diskfs/go-diskfs v0.0.0-20200202142013-3bd1f70075f0
github.com/docker/docker v1.13.1 // indirect github.com/docker/docker v1.13.1 // indirect
github.com/docker/machine v0.16.2 github.com/docker/machine v0.16.2
github.com/interlegis/go-xenserver-client v0.0.0-20200205122209-75fb1de1430a
github.com/nilshell/xmlrpc v0.0.0-20140129215208-41b9444050f7 github.com/nilshell/xmlrpc v0.0.0-20140129215208-41b9444050f7
github.com/xenserver/go-xenserver-client v0.0.0-20160824133036-86a0f30ec158 github.com/xenserver/go-xenserver-client v0.0.0-20160824133036-86a0f30ec158
golang.org/x/net v0.0.0-20200202094626-16171245cfb2 golang.org/x/net v0.0.0-20200202094626-16171245cfb2
) )
replace github.com/Sirupsen/logrus => github.com/sirupsen/logrus v1.4.2

6
go.sum

@ -1,7 +1,5 @@
git.interlegis.leg.br/SEIT/docker-machine-driver-xenserver v0.2.0 h1:CywVfWWImxV51lxoVKzVIgQKKR8sj+IkjrYNhDKKqMM=
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 h1:w+iIsaOQNcT7OZ575w+acHgRric5iCyQh+xv+KJ4HB8= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 h1:w+iIsaOQNcT7OZ575w+acHgRric5iCyQh+xv+KJ4HB8=
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/diskfs/go-diskfs v0.0.0-20200202142013-3bd1f70075f0 h1:96hHeo2W2DQZepODJ/COKctGRaMB5JMcXR6zNbFjM/w= github.com/diskfs/go-diskfs v0.0.0-20200202142013-3bd1f70075f0 h1:96hHeo2W2DQZepODJ/COKctGRaMB5JMcXR6zNbFjM/w=
github.com/diskfs/go-diskfs v0.0.0-20200202142013-3bd1f70075f0/go.mod h1:x7shCYRoIc+XvebaZAnK9x6wsYAS+ExHUjuoZcnO+nc= github.com/diskfs/go-diskfs v0.0.0-20200202142013-3bd1f70075f0/go.mod h1:x7shCYRoIc+XvebaZAnK9x6wsYAS+ExHUjuoZcnO+nc=
@ -11,18 +9,14 @@ github.com/docker/machine v0.16.2 h1:jyF9k3Zg+oIGxxSdYKPScyj3HqFZ6FjgA/3sblcASiU
github.com/docker/machine v0.16.2/go.mod h1:I8mPNDeK1uH+JTcUU7X0ZW8KiYz0jyAgNaeSJ1rCfDI= github.com/docker/machine v0.16.2/go.mod h1:I8mPNDeK1uH+JTcUU7X0ZW8KiYz0jyAgNaeSJ1rCfDI=
github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY= github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY=
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/interlegis/go-xenserver-client v0.0.0-20200205122209-75fb1de1430a h1:qmrqscs89UntQifT0A/CjneKXB71RFNoSk4vlyC4Qhc=
github.com/interlegis/go-xenserver-client v0.0.0-20200205122209-75fb1de1430a/go.mod h1:YRJs/QFsLQyWNsdxaWKLvVXfh+OioKe1bElNRVACZB4=
github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk= github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/nilshell/xmlrpc v0.0.0-20140129215208-41b9444050f7 h1:kDU78rfu5ahViYIBSslGVU6yFQC8Z1PQmqv1+fuY4+s= github.com/nilshell/xmlrpc v0.0.0-20140129215208-41b9444050f7 h1:kDU78rfu5ahViYIBSslGVU6yFQC8Z1PQmqv1+fuY4+s=
github.com/nilshell/xmlrpc v0.0.0-20140129215208-41b9444050f7/go.mod h1:UjmEgmC/J7Iuuz7ne/aZTu7zOeBnyuRx/NcKo+7k1/U= github.com/nilshell/xmlrpc v0.0.0-20140129215208-41b9444050f7/go.mod h1:UjmEgmC/J7Iuuz7ne/aZTu7zOeBnyuRx/NcKo+7k1/U=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4= github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4=
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/xenserver/go-xenserver-client v0.0.0-20160824133036-86a0f30ec158 h1:NYtHbZ/e79xuTE/8xKALH69Djx4cMb9Tzb+R5ko5Exs= github.com/xenserver/go-xenserver-client v0.0.0-20160824133036-86a0f30ec158 h1:NYtHbZ/e79xuTE/8xKALH69Djx4cMb9Tzb+R5ko5Exs=
github.com/xenserver/go-xenserver-client v0.0.0-20160824133036-86a0f30ec158/go.mod h1:1ItwtwM/tObrp073TdWdvA+4lzAeWCDMJZ7fmntbJUc= github.com/xenserver/go-xenserver-client v0.0.0-20160824133036-86a0f30ec158/go.mod h1:1ItwtwM/tObrp073TdWdvA+4lzAeWCDMJZ7fmntbJUc=

Loading…
Cancel
Save