mirror of
https://github.com/grafana/grafana.git
synced 2026-08-26 21:37:31 -05:00
Kindsys: Target k8s style resource definitions (#67008)
Co-authored-by: sam boyer <sdboyer@grafana.com>
This commit is contained in:
co-authored by
sam boyer
parent
b71b778d0d
commit
ca1f79b9ba
@@ -0,0 +1,7 @@
|
||||
package {{ .PackageName }}
|
||||
|
||||
// Resource is the wire representation of {{ .KindName }}. (TODO be better)
|
||||
type Resource struct {
|
||||
{{- range .SubresourceNames }}
|
||||
{{ . }} {{ . }} `json:"{{ . | ToLower }}"`{{end}}
|
||||
}
|
||||
Reference in New Issue
Block a user