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
Aaron Lehmann 1f61084d83 Fix uses of "int" where "int64" should be used instead
Some structures use int for sizes and UNIX timestamps. On some
platforms, int is 32 bits, so this can lead to the year 2038 issues and
overflows when dealing with large containers or layers.

Consistently use int64 to store sizes and UNIX timestamps in
api/types/types.go. Update related to code accordingly (i.e.
strconv.FormatInt instead of strconv.Itoa).

Use int64 in progressreader package to avoid integer overflow when
dealing with large quantities. Update related code accordingly.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-07-31 16:31:40 -07:00
..
ps Fix uses of "int" where "int64" should be used instead 2015-07-31 16:31:40 -07:00
attach.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
build.go Fix uses of "int" where "int64" should be used instead 2015-07-31 16:31:40 -07:00
cli.go Use default no-op uuid.Loggerf for client cli 2015-07-30 21:19:51 -04:00
client.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
commit.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
cp.go Fix docker cp Behavior With Symlinks 2015-07-30 12:14:28 -07:00
create.go Documentation improvements and code cleanups for graph package 2015-07-30 14:27:10 -07:00
diff.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
events.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
exec.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
export.go api/client fix golint errors/warnings 2015-07-29 17:20:54 +00:00
hijack.go golint for cliconfig 2015-07-20 16:48:58 -07:00
history.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
images.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
import.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
info.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
inspect.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
kill.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
load.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
login.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07:00
logout.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07:00
logs.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
network.go api/client fix golint errors/warnings 2015-07-29 17:20:54 +00:00
pause.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
port.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
ps.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
pull.go Documentation improvements and code cleanups for graph package 2015-07-30 14:27:10 -07:00
push.go Use notary library for trusted image fetch and signing 2015-07-24 14:08:20 -07:00
rename.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
restart.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
rm.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
rmi.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
run.go Lint fixes on runconfig 2015-07-27 21:23:15 +02:00
save.go api/client fix golint errors/warnings 2015-07-29 17:20:54 +00:00
search.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
service.go api/client fix golint errors/warnings 2015-07-29 17:20:54 +00:00
start.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
stats.go Docker stats: display Block IO stats 2015-07-31 21:26:32 +08:00
stats_unit_test.go Docker stats: display Block IO stats 2015-07-31 21:26:32 +08:00
stop.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
tag.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
top.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
trust.go Rename to flags and environment variables to content trust 2015-07-24 16:31:18 -07:00
unpause.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
utils.go golint for cliconfig 2015-07-20 16:48:58 -07:00
version.go api/client fix golint errors/warnings 2015-07-29 17:20:54 +00:00
wait.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00