Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConversions ¶
func GetConversions(tr resource.Terraformed) []conversion.Conversion
GetConversions returns the conversion.Conversions registered for the specified Terraformed resource.
func RegisterConversions ¶
RegisterConversions registers the API version conversions from the specified provider configuration. The specified scheme should contain the registrations for the types whose versions are to be converted. If a registration for a Go schema is not found in the specified registry, RoundTrip does not error but only wildcard conversions must be used with the registry.
func RoundTrip ¶
func RoundTrip(dst, src resource.Terraformed) error
RoundTrip round-trips from `src` to `dst` via an unstructured map[string]any representation of the `src` object and applies the registered webhook conversion functions.
Types ¶
This section is empty.