From 4b5d5f18ff0c130ca5df6559f1ab259e7e2ff5d4 Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Wed, 5 Feb 2020 10:09:26 -0300 Subject: [PATCH] Using GoModules --- Makefile | 6 +++--- go.mod | 17 +++++++++++++++++ go.sum | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+), 3 deletions(-) create mode 100644 go.mod create mode 100644 go.sum diff --git a/Makefile b/Makefile index f4b9cd5..4ce49b6 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,11 @@ .PHONY: build build: - go get ./... + GO111MODULE=on go get ./... go build ./... .PHONY: install - go get ./... + GO111MODULE=on go get ./... go install ./... .PHONY: clean @@ -21,7 +21,7 @@ clean: .PHONY: release release: - go get ./... + GO111MODULE=on go get ./... # Unix for arch in 386 amd64 ; do \ for os in darwin linux ; do \ diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..ca59cb8 --- /dev/null +++ b/go.mod @@ -0,0 +1,17 @@ +module github.com/interlegis/docker-machine-driver-xcp + +go 1.13 + +require ( + github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect + github.com/Sirupsen/logrus v0.0.0-00010101000000-000000000000 // indirect + github.com/diskfs/go-diskfs v0.0.0-20200202142013-3bd1f70075f0 + github.com/docker/docker v1.13.1 // indirect + 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/xenserver/go-xenserver-client v0.0.0-20160824133036-86a0f30ec158 + golang.org/x/net v0.0.0-20200202094626-16171245cfb2 +) + +replace github.com/Sirupsen/logrus => github.com/sirupsen/logrus v1.4.2 diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..8575210 --- /dev/null +++ b/go.sum @@ -0,0 +1,38 @@ +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/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/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/docker/docker v1.13.1 h1:IkZjBSIc8hBjLpqeAbeE5mca5mNgeatLHBy3GO78BWo= +github.com/docker/docker v1.13.1/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +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/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/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/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/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/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4= +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/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w= +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/go.mod h1:1ItwtwM/tObrp073TdWdvA+4lzAeWCDMJZ7fmntbJUc= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 h1:VklqNMn3ovrHsnt90PveolxSbWFaJdECFbxSq0Mqo2M= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/net v0.0.0-20200202094626-16171245cfb2 h1:CCH4IOTTfewWjGOlSp+zGcjutRKlBEZQ6wTn8ozI/nI= +golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190804053845-51ab0e2deafa h1:KIDDMLT1O0Nr7TSxp8xM5tJcdn8tgyAONntO829og1M= +golang.org/x/sys v0.0.0-20190804053845-51ab0e2deafa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +gopkg.in/djherbis/times.v1 v1.2.0 h1:UCvDKl1L/fmBygl2Y7hubXCnY7t4Yj46ZrBFNUipFbM= +gopkg.in/djherbis/times.v1 v1.2.0/go.mod h1:AQlg6unIsrsCEdQYhTzERy542dz6SFdQFZFv6mUY0P8=