1
0
Эх сурвалжийг харах

Merge pull request #135 from rumpl/chore-remove-client-deps

Remove gRPC stuff from the client
Chris Crone 5 жил өмнө
parent
commit
eae864ac33

+ 0 - 9
client/client.go

@@ -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
 }
 }