mirror of
https://github.com/rancher/types.git
synced 2025-07-05 17:56:12 +00:00
18 lines
516 B
Go
18 lines
516 B
Go
//go:generate go run generator/cleanup/main.go
|
|
//go:generate go run main.go
|
|
|
|
package main
|
|
|
|
import (
|
|
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"
|
|
"github.com/rancher/types/generator"
|
|
)
|
|
|
|
func main() {
|
|
generator.Generate(clusterSchema.Schemas)
|
|
generator.Generate(workloadSchema.Schemas)
|
|
generator.Generate(authzSchema.Schemas)
|
|
}
|