1
0
mirror of https://github.com/rancher/types.git synced 2025-04-28 18:33:20 +00:00
types/main.go

17 lines
454 B
Go
Raw Normal View History

2017-11-11 04:58:42 +00:00
//go:generate go run main.go
2017-11-10 20:23:15 +00:00
package main
import (
2017-11-12 04:14:05 +00:00
"github.com/rancher/types/generator"
authzSchema "github.com/rancher/types/io.cattle.authorization/v1/schema"
2017-11-11 04:58:42 +00:00
clusterSchema "github.com/rancher/types/io.cattle.cluster/v1/schema"
2017-11-12 04:14:05 +00:00
workloadSchema "github.com/rancher/types/io.cattle.workload/v1/schema"
2017-11-11 04:58:42 +00:00
)
2017-11-10 20:23:15 +00:00
func main() {
2017-11-12 04:14:05 +00:00
generator.Generate(clusterSchema.Schemas)
generator.Generate(workloadSchema.Schemas)
generator.Generate(authzSchema.Schemas)
2017-11-10 20:23:15 +00:00
}