Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Ijaz Ahmad
ksonnet
Commits
b9ee543b
Unverified
Commit
b9ee543b
authored
Apr 20, 2018
by
bryanl
Browse files
move prototype to pkg/prototype
Signed-off-by:
bryanl
<
bryanliles@gmail.com
>
parent
0fdce557
Changes
31
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
21 additions
and
21 deletions
+21
-21
actions/import.go
actions/import.go
+1
-1
actions/import_test.go
actions/import_test.go
+1
-1
actions/prototype_describe.go
actions/prototype_describe.go
+1
-1
actions/prototype_list.go
actions/prototype_list.go
+1
-1
actions/prototype_preview.go
actions/prototype_preview.go
+3
-3
actions/prototype_search.go
actions/prototype_search.go
+1
-1
actions/prototype_search_test.go
actions/prototype_search_test.go
+1
-1
actions/prototype_use.go
actions/prototype_use.go
+1
-1
actions/prototype_use_test.go
actions/prototype_use_test.go
+1
-1
cmd/prototype.go
cmd/prototype.go
+3
-3
metadata/component.go
metadata/component.go
+1
-1
metadata/interface.go
metadata/interface.go
+1
-1
pkg/component/create.go
pkg/component/create.go
+1
-1
pkg/component/create_test.go
pkg/component/create_test.go
+1
-1
pkg/component/manager.go
pkg/component/manager.go
+1
-1
pkg/component/mocks/Manager.go
pkg/component/mocks/Manager.go
+1
-1
pkg/pkg/pkg.go
pkg/pkg/pkg.go
+1
-1
pkg/prototype/index.go
pkg/prototype/index.go
+0
-0
pkg/prototype/interface.go
pkg/prototype/interface.go
+0
-0
pkg/prototype/prototype_test.go
pkg/prototype/prototype_test.go
+0
-0
No files found.
actions/import.go
View file @
b9ee543b
...
...
@@ -30,9 +30,9 @@ import (
"github.com/ksonnet/ksonnet/metadata/app"
"github.com/ksonnet/ksonnet/metadata/params"
"github.com/ksonnet/ksonnet/pkg/component"
"github.com/ksonnet/ksonnet/pkg/prototype"
"github.com/ksonnet/ksonnet/pkg/schema"
utilyaml
"github.com/ksonnet/ksonnet/pkg/util/yaml"
"github.com/ksonnet/ksonnet/prototype"
"github.com/pkg/errors"
"github.com/spf13/afero"
)
...
...
actions/import_test.go
View file @
b9ee543b
...
...
@@ -30,7 +30,7 @@ import (
"github.com/ksonnet/ksonnet/metadata/app"
amocks
"github.com/ksonnet/ksonnet/metadata/app/mocks"
"github.com/ksonnet/ksonnet/metadata/params"
"github.com/ksonnet/ksonnet/prototype"
"github.com/ksonnet/ksonnet/
pkg/
prototype"
"github.com/stretchr/testify/require"
)
...
...
actions/prototype_describe.go
View file @
b9ee543b
...
...
@@ -23,7 +23,7 @@ import (
"github.com/ksonnet/ksonnet/metadata/app"
"github.com/ksonnet/ksonnet/pkg/pkg"
"github.com/ksonnet/ksonnet/prototype"
"github.com/ksonnet/ksonnet/
pkg/
prototype"
"github.com/pkg/errors"
)
...
...
actions/prototype_list.go
View file @
b9ee543b
...
...
@@ -22,8 +22,8 @@ import (
"github.com/ksonnet/ksonnet/metadata/app"
"github.com/ksonnet/ksonnet/pkg/pkg"
"github.com/ksonnet/ksonnet/pkg/prototype"
"github.com/ksonnet/ksonnet/pkg/util/table"
"github.com/ksonnet/ksonnet/prototype"
)
// RunPrototypeList runs `prototype list`
...
...
actions/prototype_preview.go
View file @
b9ee543b
...
...
@@ -24,9 +24,9 @@ import (
"github.com/ksonnet/ksonnet/metadata"
"github.com/ksonnet/ksonnet/metadata/app"
"github.com/ksonnet/ksonnet/pkg/pkg"
"github.com/ksonnet/ksonnet/prototype"
"github.com/ksonnet/ksonnet/prototype/snippet"
"github.com/ksonnet/ksonnet/prototype/snippet/jsonnet"
"github.com/ksonnet/ksonnet/
pkg/
prototype"
"github.com/ksonnet/ksonnet/
pkg/
prototype/snippet"
"github.com/ksonnet/ksonnet/
pkg/
prototype/snippet/jsonnet"
strutil
"github.com/ksonnet/ksonnet/strings"
"github.com/pkg/errors"
"github.com/spf13/pflag"
...
...
actions/prototype_search.go
View file @
b9ee543b
...
...
@@ -23,8 +23,8 @@ import (
"github.com/ksonnet/ksonnet/metadata/app"
"github.com/ksonnet/ksonnet/pkg/pkg"
"github.com/ksonnet/ksonnet/pkg/prototype"
"github.com/ksonnet/ksonnet/pkg/util/table"
"github.com/ksonnet/ksonnet/prototype"
)
// RunPrototypeSearch runs `prototype search`
...
...
actions/prototype_search_test.go
View file @
b9ee543b
...
...
@@ -21,7 +21,7 @@ import (
"github.com/ksonnet/ksonnet/metadata/app"
amocks
"github.com/ksonnet/ksonnet/metadata/app/mocks"
"github.com/ksonnet/ksonnet/prototype"
"github.com/ksonnet/ksonnet/
pkg/
prototype"
"github.com/stretchr/testify/require"
)
...
...
actions/prototype_use.go
View file @
b9ee543b
...
...
@@ -24,7 +24,7 @@ import (
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/ksonnet/ksonnet/
pkg/
prototype"
"github.com/pkg/errors"
)
...
...
actions/prototype_use_test.go
View file @
b9ee543b
...
...
@@ -21,7 +21,7 @@ import (
"github.com/ksonnet/ksonnet/metadata/app"
amocks
"github.com/ksonnet/ksonnet/metadata/app/mocks"
param
"github.com/ksonnet/ksonnet/metadata/params"
"github.com/ksonnet/ksonnet/prototype"
"github.com/ksonnet/ksonnet/
pkg/
prototype"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
...
...
cmd/prototype.go
View file @
b9ee543b
...
...
@@ -22,9 +22,9 @@ import (
"github.com/spf13/pflag"
"github.com/ksonnet/ksonnet/metadata"
"github.com/ksonnet/ksonnet/prototype"
"github.com/ksonnet/ksonnet/prototype/snippet"
"github.com/ksonnet/ksonnet/prototype/snippet/jsonnet"
"github.com/ksonnet/ksonnet/
pkg/
prototype"
"github.com/ksonnet/ksonnet/
pkg/
prototype/snippet"
"github.com/ksonnet/ksonnet/
pkg/
prototype/snippet/jsonnet"
str
"github.com/ksonnet/ksonnet/strings"
"github.com/spf13/cobra"
)
...
...
metadata/component.go
View file @
b9ee543b
...
...
@@ -22,7 +22,7 @@ import (
"github.com/ksonnet/ksonnet/metadata/app"
param
"github.com/ksonnet/ksonnet/metadata/params"
"github.com/ksonnet/ksonnet/pkg/component"
"github.com/ksonnet/ksonnet/prototype"
"github.com/ksonnet/ksonnet/
pkg/
prototype"
"github.com/pkg/errors"
"github.com/spf13/afero"
)
...
...
metadata/interface.go
View file @
b9ee543b
...
...
@@ -19,7 +19,7 @@ import (
"github.com/ksonnet/ksonnet/metadata/app"
param
"github.com/ksonnet/ksonnet/metadata/params"
"github.com/ksonnet/ksonnet/pkg/component"
"github.com/ksonnet/ksonnet/prototype"
"github.com/ksonnet/ksonnet/
pkg/
prototype"
"github.com/spf13/afero"
)
...
...
pkg/component/create.go
View file @
b9ee543b
...
...
@@ -23,7 +23,7 @@ import (
"github.com/ksonnet/ksonnet/metadata/app"
param
"github.com/ksonnet/ksonnet/metadata/params"
"github.com/ksonnet/ksonnet/prototype"
"github.com/ksonnet/ksonnet/
pkg/
prototype"
"github.com/pkg/errors"
log
"github.com/sirupsen/logrus"
"github.com/spf13/afero"
...
...
pkg/component/create_test.go
View file @
b9ee543b
...
...
@@ -20,7 +20,7 @@ import (
"testing"
"github.com/ksonnet/ksonnet/metadata/app/mocks"
"github.com/ksonnet/ksonnet/prototype"
"github.com/ksonnet/ksonnet/
pkg/
prototype"
"github.com/spf13/afero"
...
...
pkg/component/manager.go
View file @
b9ee543b
...
...
@@ -22,7 +22,7 @@ import (
"github.com/ksonnet/ksonnet/metadata/app"
param
"github.com/ksonnet/ksonnet/metadata/params"
"github.com/ksonnet/ksonnet/prototype"
"github.com/ksonnet/ksonnet/
pkg/
prototype"
"github.com/pkg/errors"
"github.com/spf13/afero"
)
...
...
pkg/component/mocks/Manager.go
View file @
b9ee543b
...
...
@@ -20,7 +20,7 @@ import app "github.com/ksonnet/ksonnet/metadata/app"
import
"github.com/ksonnet/ksonnet/pkg/component"
import
mock
"github.com/stretchr/testify/mock"
import
params
"github.com/ksonnet/ksonnet/metadata/params"
import
prototype
"github.com/ksonnet/ksonnet/prototype"
import
"github.com/ksonnet/ksonnet/
pkg/
prototype"
// Manager is an autogenerated mock type for the Manager type
type
Manager
struct
{
...
...
pkg/pkg/pkg.go
View file @
b9ee543b
...
...
@@ -23,7 +23,7 @@ import (
"github.com/ksonnet/ksonnet/metadata/app"
"github.com/ksonnet/ksonnet/pkg/parts"
"github.com/ksonnet/ksonnet/prototype"
"github.com/ksonnet/ksonnet/
pkg/
prototype"
"github.com/pkg/errors"
)
...
...
prototype/index.go
→
pkg/
prototype/index.go
View file @
b9ee543b
File moved
prototype/interface.go
→
pkg/
prototype/interface.go
View file @
b9ee543b
File moved
prototype/prototype_test.go
→
pkg/
prototype/prototype_test.go
View file @
b9ee543b
File moved
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment