DockerCLI/internal/test
Kir Kolyshkin 6f8070deb2 Switch from x/net/context to context
Since go 1.7, "context" is a standard package. Since go 1.9,
x/net/context merely provides some types aliased to those in
the standard context package.

The changes were performed by the following script:

for f in $(git ls-files \*.go | grep -v ^vendor/); do
	sed -i 's|golang.org/x/net/context|context|' $f
	goimports -w $f
	for i in 1 2; do
		awk '/^$/ {e=1; next;}
			/\t"context"$/ {e=0;}
			{if (e) {print ""; e=0}; print;}' < $f > $f.new && \
				mv $f.new $f
		goimports -w $f
	done
done

[v2: do awk/goimports fixup twice]
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2018-05-11 16:49:43 -07:00
..
builders Merge pull request #885 from thaJeztah/node-engine-version 2018-02-20 18:45:36 +01:00
environment Move common e2e things into an internal package. 2017-09-06 17:07:38 -04:00
network Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
notary Refactor content_trust cli/flags handling 2018-03-08 15:00:43 -05:00
output Make testing helpers as such… 2018-04-18 17:02:21 +02:00
cli.go Only read trust setting from options 2018-03-08 16:46:30 -05:00
doc.go Add TESTING document. 2017-08-24 14:45:50 -04:00
store.go Silent login: if user did not provide -u and -p flag for login command but both username and password are retrieved in cred store, docker will automatically use the credentials found in the cred store to log in 2018-02-22 09:14:51 -08:00