1
0
mirror of https://github.com/docker/docs.git synced 2026-11-08 02:58:08 +03:00
Commit Graph

47845 Commits

Author SHA1 Message Date
Andrea Luzzardi
88801da7f4 API: Move the httpError helper into helpers.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 18:02:15 -07:00
Andrea Luzzardi
885d116759 API: Move the context from the handlers into the router.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 18:02:15 -07:00
Andrea Luzzardi
4bf8eaff7c API: Move the router into its own file.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 17:59:32 -07:00
Andrea Luzzardi
cd832f572e Rename api.go to handlers.go.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 17:59:32 -07:00
Andrea Luzzardi
c1a6d14792 API: Move routes outside of createRouter.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 17:59:32 -07:00
Victor Vieux
f27a7b8357 Merge pull request #624 from aluzzardi/events-cleanup
Cleanup events handler
2015-04-15 17:58:56 -07:00
Victor Vieux
694167bae9 Merge pull request #626 from aluzzardi/coverage
Coverage improvements
2015-04-15 17:58:38 -07:00
Derek McGowan
21504560e1 Update final upload chunk api doc
Updates description about content length and location

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-04-15 17:55:15 -07:00
Michael Crosby
a5f7c4aa31 Ensure state is destroyed on daemont restart
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-04-15 17:44:03 -07:00
Dave Henderson
64a844071d Deleting Machine-generated SSH key from SoftLayer when host is canceled.
All the other drivers seem to do this, so I can't imagine this is a bad
idea ;)

Fixes #765

Signed-off-by: Dave Henderson <Dave.Henderson@ca.ibm.com>
2015-04-15 20:37:24 -04:00
Alexander Morozov
83d809f3d2 Merge pull request #12388 from xiaods/issue-12373
client.StatusError don't be returned as a pointer
2015-04-15 17:34:38 -07:00
Andrea Luzzardi
c6d368bafa coverage: Exclude API from coverage.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 17:31:14 -07:00
Andrea Luzzardi
5bf339af48 Coverage: Refactoring.
- Make script/coverage runnable locally.
- Move the goveralls push to travis instead of script/coverage.
- Refactor code into a loop.
- Properly handle packages with no tests.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 17:29:16 -07:00
Daisuke Fujita
4cacbb4faf Modify markdown format in distribution.md
Signed-off-by: Daisuke Fujita <dtanshi45@gmail.com>
2015-04-16 09:22:24 +09:00
Stephen J Day
600de20037 Correctly log application version
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-15 16:37:39 -07:00
Evan Hazlett
3e0477e14c Merge pull request #923 from hairyhenderson/refactor-split-subcommands
Refactoring commands.go into new commands package
2015-04-15 19:19:51 -04:00
Dave Henderson
53ef9d7477 Refactoring commands.go into new commands package, with separate file for each subcommand
Signed-off-by: Dave Henderson <Dave.Henderson@ca.ibm.com>
2015-04-15 19:04:44 -04:00
Andrea Luzzardi
442217d6dc Cleanup events handler.
- Renamed Events() to RegisterEventHandler() in Engine.
- Added RegisterEventHandler() to the Cluster interface.
- Removed EventHandler requirement from swarm's Cluster constructor.
- Make API's events handler private.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 15:59:55 -07:00
Victor Vieux
35c6eec263 Merge pull request #623 from aluzzardi/golint
Fix golint errors
2015-04-15 15:43:11 -07:00
Steven Taylor
d1855c6cc0 What if authConfig or factory is Null?
Signed-off-by: Steven Taylor <steven.taylor@me.com>
2015-04-15 15:35:18 -07:00
Jessie Frazelle
2e4d36ed80 Merge pull request #12391 from ibuildthecloud/syslog-format
Change syslog format and facility
2015-04-15 14:47:12 -07:00
Jeffrey Morgan
0875ecd4b3 Removing unused file
Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
2015-04-15 17:44:36 -04:00
Michael Chase-Salerno
24a6c240fc Testcase for #1224, check that image or build is specified
Signed-off-by: Michael Chase-Salerno <bratac@linux.vnet.ibm.com>
2015-04-15 21:38:24 +00:00
Jeffrey Morgan
8770b6013e Merge pull request #374 from kitematic/hub-button
Adding Button for running Docker containers via Custom URL
2015-04-15 17:36:16 -04:00
Andrea Luzzardi
643d47b5b6 travis: Disable min confidence for golint as it now fully passes.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 14:32:51 -07:00
Andrea Luzzardi
2bfe3a68e3 Updated dockerclient and fixed API changes.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 14:32:51 -07:00
Andrea Luzzardi
d492feb7cc golint: DiscoveryService -> Discovery
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 14:26:39 -07:00
Andrea Luzzardi
f5979b2fed golint: eventsHandler -> EventsHandler.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-04-15 14:21:05 -07:00
Jeffrey Morgan
afdcb75e54 Merge branch 'master' into hub-button 2015-04-15 17:18:05 -04:00
Jeffrey Morgan
ce314020ce Bump atom shell version 2015-04-15 17:17:59 -04:00
Sabin Basyal
6860c75b7b The link to issue 407 was broken
The link to issue 407 was broken. The old link was: https://github.com/docker/docker/issues/407%20kernel%20versions
The link must be: https://github.com/docker/docker/issues/407

Signed-off-by: Sabin Basyal <sabin.basyal@gmail.com>
2015-04-15 14:06:11 -07:00
Alexandre Beslic
16cd6cc2d8 Merge pull request #622 from KushalP/master
Remove prefixes from DiscoveryService implementations
2015-04-15 13:17:14 -07:00
Brian Goff
0c7b51089c Merge pull request #12412 from runcom/12410-fix-TestInitializeCannotStatPathFileNameTooLong
Fix TestInitializeCannotStatPathFileNameTooLong
2015-04-15 16:11:29 -04:00
Kushal Pisavadia
78dba5d623 Remove prefixes from DiscoveryService implementations
All of these structs are public. Previously when they were used, they'd
look like the following:

 - `consul.ConsulDiscoveryService`
 - `etcd.EtcdDiscoveryService`
 - `file.FileDiscoveryService`
 - `nodes.NodesDiscoveryService`
 - `token.TokenDiscoveryService`
 - `zookeeper.ZkDiscoveryService`

As a result, they stuttered when read. This commit removes the
duplication of the package names on the struct so that they read better.

See also: https://golang.org/ref/spec#Import_declarations

Signed-off-by: Kushal Pisavadia <kushi.p@gmail.com>
2015-04-15 20:58:17 +01:00
Jeffrey Morgan
4b1291c952 Add comment for supported repos 2015-04-15 15:46:45 -04:00
Darren Shepherd
05641ccffc Change syslog format and facility
This patch changes two things

1. Set facility to LOG_DAEMON
2. Remove ": " from tag so that the tag + pid become a single column in
   the log

Signed-off-by: Darren Shepherd <darren@rancher.com>
2015-04-15 12:46:43 -07:00
Jeffrey Morgan
ebc1143723 removing tag support for custom url 2015-04-15 15:28:50 -04:00
Stephen Day
030006a6d7 Merge pull request #362 from RichardScothern/username-context
Add username to context
2015-04-15 12:26:26 -07:00
Antonio Murdaca
7afb234741 Fix TestInitializeCannotStatPathFileNameTooLong
Signed-off-by: Antonio Murdaca <me@runcom.ninja>
2015-04-15 21:15:05 +02:00
Alexander Morozov
5b048ab2f2 Merge pull request #12369 from runcom/fix-links-graph-ref
Fix wrong graphdb refs paths purging
2015-04-15 11:34:58 -07:00
Brian Goff
f0c60f7085 Merge pull request #12387 from x1022as/inspect-logpath
Inspect show right LogPath in json-file driver
2015-04-15 14:28:39 -04:00
moxiegirl
2499baefdd Merge pull request #12399 from emirozer/master
closes #8945
2015-04-15 10:53:10 -07:00
Richard
cb6a6125f6 Add auth.user.name to logging context 2015-04-15 10:34:24 -07:00
Brian Goff
2ecccda162 Merge pull request #12139 from hqhq/hq_add_cpusest_mems2
add support for cpuset.mems
2015-04-15 13:29:43 -04:00
Deshi Xiao
bae3023eef client.StatusError don't be returned as a pointer
closes #12373

1. remove & from client.StatusError
2. remove * from Error method

Signed-off-by: Deshi Xiao <xiaods@gmail.com>
2015-04-16 01:27:07 +08:00
David Calavera
767df67e31 Decode container configurations into typed structures.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-04-15 10:22:07 -07:00
Jeffrey Morgan
e4491bd899 Adding 'run' method back
Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
2015-04-15 13:15:44 -04:00
Evan Hazlett
ccf174e7f7 Merge pull request #1006 from hairyhenderson/ssh-fewer-retries
Reducing the number of SSH connection attempts
2015-04-15 12:28:38 -04:00
Jessie Frazelle
ec4b0b1e27 Merge pull request #12382 from jfrazelle/modprobe-all-the-things-modules-for-the-modules-god
try to modprobe bridge
2015-04-15 08:45:00 -07:00
Dave Henderson
7a6c1a7d14 Reducing the number of connection attempts, and setting an explicit timeout of 10 seconds
Signed-off-by: Dave Henderson <Dave.Henderson@ca.ibm.com>
2015-04-15 11:23:08 -04:00