File tree 8 files changed +10
-6
lines changed
8 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ package cmd
3
3
import (
4
4
"io"
5
5
6
+ cmdutil "github.com/redhat-developer/opencompose/pkg/cmd/util"
6
7
"github.com/spf13/cobra"
7
8
"github.com/spf13/viper"
8
- cmdutil "github.com/redhat-developer/opencompose/pkg/cmd/util"
9
9
)
10
10
11
11
var (
Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ import (
7
7
"strings"
8
8
9
9
"github.com/ghodss/yaml"
10
- "github.com/spf13/cobra"
11
- "github.com/spf13/viper"
12
10
cmdutil "github.com/redhat-developer/opencompose/pkg/cmd/util"
13
11
"github.com/redhat-developer/opencompose/pkg/encoding"
14
12
"github.com/redhat-developer/opencompose/pkg/object"
15
13
"github.com/redhat-developer/opencompose/pkg/transform"
16
14
"github.com/redhat-developer/opencompose/pkg/transform/kubernetes"
17
15
"github.com/redhat-developer/opencompose/pkg/transform/openshift"
16
+ "github.com/spf13/cobra"
17
+ "github.com/spf13/viper"
18
18
//"k8s.io/client-go/pkg/api"
19
19
//"k8s.io/client-go/pkg/runtime/schema"
20
20
)
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package util
2
2
3
3
import (
4
4
"fmt"
5
+
5
6
"github.com/spf13/cobra"
6
7
flag "github.com/spf13/pflag"
7
8
"github.com/spf13/viper"
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ package cmd
3
3
import (
4
4
"io"
5
5
6
+ cmdutil "github.com/redhat-developer/opencompose/pkg/cmd/util"
6
7
"github.com/spf13/cobra"
7
8
"github.com/spf13/viper"
8
- cmdutil "github.com/redhat-developer/opencompose/pkg/cmd/util"
9
9
)
10
10
11
11
var (
Original file line number Diff line number Diff line change 4
4
"fmt"
5
5
"io"
6
6
7
+ "github.com/redhat-developer/opencompose/pkg/version"
7
8
"github.com/spf13/cobra"
8
9
"github.com/spf13/viper"
9
- "github.com/redhat-developer/opencompose/pkg/version"
10
10
)
11
11
12
12
var (
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package encoding
2
2
3
3
import (
4
4
"errors"
5
+
5
6
"github.com/redhat-developer/opencompose/pkg/encoding/v1"
6
7
"github.com/redhat-developer/opencompose/pkg/object"
7
8
)
Original file line number Diff line number Diff line change 1
1
package v1
2
2
3
3
import (
4
- "github.com/redhat-developer/opencompose/pkg/object"
5
4
"reflect"
6
5
"testing"
6
+
7
+ "github.com/redhat-developer/opencompose/pkg/object"
7
8
)
8
9
9
10
func TestPortUnmarshal (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package encoding
2
2
3
3
import (
4
4
"fmt"
5
+
5
6
"github.com/ghodss/yaml"
6
7
)
7
8
You can’t perform that action at this time.
0 commit comments