{{ define "members" }} {{- /* . is a apiType */ -}} {{- range .GetMembers -}} {{- /* . is a apiMember */ -}} {{- if not .Hidden }} {{ .FieldName }} {{- if and (not .IsOptional) (not .IsInline) }} [Required]{{- end -}}
{{/* Link for type reference */}} {{- with .GetType -}} {{- if .Link -}} {{ .DisplayName }} {{- else -}} {{ .DisplayName }} {{- end -}} {{- end }} {{- if .IsInline -}} (Members of {{ .FieldName }} are embedded into this type.) {{- end }} {{ if .GetComment -}} {{ .GetComment }} {{- else -}} No description provided. {{- end }} {{- if and (eq (.GetType.Name.Name) "ObjectMeta") -}} Refer to the Kubernetes API documentation for the fields of the metadata field. {{- end -}} {{- end }} {{- end }} {{ end }}