1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-04 08:45:22 +00:00

Add offspring controller

This commit is contained in:
Darren Shepherd
2017-12-19 21:39:57 -07:00
parent 2825fdb9c3
commit 2550f12a9a
11 changed files with 629 additions and 9 deletions

View File

@@ -65,8 +65,8 @@ var (
APIRoot = types.Schema{
ID: "apiRoot",
Version: Version,
ResourceMethods: []string{},
CollectionMethods: []string{},
CollectionMethods: []string{"GET"},
ResourceMethods: []string{"GET"},
ResourceFields: map[string]types.Field{
"apiVersion": {Type: "map[json]"},
"path": {Type: "string"},