Skip to content

Commit

Permalink
api machinery is now formatting imports - will drop
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislovecnm committed Oct 27, 2017
1 parent 3d2b7d7 commit 51a64e8
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 11 deletions.
3 changes: 2 additions & 1 deletion pkg/apis/kops/v1alpha1/zz_generated.deepcopy.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ limitations under the License.
package v1alpha1

import (
reflect "reflect"

v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
conversion "k8s.io/apimachinery/pkg/conversion"
runtime "k8s.io/apimachinery/pkg/runtime"
reflect "reflect"
)

func init() {
Expand Down
3 changes: 2 additions & 1 deletion pkg/apis/kops/v1alpha2/zz_generated.deepcopy.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ limitations under the License.
package v1alpha2

import (
reflect "reflect"

v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
conversion "k8s.io/apimachinery/pkg/conversion"
runtime "k8s.io/apimachinery/pkg/runtime"
reflect "reflect"
)

func init() {
Expand Down
3 changes: 2 additions & 1 deletion pkg/apis/kops/zz_generated.deepcopy.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ limitations under the License.
package kops

import (
reflect "reflect"

v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
conversion "k8s.io/apimachinery/pkg/conversion"
runtime "k8s.io/apimachinery/pkg/runtime"
reflect "reflect"
)

func init() {
Expand Down
3 changes: 2 additions & 1 deletion pkg/client/clientset_generated/clientset/scheme/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ limitations under the License.
package scheme

import (
os "os"

announced "k8s.io/apimachinery/pkg/apimachinery/announced"
registered "k8s.io/apimachinery/pkg/apimachinery/registered"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
schema "k8s.io/apimachinery/pkg/runtime/schema"
serializer "k8s.io/apimachinery/pkg/runtime/serializer"
kops "k8s.io/kops/pkg/apis/kops/install"
os "os"
)

var Scheme = runtime.NewScheme()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ limitations under the License.
package scheme

import (
os "os"

announced "k8s.io/apimachinery/pkg/apimachinery/announced"
registered "k8s.io/apimachinery/pkg/apimachinery/registered"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
schema "k8s.io/apimachinery/pkg/runtime/schema"
serializer "k8s.io/apimachinery/pkg/runtime/serializer"
kops "k8s.io/kops/pkg/apis/kops/install"
os "os"
)

var Scheme = runtime.NewScheme()
Expand Down
3 changes: 2 additions & 1 deletion pkg/model/bastion.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ limitations under the License.
package model

import (
"time"

"k8s.io/apimachinery/pkg/util/sets"
"k8s.io/kops/pkg/apis/kops"
"k8s.io/kops/upup/pkg/fi"
"k8s.io/kops/upup/pkg/fi/cloudup/awstasks"
"time"
)

const BastionELBSecurityGroupPrefix = "bastion"
Expand Down
3 changes: 2 additions & 1 deletion pkg/pki/csr.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ import (
"crypto/rsa"
"crypto/x509"
"fmt"
"github.com/golang/glog"
"math/big"
"time"

"github.com/golang/glog"
)

// BuildPKISerial produces a serial number for certs that is vanishingly unlikely to collide
Expand Down
5 changes: 3 additions & 2 deletions protokube/pkg/gossip/dns/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ package dns

import (
"fmt"
"github.com/golang/glog"
"k8s.io/kops/protokube/pkg/gossip"
"strings"
"sync"
"time"

"github.com/golang/glog"
"k8s.io/kops/protokube/pkg/gossip"
)

// We don't really support multiple zone ids, but we could
Expand Down
1 change: 1 addition & 0 deletions upup/pkg/fi/cloudup/gcetasks/targetpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package gcetasks

import (
"fmt"

"github.com/golang/glog"
compute "google.golang.org/api/compute/v0.beta"
"k8s.io/kops/upup/pkg/fi"
Expand Down
5 changes: 3 additions & 2 deletions upup/pkg/fi/k8sapi/k8s_keystore.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ package k8sapi
import (
"crypto/x509"
"fmt"
"math/big"
"time"

"github.com/golang/glog"
"k8s.io/api/core/v1"
apierrors "k8s.io/apimachinery/pkg/api/errors"
Expand All @@ -27,8 +30,6 @@ import (
"k8s.io/kops/pkg/pki"
"k8s.io/kops/upup/pkg/fi"
"k8s.io/kops/util/pkg/vfs"
"math/big"
"time"
)

type KubernetesKeystore struct {
Expand Down

0 comments on commit 51a64e8

Please sign in to comment.