Commit Graph

8 Commits

Author SHA1 Message Date
Kazuyoshi Kato
35cd24038a Re-generate example.pb.go
It is different from what this repository would generate, probably
since 7c78be300b.

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
2021-10-25 18:37:10 -07:00
Michael Crosby
4b957e7112 Update imports and references for containerd
This updates the references and imports for the move into the containerd
org.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-06-27 17:32:37 -04:00
Stephen J Day
2a81659f49
ttrpc: remove use of typeurl
Rather than employ the typeurl package, we now generate code to
correctly allocate the incoming types from the caller. As a side-effect
of this activity, the services definitions have been split out into a
separate type that handles the full resolution and dispatch of the
method, incuding correctly mapping the RPC status.

This work is a pre-cursor to larger protocol change that will allow us
to handle multiple, concurrent requests.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-11-21 18:03:52 -08:00
Stephen J Day
809ed493d8
ttrpc: remove unused imports
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-11-15 17:28:18 -08:00
Stephen J Day
bd8c759c72
ttrpc: update examples after name change
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-11-15 17:09:36 -08:00
Stephen J Day
f147d6ca77
ttrpc: rename project to ttrpc
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-11-15 17:04:16 -08:00
Stephen J Day
f32bbe9f11
mgrpc: generate first example service
With this changeset, we have the first end to end generated server and
client. Most of the necessary types are in place and working. There are
a lot of details to work out, but this would be enough for to exercise
the end to end flow.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-11-14 18:56:09 -08:00
Stephen J Day
eb6cfbbf53
mgrpc: baseline protobuf example
Set the stage for the example server by including a service definition,
generated code and the protobuild definition file used to generate them.
From here, we can work up to a generated mgrpc server.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-11-14 12:02:25 -08:00