conversion

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 587

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

func RegisterConversions(provider *config.Provider) error

RegisterConversions registers the API version conversions from the specified provider configuration.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL