1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-03 08:14:40 +00:00

Refactor types

This commit is contained in:
Darren Shepherd
2017-11-29 14:27:02 -07:00
parent ee148b4d18
commit 15e105a0ab
15 changed files with 89 additions and 43 deletions

View File

@@ -8,6 +8,7 @@ import (
"github.com/rancher/norman/api"
"github.com/rancher/norman/store/crd"
"github.com/rancher/norman/types"
"github.com/rancher/norman/types/factory"
"k8s.io/client-go/tools/clientcmd"
)
@@ -29,7 +30,7 @@ var (
Path: "/example/v1",
}
Schemas = types.NewSchemas()
Schemas = factory.Schemas(&version)
)
func main() {