Start api directory, which will become a module.

This commit is contained in:
Jeffrey Regan
2019-10-17 11:36:34 -07:00
parent 180429774a
commit e5c8b5ec8f
226 changed files with 623 additions and 689 deletions

View File

@@ -5,10 +5,10 @@ package config
import (
"reflect"
"sigs.k8s.io/kustomize/v3/api/resid"
"testing"
"sigs.k8s.io/kustomize/v3/internal/loadertest"
"sigs.k8s.io/kustomize/v3/pkg/gvk"
)
func TestMakeDefaultConfig(t *testing.T) {
@@ -31,7 +31,7 @@ namePrefix:
expected := &TransformerConfig{
NamePrefix: []FieldSpec{
{
Gvk: gvk.Gvk{Kind: "SomeKind"},
Gvk: resid.Gvk{Kind: "SomeKind"},
Path: "nameprefix/path",
},
},