Skip to content

Commit

Permalink
Merge pull request #1014 from mesg-foundation/feature/new-deploy
Browse files Browse the repository at this point in the history
implement new deployment style
  • Loading branch information
NicolasMahe committed Jun 6, 2019
2 parents f530dc3 + eddc5a6 commit c55ade8
Show file tree
Hide file tree
Showing 12 changed files with 512 additions and 50 deletions.
18 changes: 9 additions & 9 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ require (
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect
github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7 // indirect
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 // indirect
github.com/briandowns/spinner v0.0.0-20180822135157-9f016caa1359
github.com/briandowns/spinner v0.0.0-20180822135157-9f016caa1359 // indirect
github.com/cnf/structhash v0.0.0-20180104161610-62a607eb0224
github.com/containerd/continuity v0.0.0-20180712174259-0377f7d76720 // indirect
github.com/cskr/pubsub v1.0.2
github.com/docker/cli v0.0.0-20190129171106-b258f458cc8d
github.com/docker/cli v0.0.0-20190129171106-b258f458cc8d // indirect
github.com/docker/distribution v0.0.0-20180720172123-0dae0957e5fe // indirect
github.com/docker/docker v0.0.0-20180803200506-eeea12db7a65
github.com/docker/go-connections v0.0.0-20180212134524-7beb39f0b969 // indirect
github.com/docker/go-units v0.3.3 // indirect
github.com/emirpasic/gods v0.0.0-20180618112450-bba54c718c4e // indirect
github.com/fatih/color v0.0.0-20170926111411-5df930a27be2
github.com/fatih/color v0.0.0-20170926111411-5df930a27be2 // indirect
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 // indirect
github.com/gliderlabs/ssh v0.1.1 // indirect
github.com/go-bindata/go-bindata v0.0.0-20181025070752-41975c0ccc30
Expand All @@ -33,7 +33,7 @@ require (
github.com/goware/prefixer v0.0.0-20160118172347-395022866408 // indirect
github.com/grpc-ecosystem/go-grpc-middleware v0.0.0-20180522105215-e9c5d9645c43
github.com/hinshun/vt10x v0.0.0-20180809195222-d55458df857c // indirect
github.com/hokaccha/go-prettyjson v0.0.0-20180920040306-f579f869bbfe
github.com/hokaccha/go-prettyjson v0.0.0-20180920040306-f579f869bbfe // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/kelseyhightower/envconfig v1.3.0
Expand All @@ -42,7 +42,7 @@ require (
github.com/leodido/go-urn v1.1.0 // indirect
github.com/mattn/go-colorable v0.0.0-20180310133214-efa589957cd0 // indirect
github.com/mattn/go-isatty v0.0.3 // indirect
github.com/mesg-foundation/prefixer v0.0.0-20180907095533-d7dbe41616bd
github.com/mesg-foundation/prefixer v0.0.0-20180907095533-d7dbe41616bd // indirect
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect
github.com/mitchellh/go-homedir v0.0.0-20161203194507-b8bc1bf76747
github.com/mr-tron/base58 v1.1.1
Expand All @@ -52,14 +52,14 @@ require (
github.com/opencontainers/image-spec v1.0.1 // indirect
github.com/opencontainers/runc v0.1.1 // indirect
github.com/pelletier/go-buffruneio v0.0.0-20180119162133-e2f66f8164ca // indirect
github.com/pkg/errors v0.8.0
github.com/pkg/errors v0.8.0 // indirect
github.com/pseudomuto/protoc-gen-doc v1.1.0
github.com/pseudomuto/protokit v0.1.0 // indirect
github.com/satori/go.uuid v1.2.0
github.com/sergi/go-diff v0.0.0-20180205163309-da645544ed44 // indirect
github.com/sirupsen/logrus v1.0.6
github.com/spf13/cobra v0.0.0-20171207074935-ccaecb155a21
github.com/spf13/pflag v0.0.0-20180601132542-3ebe029320b2
github.com/spf13/cobra v0.0.0-20171207074935-ccaecb155a21 // indirect
github.com/spf13/pflag v0.0.0-20180601132542-3ebe029320b2 // indirect
github.com/src-d/gcfg v1.3.0 // indirect
github.com/stretchr/testify v1.3.0
github.com/syndtr/goleveldb v0.0.0-20180708030551-c4c61651e9e3
Expand All @@ -72,7 +72,7 @@ require (
golang.org/x/tools v0.0.0-20190111214448-fc1d57b08d7b // indirect
google.golang.org/genproto v0.0.0-20180709204101-e92b11657268 // indirect
google.golang.org/grpc v0.0.0-20180710012024-c491b25057c8
gopkg.in/AlecAivazis/survey.v1 v1.6.1
gopkg.in/AlecAivazis/survey.v1 v1.6.1 // indirect
gopkg.in/airbrake/gobrake.v2 v2.0.9 // indirect
gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 // indirect
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
Expand Down
204 changes: 204 additions & 0 deletions protobuf/api/service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions protobuf/api/service.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
syntax = "proto3";

import "protobuf/definition/service.proto";

package api;

// TODO(ilgooz): FIXME: this should be renamed to Service.
// right now we have conflicts with api.Service.
service ServiceX {
rpc Create (CreateServiceRequest) returns (CreateServiceResponse) {}
}

message CreateServiceRequest {
definition.Service definition = 1;
}

message CreateServiceResponse {
string sid = 1;
string hash = 2;
}

0 comments on commit c55ade8

Please sign in to comment.