1
0
mirror of https://github.com/rancher/types.git synced 2025-09-01 05:09:10 +00:00

Updates type for subcontext rewrite

This commit is contained in:
Darren Shepherd
2018-02-09 13:33:36 -07:00
parent 55e121c54f
commit 0e56750e82
5 changed files with 50 additions and 56 deletions

View File

@@ -12,9 +12,11 @@ import (
var (
Version = types.APIVersion{
Version: "v3",
Group: "cluster.cattle.io",
Path: "/v3/clusters",
Version: "v3",
Group: "cluster.cattle.io",
Path: "/v3/cluster",
SubContext: true,
SubContextSchema: "/v3/schemas/cluster",
}
Schemas = factory.Schemas(&Version).