using new lib

pull/154/head
Karolis Rusenas 2018-03-03 20:06:54 +00:00
parent 62cdff93df
commit 35dd41787f
5 changed files with 7 additions and 6 deletions

View File

@ -7,7 +7,7 @@ import (
"github.com/keel-hq/keel/bot/formatter"
"github.com/keel-hq/keel/provider/kubernetes"
"k8s.io/client-go/pkg/apis/extensions/v1beta1"
"k8s.io/api/extensions/v1beta1"
log "github.com/sirupsen/logrus"
)

View File

@ -12,7 +12,7 @@ import (
"github.com/keel-hq/keel/provider/kubernetes"
"github.com/keel-hq/keel/types"
"k8s.io/client-go/pkg/api/v1"
"k8s.io/api/core/v1"
log "github.com/sirupsen/logrus"
)

View File

@ -8,7 +8,7 @@ import (
"github.com/keel-hq/keel/types"
"github.com/keel-hq/keel/util/image"
testutil "github.com/keel-hq/keel/util/testing"
"k8s.io/client-go/pkg/api/v1"
"k8s.io/api/core/v1"
)
var secretDataPayload = `{"https://index.docker.io/v1/":{"username":"user-x","password":"pass-x","email":"karolis.rusenas@gmail.com","auth":"somethinghere"}}`

View File

@ -5,8 +5,9 @@ import (
"fmt"
"strings"
"github.com/docker/distribution/digest"
// "github.com/docker/distribution/digest"
"github.com/docker/distribution/reference"
"github.com/opencontainers/go-digest"
)
const (

View File

@ -1,9 +1,9 @@
package testing
import (
"k8s.io/api/core/v1"
"k8s.io/api/extensions/v1beta1"
core_v1 "k8s.io/client-go/kubernetes/typed/core/v1"
"k8s.io/client-go/pkg/api/v1"
"k8s.io/client-go/pkg/apis/extensions/v1beta1"
)
// FakeK8sImplementer - fake implementer used for testing