Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ijaz Ahmad
ksonnet
Commits
3ec4bc0a
Unverified
Commit
3ec4bc0a
authored
Apr 20, 2018
by
bryanl
Browse files
move generator to pkg/util/kslib
Signed-off-by:
bryanl
<
bryanliles@gmail.com
>
parent
990a5674
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
pkg/lib/lib.go
pkg/lib/lib.go
+2
-2
pkg/util/kslib/ksonnet.go
pkg/util/kslib/ksonnet.go
+1
-1
pkg/util/kslib/ksonnet_test.go
pkg/util/kslib/ksonnet_test.go
+1
-1
No files found.
pkg/lib/lib.go
View file @
3ec4bc0a
...
...
@@ -24,7 +24,7 @@ import (
log
"github.com/sirupsen/logrus"
"github.com/spf13/afero"
"github.com/ksonnet/ksonnet/
generator
"
"github.com/ksonnet/ksonnet/
pkg/util/kslib
"
)
const
(
...
...
@@ -80,7 +80,7 @@ func (m *Manager) GenerateLibData(useVersionPath bool) error {
return
err
}
kl
,
err
:=
generator
.
Ksonnet
(
b
)
kl
,
err
:=
kslib
.
Ksonnet
(
b
)
if
err
!=
nil
{
return
err
}
...
...
generator
/ksonnet.go
→
pkg/util/kslib
/ksonnet.go
View file @
3ec4bc0a
...
...
@@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package
generator
package
kslib
import
(
"encoding/json"
...
...
generator
/ksonnet_test.go
→
pkg/util/kslib
/ksonnet_test.go
View file @
3ec4bc0a
...
...
@@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package
generator
package
kslib
import
(
"errors"
...
...
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