mirror of
https://github.com/docker/compose.git
synced 2026-08-28 12:23:49 +00:00
commit
bc966daf34
7 changed files with 780 additions and 21 deletions
|
|
@ -23,6 +23,7 @@ import (
|
|||
"github.com/sirupsen/logrus"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
composev1 "github.com/docker/compose-cli/protos/compose/v1"
|
||||
containersv1 "github.com/docker/compose-cli/protos/containers/v1"
|
||||
contextsv1 "github.com/docker/compose-cli/protos/contexts/v1"
|
||||
streamsv1 "github.com/docker/compose-cli/protos/streams/v1"
|
||||
|
|
@ -64,6 +65,7 @@ func runServe(ctx context.Context, opts serveOpts) error {
|
|||
|
||||
p := proxy.New(ctx)
|
||||
|
||||
composev1.RegisterComposeServer(s, p)
|
||||
containersv1.RegisterContainersServer(s, p)
|
||||
contextsv1.RegisterContextsServer(s, p.ContextsProxy())
|
||||
streamsv1.RegisterStreamingServer(s, p)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue