1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/client
Doug Davis 18c9b6c645 Add .docker/config.json and support for HTTP Headers
This PR does the following:
- migrated ~/.dockerfg to ~/.docker/config.json. The data is migrated
  but the old file remains in case its needed
- moves the auth json in that fie into an "auth" property so we can add new
  top-level properties w/o messing with the auth stuff
- adds support for an HttpHeaders property in ~/.docker/config.json
  which adds these http headers to all msgs from the cli

In a follow-on PR I'll move the config file process out from under
"registry" since it not specific to that any more. I didn't do it here
because I wanted the diff to be smaller so people can make sure I didn't
break/miss any auth code during my edits.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-04-20 13:05:24 -07:00
..
attach.go client.StatusError don't be returned as a pointer 2015-04-16 01:27:07 +08:00
build.go Add .docker/config.json and support for HTTP Headers 2015-04-20 13:05:24 -07:00
cli.go Add .docker/config.json and support for HTTP Headers 2015-04-20 13:05:24 -07:00
client.go client.StatusError don't be returned as a pointer 2015-04-16 01:27:07 +08:00
commit.go
cp.go
create.go Add .docker/config.json and support for HTTP Headers 2015-04-20 13:05:24 -07:00
diff.go
events.go
exec.go client.StatusError don't be returned as a pointer 2015-04-16 01:27:07 +08:00
export.go
help.go
hijack.go Add .docker/config.json and support for HTTP Headers 2015-04-20 13:05:24 -07:00
history.go
images.go
import.go
info.go Add .docker/config.json and support for HTTP Headers 2015-04-20 13:05:24 -07:00
inspect.go client.StatusError don't be returned as a pointer 2015-04-16 01:27:07 +08:00
kill.go
load.go
login.go Add .docker/config.json and support for HTTP Headers 2015-04-20 13:05:24 -07:00
logout.go Add .docker/config.json and support for HTTP Headers 2015-04-20 13:05:24 -07:00
logs.go
pause.go
port.go
ps.go
pull.go Add .docker/config.json and support for HTTP Headers 2015-04-20 13:05:24 -07:00
push.go Add .docker/config.json and support for HTTP Headers 2015-04-20 13:05:24 -07:00
rename.go
restart.go
rm.go
rmi.go
run.go client.StatusError don't be returned as a pointer 2015-04-16 01:27:07 +08:00
save.go
search.go Add .docker/config.json and support for HTTP Headers 2015-04-20 13:05:24 -07:00
start.go client.StatusError don't be returned as a pointer 2015-04-16 01:27:07 +08:00
stats.go
stats_unit_test.go
stop.go
tag.go
top.go
unpause.go
utils.go Add .docker/config.json and support for HTTP Headers 2015-04-20 13:05:24 -07:00
version.go
wait.go