mirror of
https://github.com/rancher/norman.git
synced 2025-09-03 08:14:40 +00:00
Refactor types
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user