{{ define "type" }} ## {{ .Name.Name }} {#{{ .Anchor }}} {{ if eq .Kind "Alias" -}} (Alias of `{{ .Underlying }}`) {{ end }} {{- with .References }} **Appears in:** {{ range . }} {{ if or .Referenced .IsExported -}} - [{{ .DisplayName }}]({{ .Link }}) {{ end -}} {{- end -}} {{- end }} {{ if .GetComment -}} {{ .GetComment }} {{ end }} {{ if .GetMembers -}} {{- /* . is a apiType */ -}} {{- if .IsExported -}} {{- /* Add apiVersion and kind rows if deemed necessary */}} {{- end -}} {{/* The actual list of members is in the following template */}} {{- template "members" . -}}
FieldDescription
apiVersion [Required]
string
{{- .APIGroup -}}
kind [Required]
string
{{- .Name.Name -}}
{{- end -}} {{- end -}}