Clean useless named imports

Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
This commit is contained in:
Silvin Lubecki 2018-04-09 15:00:48 +02:00 committed by Mathieu Champlon
parent f0aa126b03
commit c23c1482c7
6 changed files with 26 additions and 26 deletions

View File

@ -3,10 +3,10 @@ package clientset
import ( import (
composev1beta1 "github.com/docker/cli/kubernetes/client/clientset/typed/compose/v1beta1" composev1beta1 "github.com/docker/cli/kubernetes/client/clientset/typed/compose/v1beta1"
composev1beta2 "github.com/docker/cli/kubernetes/client/clientset/typed/compose/v1beta2" composev1beta2 "github.com/docker/cli/kubernetes/client/clientset/typed/compose/v1beta2"
glog "github.com/golang/glog" "github.com/golang/glog"
discovery "k8s.io/client-go/discovery" "k8s.io/client-go/discovery"
rest "k8s.io/client-go/rest" "k8s.io/client-go/rest"
flowcontrol "k8s.io/client-go/util/flowcontrol" "k8s.io/client-go/util/flowcontrol"
) )
// Interface defines the methods a compose kube client should have // Interface defines the methods a compose kube client should have

View File

@ -3,10 +3,10 @@ package scheme
import ( import (
composev1beta1 "github.com/docker/cli/kubernetes/compose/v1beta1" composev1beta1 "github.com/docker/cli/kubernetes/compose/v1beta1"
composev1beta2 "github.com/docker/cli/kubernetes/compose/v1beta2" composev1beta2 "github.com/docker/cli/kubernetes/compose/v1beta2"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime"
schema "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/runtime/schema"
serializer "k8s.io/apimachinery/pkg/runtime/serializer" "k8s.io/apimachinery/pkg/runtime/serializer"
) )
// Variables required for registration // Variables required for registration

View File

@ -2,9 +2,9 @@ package v1beta1
import ( import (
"github.com/docker/cli/kubernetes/client/clientset/scheme" "github.com/docker/cli/kubernetes/client/clientset/scheme"
v1beta1 "github.com/docker/cli/kubernetes/compose/v1beta1" "github.com/docker/cli/kubernetes/compose/v1beta1"
serializer "k8s.io/apimachinery/pkg/runtime/serializer" "k8s.io/apimachinery/pkg/runtime/serializer"
rest "k8s.io/client-go/rest" "k8s.io/client-go/rest"
) )
// ComposeV1beta1Interface defines the methods a compose v1beta1 client has // ComposeV1beta1Interface defines the methods a compose v1beta1 client has

View File

@ -1,12 +1,12 @@
package v1beta1 package v1beta1
import ( import (
scheme "github.com/docker/cli/kubernetes/client/clientset/scheme" "github.com/docker/cli/kubernetes/client/clientset/scheme"
v1beta1 "github.com/docker/cli/kubernetes/compose/v1beta1" "github.com/docker/cli/kubernetes/compose/v1beta1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/types"
watch "k8s.io/apimachinery/pkg/watch" "k8s.io/apimachinery/pkg/watch"
rest "k8s.io/client-go/rest" "k8s.io/client-go/rest"
) )
// StacksGetter has a method to return a StackInterface. // StacksGetter has a method to return a StackInterface.

View File

@ -2,9 +2,9 @@ package v1beta2
import ( import (
"github.com/docker/cli/kubernetes/client/clientset/scheme" "github.com/docker/cli/kubernetes/client/clientset/scheme"
v1beta2 "github.com/docker/cli/kubernetes/compose/v1beta2" "github.com/docker/cli/kubernetes/compose/v1beta2"
serializer "k8s.io/apimachinery/pkg/runtime/serializer" "k8s.io/apimachinery/pkg/runtime/serializer"
rest "k8s.io/client-go/rest" "k8s.io/client-go/rest"
) )
// ComposeV1beta2Interface defines the methods a compose v1beta2 client has // ComposeV1beta2Interface defines the methods a compose v1beta2 client has

View File

@ -1,12 +1,12 @@
package v1beta2 package v1beta2
import ( import (
scheme "github.com/docker/cli/kubernetes/client/clientset/scheme" "github.com/docker/cli/kubernetes/client/clientset/scheme"
v1beta2 "github.com/docker/cli/kubernetes/compose/v1beta2" "github.com/docker/cli/kubernetes/compose/v1beta2"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/types"
watch "k8s.io/apimachinery/pkg/watch" "k8s.io/apimachinery/pkg/watch"
rest "k8s.io/client-go/rest" "k8s.io/client-go/rest"
) )
// StacksGetter has a method to return a StackInterface. // StacksGetter has a method to return a StackInterface.