Documentation ¶
Index ¶
Constants ¶
View Source
const ( OptionalRequirementLevel = "Optional" RequiredWhenParentPresentRequirementLevel = "RequiredWhenParentPresent" RequiredRequirementLevel = "Required" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldDescription ¶
type FieldDescription struct { FullName []string ShortName string Description string Type string Format string RequirementLevel RequirementLevel Children []FieldDescription AdditionalProperties []FieldDescription }
func GetSpecDescription ¶
func GetSpecDescription(crd *apiextensions.CustomResourceDefinition) FieldDescription
func GetStatusDescription ¶
func GetStatusDescription(crd *apiextensions.CustomResourceDefinition) (FieldDescription, error)
type RequirementLevel ¶
type RequirementLevel string
Click to show internal directories.
Click to hide internal directories.