1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 12:48:45 +00:00

Add VersionLinks field to schemas

This commit is contained in:
Darren Shepherd
2018-04-20 13:11:58 -07:00
parent 93fb449d4a
commit 4594f04e9e

View File

@@ -68,7 +68,9 @@ func catalogTypes(schemas *types.Schemas) *types.Schemas {
AddMapperForType(&Version, v3.Template{},
m.DisplayName{},
).
MustImport(&Version, v3.Template{}).
MustImport(&Version, v3.Template{}, struct {
VersionLinks map[string]string
}{}).
MustImport(&Version, v3.TemplateVersion{}).
MustImport(&Version, v3.TemplateContent{})
}