Richard Scothern
2ad849704b
Merge pull request #1413 from BrianBland/updateGoamz
...
Updates docker/goamz dependency to support AWS profile env
2016-02-04 16:50:15 -08:00
Richard Scothern
579981b979
Merge pull request #1350 from aibaars/storage-filewriter-pointer
...
Storage: remove bufferedFileWriter (dead code)
2016-02-04 16:47:52 -08:00
Richard Scothern
2cc6ccbded
Merge pull request #1401 from BrianBland/s3StorageClass
...
Adds "storageclass" configuration parameter for S3 driver.
2016-02-04 16:44:13 -08:00
Richard Scothern
b737de4856
Merge pull request #1408 from aaronlehmann/repository-interface
...
Rename Name method of Repository to Named
2016-02-04 16:43:35 -08:00
Richard Scothern
7f46e7dce1
Merge pull request #1421 from hopkings2008/master
...
read the actual number of bytes according to the initial size.
2016-02-04 16:36:30 -08:00
Richard Scothern
11a71c5b88
Merge pull request #1423 from RichardScothern/credit
...
Update maintainers and authors
2016-02-04 11:10:52 -08:00
Olivier Gambier
0d9cb4f4f2
Merge pull request #1424 from RichardScothern/version-file
...
Update version file
2016-02-04 11:03:55 -08:00
Richard Scothern
7ba21d8b1d
update version file
...
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2016-02-04 10:58:06 -08:00
Richard Scothern
9a0f037436
Update maintainers and authors
...
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2016-02-04 10:40:51 -08:00
Olivier Gambier
5596e787b6
Merge pull request #1409 from RichardScothern/recipe-menu
...
Move 'Recipes' into the Registry menu
2016-02-04 10:32:39 -08:00
Richard Scothern
97fbaaa5e2
Merge pull request #1422 from moxiegirl/add-docker-to-title
...
Update title of Registry to Docker Registry
2016-02-04 10:10:03 -08:00
Aaron Lehmann
b0989446eb
Rename Name method of Repository to Named
...
This makes code that gets the name as a string read like
repo.Named().Name() instead of repo.Name().Name().
Requested in
https://github.com/docker/docker/pull/19887#discussion_r51479753
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-02-04 09:55:36 -08:00
Mary Anthony
8fdd7f5dfe
Update title of Registry to Docker Registry
...
Signed-off-by: Mary Anthony <mary@docker.com>
2016-02-04 08:37:45 -08:00
yuzou
44c0b9ae87
read the actual number of bytes according to the initial size.
...
Signed-off-by: yuzou <zouyu7@huawei.com>
2016-02-04 16:14:35 +08:00
Aaron Lehmann
4354f0a107
On redirect, only copy headers when they don't already exist in the redirected request
...
A changeset under consideration for Go 1.7 would automatically copy
headers on redirect. This change future-proofs our code so we won't make
duplicate copies of the headers if net/http does it automatically in the
future.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-02-03 13:19:44 -08:00
Richard Scothern
f5823ff0be
Print the correct token expiration time
...
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2016-02-03 10:42:32 -08:00
Olivier Gambier
c149d45cc8
Merge pull request #1415 from omercnet/patch-1
...
Update configuration.md
2016-02-03 10:31:23 -08:00
Omer Cohen
5438838be4
fix yml indent
...
Signed-off-by: Omer Cohen <git@omer.io>
2016-02-03 17:59:49 +02:00
Omer Cohen
d842645de9
Update configuration.md
...
fixed broken links
Signed-off-by: Omer Cohen <git@omer.io>
2016-02-03 15:57:55 +02:00
Brian Bland
ee4e6e3691
Updates docker/goamz dependency to support AWS profile env
...
Signed-off-by: Brian Bland <brian.bland@docker.com>
2016-02-02 18:10:03 -08:00
Richard Scothern
bd8b81a686
Make 'Recipes' the last item in the list
...
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2016-02-02 10:18:35 -08:00
Richard Scothern
586111b11e
Merge pull request #1407 from RichardScothern/docs
...
Add compatibility notes about pull by digest across Docker and Registry versions.
2016-02-02 09:44:27 -08:00
Olivier Gambier
830bef975d
Merge pull request #1410 from aaronlehmann/failured
...
Correct ErrAuthenticationFailure message
2016-02-01 19:20:35 -08:00
Richard Scothern
4f7b32bc23
Add compatibility notes about pull by digest across Docker and Registry versions.
...
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2016-02-01 17:05:27 -08:00
Aaron Lehmann
e387b63001
Correct ErrAuthenticationFailure message
...
This was "authentication failured". Change it to "authentication
failure".
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-02-01 17:03:41 -08:00
Aaron Lehmann
e10efb2ecc
Merge pull request #1403 from dmcgowan/auth-const-keys
...
Update auth context keys to use constant
2016-02-01 16:29:07 -08:00
Aaron Lehmann
d3fb5c7064
Merge pull request #1390 from dmcgowan/token-server
...
Simple integration test token server
2016-02-01 16:27:49 -08:00
Brian Bland
695bac7b0f
Adds test for S3 storage class configuration option
...
Signed-off-by: Brian Bland <brian.bland@docker.com>
2016-02-01 16:01:55 -08:00
Brian Bland
4688d1adc2
Adds "storageclass" configuration parameter for S3 driver.
...
Defaults to STANDARD, also supports REDUCED_REDUNDANCY.
Signed-off-by: Brian Bland <brian.bland@docker.com>
2016-02-01 16:01:19 -08:00
Aaron Lehmann
2fc586d2a4
Merge pull request #1381 from BrianBland/s3CustomUAString
...
Adds custom registry User-Agent header to s3 HTTP requests
2016-02-01 15:40:36 -08:00
Richard Scothern
9710599f99
Make 'Recipes' into the Registry menu
...
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2016-02-01 15:22:25 -08:00
Brian Bland
2dc1af12a1
Adds custom registry User-Agent header to s3 HTTP requests
...
Uses docker/goamz instead of AdRoll/goamz
Adds a registry UA string param to the storage parameters when
constructing the storage driver for the registry App.
This could be used by other storage drivers as well
Signed-off-by: Brian Bland <brian.bland@docker.com>
2016-02-01 13:43:46 -08:00
Richard Scothern
f2164294f7
Merge pull request #1398 from moxiegirl/new-navigation-1.10
...
New navigation for 1.10
2016-02-01 11:31:40 -08:00
Mary Anthony
01bb31fc42
New navigation for 1.10
...
Capturing Olivier's comments
Signed-off-by: Mary Anthony <mary@docker.com>
2016-01-28 17:35:54 -08:00
Derek McGowan
648a1343db
Update auth context keys to use constant
...
Prevent using strings throughout the code to reference a string key defined in the auth package.
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2016-01-28 17:02:09 -08:00
Derek McGowan
e28c288444
Update to address comments
...
Add logging to resolve scope
Clarify response logs
Better messaging for tls setup error
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2016-01-28 15:47:22 -08:00
Aaron Lehmann
74c4a0e3e3
Merge pull request #1393 from RichardScothern/putbydgst
...
Add manifest put by digest to the registry client
2016-01-28 14:41:07 -08:00
Derek McGowan
70e85dde26
Merge pull request #1392 from aaronlehmann/client-range-requests
...
Support range requests in the client's httpReadSeeker
2016-01-28 13:44:43 -08:00
Richard Scothern
d793822290
Merge pull request #1394 from RichardScothern/invalidate-bdc
...
Invalidate the blob store descriptor cache
2016-01-28 10:04:09 -08:00
Aaron Lehmann
8fd84c4a57
Add a CheckRedirect function to the HTTP client
...
Use it to preserve Accept and Range headers that were added to the
original request.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-27 16:11:36 -08:00
Aaron Lehmann
ccf8154a44
Support range requests in the client's httpReadSeeker
...
Remove buffering on the reader, because it's not useful. Also remove
artificial io.EOF return.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-27 16:11:36 -08:00
Richard Scothern
a8861549cf
Invalidate the blob store descriptor caches when content is removed from from
...
the proxy. Also, switch to reference in the scheduler API.
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2016-01-26 17:02:59 -08:00
Richard Scothern
584c9b517c
Correct test digest lengths and enable all unit tests
...
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2016-01-26 17:02:46 -08:00
Richard Scothern
9f72e8442d
Add manifest put by digest to the registry client
...
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2016-01-26 14:20:23 -08:00
Derek McGowan
08d1f035f0
Update create token to auth/token types
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2016-01-25 20:12:07 -08:00
Derek McGowan
fd17443988
Update token header struct to use json.RawMessage pointer
...
Since RawMessage json receivers take a pointer type, the Header structure should use points in order to call the json.RawMessage marshal and unmarshal functions
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2016-01-25 20:11:41 -08:00
Derek McGowan
eaa9da0be3
Add simple implementation of token server
...
Token server implementation currently functional with existing docker 1.9.x release and latest distribution release.
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2016-01-25 15:42:05 -08:00
Arthur Baars
3d67dae525
Storage: remove bufferedFileWriter (dead code)
...
Signed-off-by: Arthur Baars <arthur@semmle.com>
2016-01-23 10:30:08 +00:00
Arthur Baars
26e7268a86
Storage: blobwriter.Write/Seek test case
...
Signed-off-by: Arthur Baars <arthur@semmle.com>
2016-01-23 10:30:07 +00:00
Richard Scothern
69db5b7440
Merge pull request #1333 from aaronlehmann/use-reference-package
...
Use reference package
2016-01-22 15:54:19 -08:00