* Use go mod instead of glide
* Add `--with-kompose-annotation` flag to allow us to switch it off for tests
* Remove hostpid support (since the newest sdk does not support it)
* Create new test script and fixtures
* Remove replicationcontroller support
This commit is contained in:
Hang Yan
2020-08-07 17:25:52 +08:00
committed by GitHub
parent d780067bf9
commit 525b68f027
2680 changed files with 457661 additions and 730294 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ import (
"reflect"
"strings"
"k8s.io/kubernetes/pkg/api"
api "k8s.io/api/core/v1"
"github.com/fatih/structs"
"github.com/kubernetes/kompose/pkg/kobject"
+1 -2
View File
@@ -23,8 +23,7 @@ import (
"testing"
"github.com/kubernetes/kompose/pkg/kobject"
"k8s.io/kubernetes/pkg/api"
api "k8s.io/api/core/v1"
"time"
"github.com/docker/cli/cli/compose/types"
+2 -1
View File
@@ -25,7 +25,8 @@ import (
"github.com/kubernetes/kompose/pkg/kobject"
"github.com/pkg/errors"
"k8s.io/kubernetes/pkg/api"
api "k8s.io/api/core/v1"
)
const (
+2 -1
View File
@@ -32,7 +32,8 @@ import (
"github.com/kubernetes/kompose/pkg/transformer"
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"k8s.io/kubernetes/pkg/api"
api "k8s.io/api/core/v1"
)
// Parse Docker Compose with libcompose (only supports v1 and v2). Eventually we will
+1 -1
View File
@@ -25,7 +25,7 @@ import (
libcomposeyaml "github.com/docker/libcompose/yaml"
"k8s.io/kubernetes/pkg/api"
api "k8s.io/api/core/v1"
"github.com/docker/cli/cli/compose/loader"
"github.com/docker/cli/cli/compose/types"