Kindsys: Target k8s style resource definitions (#67008)

Co-authored-by: sam boyer <sdboyer@grafana.com>
This commit is contained in:
Ryan McKinleyandsam boyer authored and GitHub committed 2023-04-27 23:32:38 +03:00
1 parent b71b778d0d
commit ca1f79b9ba
80 files changed
+1991 -640

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
package {{ .PackageName }}
// Resource is the wire representation of {{ .KindName }}. (TODO be better)
type Resource struct {
{{- range .SubresourceNames }}
{{ . }} {{ . }} `json:"{{ . | ToLower }}"`{{end}}
}