Documentation ¶
Index ¶
- func BridgedProvider(t T, providerName string, tfp *schema.Provider, opts ...BridgedProviderOpt) info.Provider
- func EnsureProviderValid(t T, tfp *schema.Provider)
- func ProviderServerFromInfo(ctx context.Context, providerInfo tfbridge.ProviderInfo) (pulumirpc.ResourceProviderServer, error)
- func PulCheck(t T, bridgedProvider info.Provider, program string, opts ...opttest.Option) *pulumitest.PulumiTest
- func StartPulumiProvider(ctx context.Context, providerInfo tfbridge.ProviderInfo) (*rpcutil.ServeHandle, error)
- type BridgedProviderOpt
- type T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BridgedProvider ¶
func BridgedProvider(t T, providerName string, tfp *schema.Provider, opts ...BridgedProviderOpt) info.Provider
This is an experimental API.
func EnsureProviderValid ¶
This is an experimental API.
func ProviderServerFromInfo ¶ added in v3.97.1
func ProviderServerFromInfo(ctx context.Context, providerInfo tfbridge.ProviderInfo) (pulumirpc.ResourceProviderServer, error)
func PulCheck ¶
func PulCheck(t T, bridgedProvider info.Provider, program string, opts ...opttest.Option) *pulumitest.PulumiTest
This is an experimental API.
func StartPulumiProvider ¶
func StartPulumiProvider(ctx context.Context, providerInfo tfbridge.ProviderInfo) (*rpcutil.ServeHandle, error)
This is an experimental API.
Types ¶
type BridgedProviderOpt ¶
type BridgedProviderOpt func(*bridgedProviderOpts)
BridgedProviderOpts
func EnableAccurateBridgePreviews ¶ added in v3.96.0
func EnableAccurateBridgePreviews() BridgedProviderOpt
func WithConfigInfo ¶ added in v3.95.0
func WithConfigInfo(info map[string]*info.Schema) BridgedProviderOpt
WithResourceInfo allows the user to set the info.Provider.Config field within a BridgedProvider.
This is an experimental API.
func WithResourceInfo ¶ added in v3.94.0
func WithResourceInfo(info map[string]*info.Resource) BridgedProviderOpt
WithResourceInfo allows the user to set the info.Provider.Resources field within a BridgedProvider.
This is an experimental API.
func WithStateEdit ¶
func WithStateEdit(f shimv2.PlanStateEditFunc) BridgedProviderOpt
Click to show internal directories.
Click to hide internal directories.