mirror of https://github.com/docker/cli.git
Clean useless named imports
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
This commit is contained in:
parent
f0aa126b03
commit
c23c1482c7
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue