mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
500744bb94
Also adds a hack go script to print the embedded CRDs, for developer use. Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
14 lines
235 B
Go
14 lines
235 B
Go
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/pkg/crd"
|
|
)
|
|
|
|
func main() {
|
|
crd.Print(os.Stdout, k3scrd.List())
|
|
}
|