From 6003033adae775f1d725b05231a246a4462ae669 Mon Sep 17 00:00:00 2001 From: TomSweeneyRedHat Date: Wed, 13 Nov 2019 10:30:08 -0500 Subject: Bump to Buildah v1.11.5 Bump to Buildah v1.11.5. Most notably changes to the podman build `--pull` functionality. `--pull=true` and `--pull=false` now work as Docker does, `--pull-never` added to supply the functionality of the old `--pull=false`. Signed-off-by: TomSweeneyRedHat --- vendor/github.com/fsouza/go-dockerclient/README.md | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'vendor/github.com/fsouza/go-dockerclient/README.md') diff --git a/vendor/github.com/fsouza/go-dockerclient/README.md b/vendor/github.com/fsouza/go-dockerclient/README.md index b7af7d0b9..f4ad8ca62 100644 --- a/vendor/github.com/fsouza/go-dockerclient/README.md +++ b/vendor/github.com/fsouza/go-dockerclient/README.md @@ -18,10 +18,10 @@ documentation](https://docs.docker.com/engine/api/latest/). Link for the official SDK: https://docs.docker.com/develop/sdk/ go-dockerclient was created before Docker had an official Go SDK and is -still maintained and relatively active because it's still used out there. New -features in the Docker API do not get automatically implemented here: it's -based on demand, if someone wants it, they can file an issue or a PR and the -feature may get implemented/merged. +still maintained and active because it's still used out there. New features in +the Docker API do not get automatically implemented here: it's based on demand, +if someone wants it, they can file an issue or a PR and the feature may get +implemented/merged. For new projects, using the official SDK is probably more appropriate as go-dockerclient lags behind the official SDK. @@ -105,7 +105,10 @@ import ( ) func main() { - client, _ := docker.NewClientFromEnv() + client, err := docker.NewClientFromEnv() + if err != nil { + // handle err + } // use client } ``` @@ -118,12 +121,11 @@ All development commands can be seen in the [Makefile](Makefile). Commited code must pass: -* [golangci-lint](integration_unix_test.go) -* [gofumpt](https://github.com/mvdan/gofumpt) +* [golangci-lint](https://github.com/golangci/golangci-lint) * [go test](https://golang.org/cmd/go/#hdr-Test_packages) -Running ``make test`` will check all of these. You can reformat the code with -``make fmt``. +Running ``make test`` will run all checks, as well as install any required +dependencies. ## Modules @@ -133,7 +135,7 @@ If you're using dep, you can check the [releases page](https://github.com/fsouza/go-dockerclient/releases) for the latest release fully compatible with dep. -With other vendoring tools, users might need to specify go-dockerclient's +With other vendoring tools, users need to specify go-dockerclient's dependencies manually. ## Using with Docker 1.9 and Go 1.4 -- cgit v1.2.3-54-g00ecf