Unverified Commit a0228cf3 authored by bryanl's avatar bryanl
Browse files

move component to pkg/component


Signed-off-by: default avatarbryanl <bryanliles@gmail.com>
parent 7d0b21b5
......@@ -23,8 +23,8 @@ import (
"testing"
"github.com/ksonnet/ksonnet/client"
cmocks "github.com/ksonnet/ksonnet/component/mocks"
"github.com/ksonnet/ksonnet/metadata/app/mocks"
cmocks "github.com/ksonnet/ksonnet/pkg/component/mocks"
"github.com/ksonnet/ksonnet/pkg/registry"
rmocks "github.com/ksonnet/ksonnet/pkg/registry/mocks"
"github.com/pkg/errors"
......
......@@ -20,8 +20,8 @@ import (
"os"
"sort"
"github.com/ksonnet/ksonnet/component"
"github.com/ksonnet/ksonnet/metadata/app"
"github.com/ksonnet/ksonnet/pkg/component"
"github.com/ksonnet/ksonnet/pkg/util/table"
"github.com/pkg/errors"
)
......
......@@ -19,9 +19,9 @@ import (
"bytes"
"testing"
"github.com/ksonnet/ksonnet/component"
cmocks "github.com/ksonnet/ksonnet/component/mocks"
amocks "github.com/ksonnet/ksonnet/metadata/app/mocks"
"github.com/ksonnet/ksonnet/pkg/component"
cmocks "github.com/ksonnet/ksonnet/pkg/component/mocks"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
)
......
......@@ -16,8 +16,8 @@
package actions
import (
"github.com/ksonnet/ksonnet/component"
"github.com/ksonnet/ksonnet/metadata/app"
"github.com/ksonnet/ksonnet/pkg/component"
)
// RunComponentRm runs `component list`
......
......@@ -16,8 +16,8 @@
package actions
import (
"github.com/ksonnet/ksonnet/component"
"github.com/ksonnet/ksonnet/metadata/app"
"github.com/ksonnet/ksonnet/pkg/component"
)
// RunEnvTargets runs `env targets`
......
......@@ -21,9 +21,9 @@ import (
"github.com/stretchr/testify/mock"
cmocks "github.com/ksonnet/ksonnet/component/mocks"
"github.com/ksonnet/ksonnet/metadata/app"
amocks "github.com/ksonnet/ksonnet/metadata/app/mocks"
cmocks "github.com/ksonnet/ksonnet/pkg/component/mocks"
"github.com/stretchr/testify/require"
)
......
......@@ -27,9 +27,9 @@ import (
"path/filepath"
"strings"
"github.com/ksonnet/ksonnet/component"
"github.com/ksonnet/ksonnet/metadata/app"
"github.com/ksonnet/ksonnet/metadata/params"
"github.com/ksonnet/ksonnet/pkg/component"
"github.com/ksonnet/ksonnet/pkg/schema"
utilyaml "github.com/ksonnet/ksonnet/pkg/util/yaml"
"github.com/ksonnet/ksonnet/prototype"
......
......@@ -16,8 +16,8 @@
package actions
import (
"github.com/ksonnet/ksonnet/component"
"github.com/ksonnet/ksonnet/metadata/app"
"github.com/ksonnet/ksonnet/pkg/component"
"github.com/pkg/errors"
)
......
......@@ -21,8 +21,8 @@ import (
"github.com/pkg/errors"
"github.com/stretchr/testify/mock"
cmocks "github.com/ksonnet/ksonnet/component/mocks"
amocks "github.com/ksonnet/ksonnet/metadata/app/mocks"
cmocks "github.com/ksonnet/ksonnet/pkg/component/mocks"
"github.com/stretchr/testify/require"
)
......
......@@ -20,8 +20,8 @@ import (
"os"
"sort"
"github.com/ksonnet/ksonnet/component"
"github.com/ksonnet/ksonnet/metadata/app"
"github.com/ksonnet/ksonnet/pkg/component"
"github.com/ksonnet/ksonnet/pkg/util/table"
)
......
......@@ -19,9 +19,9 @@ import (
"bytes"
"testing"
"github.com/ksonnet/ksonnet/component"
cmocks "github.com/ksonnet/ksonnet/component/mocks"
amocks "github.com/ksonnet/ksonnet/metadata/app/mocks"
"github.com/ksonnet/ksonnet/pkg/component"
cmocks "github.com/ksonnet/ksonnet/pkg/component/mocks"
"github.com/stretchr/testify/require"
)
......
......@@ -18,8 +18,8 @@ package actions
import (
"strings"
"github.com/ksonnet/ksonnet/component"
"github.com/ksonnet/ksonnet/metadata/app"
"github.com/ksonnet/ksonnet/pkg/component"
"github.com/ksonnet/ksonnet/pkg/env"
"github.com/pkg/errors"
)
......
......@@ -18,10 +18,10 @@ package actions
import (
"testing"
"github.com/ksonnet/ksonnet/component"
cmocks "github.com/ksonnet/ksonnet/component/mocks"
"github.com/ksonnet/ksonnet/metadata/app"
amocks "github.com/ksonnet/ksonnet/metadata/app/mocks"
"github.com/ksonnet/ksonnet/pkg/component"
cmocks "github.com/ksonnet/ksonnet/pkg/component/mocks"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
......
......@@ -19,8 +19,8 @@ import (
"io"
"os"
"github.com/ksonnet/ksonnet/component"
"github.com/ksonnet/ksonnet/metadata/app"
"github.com/ksonnet/ksonnet/pkg/component"
"github.com/ksonnet/ksonnet/pkg/util/table"
)
......
......@@ -20,10 +20,10 @@ import (
"path/filepath"
"testing"
"github.com/ksonnet/ksonnet/component"
"github.com/ksonnet/ksonnet/component/mocks"
"github.com/ksonnet/ksonnet/metadata/app"
amocks "github.com/ksonnet/ksonnet/metadata/app/mocks"
"github.com/ksonnet/ksonnet/pkg/component"
"github.com/ksonnet/ksonnet/pkg/component/mocks"
"github.com/pkg/errors"
"github.com/stretchr/testify/require"
)
......
......@@ -19,8 +19,8 @@ import (
"io"
"os"
"github.com/ksonnet/ksonnet/component"
"github.com/ksonnet/ksonnet/metadata/app"
"github.com/ksonnet/ksonnet/pkg/component"
"github.com/ksonnet/ksonnet/pkg/util/table"
"github.com/pkg/errors"
)
......
......@@ -20,10 +20,10 @@ import (
"path/filepath"
"testing"
"github.com/ksonnet/ksonnet/component"
cmocks "github.com/ksonnet/ksonnet/component/mocks"
"github.com/ksonnet/ksonnet/metadata/app"
amocks "github.com/ksonnet/ksonnet/metadata/app/mocks"
"github.com/ksonnet/ksonnet/pkg/component"
cmocks "github.com/ksonnet/ksonnet/pkg/component/mocks"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
......
......@@ -18,9 +18,9 @@ package actions
import (
"strings"
"github.com/ksonnet/ksonnet/component"
"github.com/ksonnet/ksonnet/metadata/app"
mp "github.com/ksonnet/ksonnet/metadata/params"
"github.com/ksonnet/ksonnet/pkg/component"
"github.com/ksonnet/ksonnet/pkg/env"
"github.com/ksonnet/ksonnet/pkg/util/jsonnet"
"github.com/pkg/errors"
......
......@@ -18,10 +18,10 @@ package actions
import (
"testing"
"github.com/ksonnet/ksonnet/component"
cmocks "github.com/ksonnet/ksonnet/component/mocks"
"github.com/ksonnet/ksonnet/metadata/app"
amocks "github.com/ksonnet/ksonnet/metadata/app/mocks"
"github.com/ksonnet/ksonnet/pkg/component"
cmocks "github.com/ksonnet/ksonnet/pkg/component/mocks"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
......
......@@ -20,9 +20,9 @@ import (
"os"
"strings"
"github.com/ksonnet/ksonnet/component"
"github.com/ksonnet/ksonnet/metadata/app"
param "github.com/ksonnet/ksonnet/metadata/params"
"github.com/ksonnet/ksonnet/pkg/component"
"github.com/ksonnet/ksonnet/pkg/pkg"
"github.com/ksonnet/ksonnet/prototype"
"github.com/pkg/errors"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment