Updated specgen tool to use a go module and added get service logs api call #472
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updated the specgen tool so it uses the newer go modules instead of godep.
I also updated the docker version imported to the latest 19.03.13.
This was tested on a fresh install of go on a new machine. All you have to do to update the models is install go, update the docker repo which is imported using go get -u github.com/docker/docker@ and then run the update-generate-code.cmd script. It downloads all of the correct dependencies, builds the program and generates the models. This has been updated in the readme for specgen.
I have also added a call to the get service logs endpoint. To do this I had to add a model which was the reason for updating the go specgen program.