Documentation
¶
Index ¶
- Variables
- func ConfigInstance() interface{}
- func DownloadProvider(ctx context.Context, name, version string, d *plugin.TableMapData) (path string, err error)
- func FromCtyMapKey(key string) *transform.ColumnTransforms
- func ListDataSource(name, pluginLocation string) ...
- func Plugin(ctx context.Context) *plugin.Plugin
- func PluginTables(ctx context.Context, d *plugin.TableMapData) (map[string]*plugin.Table, error)
- type TFBridgeConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigSchema = map[string]*schema.Attribute{ "provider": {Type: schema.TypeString}, "version": {Type: schema.TypeString}, "provider_config": {Type: schema.TypeString}, }
View Source
var Handshake = plugin.HandshakeConfig{
MagicCookieKey: "TF_PLUGIN_MAGIC_COOKIE",
MagicCookieValue: "d602bf8f470bc67ca7faa0386276bbdd4330efaf76d1a219cb4d6991ca9872b2",
}
Functions ¶
func ConfigInstance ¶
func ConfigInstance() interface{}
func DownloadProvider ¶
func DownloadProvider(ctx context.Context, name, version string, d *plugin.TableMapData) (path string, err error)
DownloadProvider uses the Terraform Registry API to download a provider binary into the temp directory.
func FromCtyMapKey ¶
func FromCtyMapKey(key string) *transform.ColumnTransforms
func ListDataSource ¶
func PluginTables ¶
Types ¶
type TFBridgeConfig ¶
type TFBridgeConfig struct { Provider *string `cty:"provider"` Version *string `cty:"version"` ProviderConfig *string `cty:"provider_config"` }
func GetConfig ¶
func GetConfig(connection *plugin.Connection) TFBridgeConfig
GetConfig :: retrieve and cast connection config from query data
func (TFBridgeConfig) String ¶
func (c TFBridgeConfig) String() string
Click to show internal directories.
Click to hide internal directories.