Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Unwrap ¶
func Unwrap(f *service.ConfigField) docs.FieldSpec
Unwrap a public *service.ConfigField type into an internal docs.FieldSpec. This is useful in situations where a config spec needs to be shared by new components built by the service package at the same time as older components using the internal APIs directly.
In these cases we want the canonical spec to be made with the service package but still extract a docs.FieldSpec from it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.