2017-11-15 23:59:47 +00:00
|
|
|
//go:generate go run generator/cleanup/main.go
|
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-13 21:49:28 +00:00
|
|
|
authzSchema "github.com/rancher/types/apis/authorization.cattle.io/v1/schema"
|
|
|
|
clusterSchema "github.com/rancher/types/apis/cluster.cattle.io/v1/schema"
|
|
|
|
workloadSchema "github.com/rancher/types/apis/workload.cattle.io/v1/schema"
|
2017-11-12 04:14:05 +00:00
|
|
|
"github.com/rancher/types/generator"
|
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
|
|
|
}
|