1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00
Commit Graph

18 Commits

Author SHA1 Message Date
Ben Firshman
512e15282f Implement stop for apiserver and forward
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-06-06 19:07:03 -07:00
Derek McGowan
fe9b877195 Add http2 implementation 2014-06-06 17:33:21 -07:00
Solomon Hykes
98818d4d39 beam.Copy doesn't return an error on EOF
Signed-off-by: Solomon Hykes <solomon@docker.com>
2014-06-06 01:44:58 +00:00
Ben Firshman
a0874d7b1c Add string representation of verb enum
Docker-DCO-1.1-Signed-off-by: Ben Firshman <ben@firshman.co.uk> (github: bfirsh)
2014-06-05 12:38:54 -07:00
Solomon Hykes
d95b9728e8 beam: encode Verb in an enum instead of a string
Signed-off-bu: Solomon Hykes <solomon@docker.com>
2014-06-05 07:02:21 +00:00
Solomon Hykes
56ee97a572 Remove Hub
Signed-off-by: Solomon Hykes <solomon@docker.com>
2014-06-05 07:00:30 +00:00
Solomon Hykes
91c9eec591 Break down beam plumbing into smaller, simpler files
Signed-off-by: Solomon Hykes <solomon@docker.com>
2014-06-05 06:00:50 +00:00
Aanand Prasad
75b1e228cc Remove extra goroutine wrapper in task.go
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
Signed-off-by: Solomon Hykes <solomon@docker.com>
2014-06-03 07:30:57 +00:00
Solomon Hykes
88828b27b8 beam.Tree: plumbing for an in-memory object tree
Signed-off-by: Solomon Hykes <solomon@docker.com>
2014-06-03 00:07:39 +00:00
Solomon Hykes
ef69ac0858 beam.Task: plumbing for a long running task
Signed-off-by: Solomon Hykes <solomon@docker.com>
2014-06-03 00:07:39 +00:00
Solomon Hykes
1b22a97f19 First version of an object model
* beam.Verb enumerates all standard verbs
* beam.Object implements standard verbs as convenience client methods
* beam.Server implements stateless handlers to process incoming standard verbs
* beam.Repeater always replies with the same message
* beam.Handler exposes a function as a Receiver

Standard verbs include:

* Object navigation: ls, attach
* Execution: spawn, start, stop
* Notifications: log, error, ack
* Data: set, get

Signed-off-by: Solomon Hykes <solomon@docker.com>
2014-06-03 00:06:36 +00:00
Solomon Hykes
58f7d34f0f Move Pipe() into the beam package
Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
2014-06-02 23:55:15 +00:00
Solomon Hykes
99c1e317ac beam: Queue wraps a Sender in a channel for serializing and synchronizing
Solomon Hykes <solomon@docker.com>
2014-06-02 06:20:58 +00:00
Solomon Hykes
3265abfa2e Simplify the beam API
* Callback pattern that is easier to grok: each message has an optional nested return channel, instead of 2 nested streams
* Return channel is in the Message structure: less arguments and return values to pass around
* Caller can request a pipe as return channel, or pass its own. This makes proxying and advanced plumbing operations much easier.

Signed-off-by: Solomon Hykes <solomon@docker.com>
2014-06-02 06:15:28 +00:00
Solomon Hykes
f86db62eae beam/inmem: remove unused structure field 2014-06-02 06:12:41 +00:00
Solomon Hykes
f556ed19f7 swarmd: remove unused engine/beam adapters.
Signed-off-by: Solomon Hykes <solomon@docker.com>
2014-06-02 06:09:44 +00:00
Solomon Hykes
8a8e36e364 Change imports to use embedded beam version
Signed-off-by: Solomon Hykes <solomon@docker.com>
2014-06-02 00:04:08 +00:00
Solomon Hykes
91ae1d7353 Merge beam into libswarm
Signed-off-by: Solomon Hykes <solomon@docker.com>
2014-06-01 23:49:08 +00:00