pulcheck

package
v3.97.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

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

func EnsureProviderValid(t T, tfp *schema.Provider)

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.

type T

type T interface {
	Logf(string, ...any)
	TempDir() string
	Skip(...any)
	require.TestingT
	assert.TestingT
	pulumitest.PT
}

This is an experimental API.

Jump to

Keyboard shortcuts

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