Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deprecation ¶ added in v1.10.0
type Deprecation struct { // Since denotes from which version the field is flagged as deprecated Since string // Field represents the field by which the deprecated field is superseded Field Field }
Deprecation specifies field deprecation info.
func IsDeprecated ¶ added in v1.10.0
func IsDeprecated(f Field) (bool, *Deprecation)
IsDeprecated determines if the given field is deprecated.
type FieldInfo ¶
type FieldInfo struct { Field Field Desc string Type kparams.Type Examples []string Deprecation *Deprecation }
FieldInfo is the field metadata descriptor.
func (FieldInfo) IsDeprecated ¶ added in v1.10.0
IsDeprecated determines if the field is deprecated.
Click to show internal directories.
Click to hide internal directories.