Remove gRPC stuff from the client

This commit is contained in:
Djordje Lukic 2020-05-20 16:49:20 +02:00
parent 523681659c
commit 3ffa79f743

View File

@ -33,12 +33,8 @@ import (
"github.com/docker/api/context/cloud" "github.com/docker/api/context/cloud"
"github.com/docker/api/backend" "github.com/docker/api/backend"
backendv1 "github.com/docker/api/backend/v1"
cliv1 "github.com/docker/api/cli/v1"
"github.com/docker/api/compose" "github.com/docker/api/compose"
composev1 "github.com/docker/api/compose/v1"
"github.com/docker/api/containers" "github.com/docker/api/containers"
containersv1 "github.com/docker/api/containers/v1"
apicontext "github.com/docker/api/context" apicontext "github.com/docker/api/context"
"github.com/docker/api/context/store" "github.com/docker/api/context/store"
) )
@ -68,11 +64,6 @@ func New(ctx context.Context) (*Client, error) {
// Client is a multi-backend client // Client is a multi-backend client
type Client struct { type Client struct {
backendv1.BackendClient
cliv1.CliClient
containersv1.ContainersClient
composev1.ComposeClient
backendType string backendType string
bs backend.Service bs backend.Service
} }