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

Introduce a public (unauthenticated) schema

This commit is contained in:
Craig Jellick
2018-02-01 20:19:28 -07:00
committed by Darren Shepherd
parent 4b5ae49dd4
commit 5cc3e0bed2
5 changed files with 104 additions and 31 deletions

View File

@@ -6,6 +6,7 @@ package main
import (
clusterSchema "github.com/rancher/types/apis/cluster.cattle.io/v3/schema"
managementSchema "github.com/rancher/types/apis/management.cattle.io/v3/schema"
publicSchema "github.com/rancher/types/apis/management.cattle.io/v3public/schema"
projectSchema "github.com/rancher/types/apis/project.cattle.io/v3/schema"
"github.com/rancher/types/generator"
"k8s.io/api/apps/v1beta2"
@@ -16,6 +17,7 @@ import (
func main() {
generator.Generate(managementSchema.Schemas)
generator.Generate(publicSchema.PublicSchemas)
generator.Generate(clusterSchema.Schemas)
generator.Generate(projectSchema.Schemas)
generator.GenerateNativeTypes(v1.SchemeGroupVersion, []interface{}{