Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TranslateModule ¶
func TranslateState ¶
func TranslateState(info il.ProviderInfoSource, path string) (*plugin.ConvertStateResponse, error)
Types ¶
type PathInfo ¶
type PathInfo struct { // The final part of the path (e.g. a_field) Name string // The Resource that contains the path (e.g. data.simple_data_source) Resource shim.Resource // The DataSourceInfo for the path (e.g. data.simple_data_source) DataSourceInfo *tfbridge.DataSourceInfo // The ResourceInfo for the path (e.g. simple_resource) ResourceInfo *tfbridge.ResourceInfo // The Schema for the path (e.g. data.simple_data_source.a_field) Schema shim.Schema // The SchemaInfo for the path (e.g. data.simple_data_source.a_field) SchemaInfo *tfbridge.SchemaInfo // The expression for a local variable Expression *hcl.Expression }
Used to return info about a path in the schema.
Click to show internal directories.
Click to hide internal directories.