1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/registry
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
..
auth.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07:00
auth_test.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07:00
authchallenge.go Adds support for v2 registry login 2015-01-15 14:04:14 -08:00
config.go registry: Change default endpoint on windows to a windows-specific one 2015-07-30 14:52:41 -04:00
config_test.go Deprecating ResolveRepositoryName 2015-01-08 20:14:58 +00:00
consts.go registry: Change default endpoint on windows to a windows-specific one 2015-07-30 14:52:41 -04:00
consts_unix.go registry: Change default endpoint on windows to a windows-specific one 2015-07-30 14:52:41 -04:00
consts_windows.go registry: Change default endpoint on windows to a windows-specific one 2015-07-30 14:52:41 -04:00
endpoint.go Fix login and search TLS configuration 2015-07-28 10:36:57 -07:00
endpoint_test.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07:00
reference.go Use notary library for trusted image fetch and signing 2015-07-24 14:08:20 -07:00
registry.go Merge pull request #14970 from tiborvass/windows-registry-endpoint 2015-07-30 22:41:34 -04:00
registry_mock_test.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07:00
registry_test.go Fix uses of "int" where "int64" should be used instead 2015-07-31 16:31:40 -07:00
service.go registry: Change default endpoint on windows to a windows-specific one 2015-07-30 14:52:41 -04:00
session.go Fix uses of "int" where "int64" should be used instead 2015-07-31 16:31:40 -07:00
token.go Registry: remove unwanted return variable name 2015-06-09 10:58:33 +08:00
types.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07:00