k3s/hack/crdgen.go

14 lines
238 B
Go
Raw Normal View History

package main
import (
"os"
k3scrd "github.com/k3s-io/k3s/pkg/crd"
_ "github.com/k3s-io/k3s/pkg/generated/controllers/k3s.cattle.io/v1"
"github.com/rancher/wrangler/v3/pkg/crd"
)
func main() {
crd.Print(os.Stdout, k3scrd.List())
}