Documentation ¶
Index ¶
- Variables
- func AssertProvider(f AssertFn) tfbridge.ProviderInfo
- func MuxedRandomProvider() tfbridge.ProviderInfo
- func MuxedRandomProviderWithSdkProvider(sdk2provider *sdk2schema.Provider) tfbridge.ProviderInfo
- func RandomProvider() tfbridge.ProviderInfo
- func SyntheticTestBridgeProvider() tfbridge.ProviderInfo
- func TLSProvider() tfbridge.ProviderInfo
- type AssertFn
- type ConfigTestProvider
- func (p *ConfigTestProvider) Configure(_ context.Context, _ provider.ConfigureRequest, ...)
- func (*ConfigTestProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (*ConfigTestProvider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse)
- func (*ConfigTestProvider) Resources(context.Context) []func() resource.Resource
- func (p *ConfigTestProvider) Schema(_ context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse)
- type PortModel
- type PropagatesNullFrom
- func (mod PropagatesNullFrom) Description(_ context.Context) string
- func (mod PropagatesNullFrom) MarkdownDescription(ctx context.Context) string
- func (mod PropagatesNullFrom) PlanModifyBool(ctx context.Context, req planmodifier.BoolRequest, ...)
- func (mod PropagatesNullFrom) PlanModifyList(ctx context.Context, req planmodifier.ListRequest, ...)
- func (mod PropagatesNullFrom) PlanModifyMap(ctx context.Context, req planmodifier.MapRequest, ...)
- func (mod PropagatesNullFrom) PlanModifyNumber(ctx context.Context, req planmodifier.NumberRequest, ...)
- func (mod PropagatesNullFrom) PlanModifyString(ctx context.Context, req planmodifier.StringRequest, ...)
- type ServiceModel
- type SingleNestedAttrModel
- type TupleType
- func (c TupleType) ApplyTerraform5AttributePathStep(step tftypes.AttributePathStep) (any, error)
- func (c TupleType) ElementTypes() []attr.Type
- func (c TupleType) Equal(o attr.Type) bool
- func (c TupleType) GetDeprecationMessage() string
- func (c TupleType) GetDescription() string
- func (c TupleType) GetMarkdownDescription() string
- func (c TupleType) String() string
- func (c TupleType) TerraformType(ctx context.Context) tftypes.Type
- func (c TupleType) Type() attr.Type
- func (c TupleType) ValueFromTerraform(ctx context.Context, val tftypes.Value) (attr.Value, error)
- func (c TupleType) ValueType(context.Context) attr.Value
- func (c TupleType) WithElementTypes(types []attr.Type) attr.TypeWithElementTypes
- type TupleValue
Constants ¶
This section is empty.
Variables ¶
View Source
var BigMetadata []byte
Functions ¶
func AssertProvider ¶
func AssertProvider(f AssertFn) tfbridge.ProviderInfo
func MuxedRandomProvider ¶
func MuxedRandomProvider() tfbridge.ProviderInfo
func MuxedRandomProviderWithSdkProvider ¶
func MuxedRandomProviderWithSdkProvider(sdk2provider *sdk2schema.Provider) tfbridge.ProviderInfo
func RandomProvider ¶
func RandomProvider() tfbridge.ProviderInfo
Adapts Random provider to tfbridge for testing tfbridge against a realistic provider.
func SyntheticTestBridgeProvider ¶
func SyntheticTestBridgeProvider() tfbridge.ProviderInfo
Synthetic provider is specifically constructed to test various features of tfbridge and is the core of pulumi-resource-testbridge.
func TLSProvider ¶
func TLSProvider() tfbridge.ProviderInfo
Adapts tls provider to tfbridge for testing tfbridge against another realistic provider.
Types ¶
type ConfigTestProvider ¶
type ConfigTestProvider struct { ProviderSchema schema.Schema ConfigErr diag.ErrorDiagnostic }
func (*ConfigTestProvider) Configure ¶
func (p *ConfigTestProvider) Configure(_ context.Context, _ provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*ConfigTestProvider) DataSources ¶
func (*ConfigTestProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*ConfigTestProvider) Metadata ¶
func (*ConfigTestProvider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse)
func (*ConfigTestProvider) Resources ¶
func (*ConfigTestProvider) Resources(context.Context) []func() resource.Resource
func (*ConfigTestProvider) Schema ¶
func (p *ConfigTestProvider) Schema(_ context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse)
type PropagatesNullFrom ¶
type PropagatesNullFrom struct {
AnotherAttribute string
}
func (PropagatesNullFrom) Description ¶
func (mod PropagatesNullFrom) Description(_ context.Context) string
func (PropagatesNullFrom) MarkdownDescription ¶
func (mod PropagatesNullFrom) MarkdownDescription(ctx context.Context) string
func (PropagatesNullFrom) PlanModifyBool ¶
func (mod PropagatesNullFrom) PlanModifyBool(ctx context.Context, req planmodifier.BoolRequest, resp *planmodifier.BoolResponse, )
func (PropagatesNullFrom) PlanModifyList ¶
func (mod PropagatesNullFrom) PlanModifyList(ctx context.Context, req planmodifier.ListRequest, resp *planmodifier.ListResponse, )
func (PropagatesNullFrom) PlanModifyMap ¶
func (mod PropagatesNullFrom) PlanModifyMap(ctx context.Context, req planmodifier.MapRequest, resp *planmodifier.MapResponse, )
func (PropagatesNullFrom) PlanModifyNumber ¶
func (mod PropagatesNullFrom) PlanModifyNumber(ctx context.Context, req planmodifier.NumberRequest, resp *planmodifier.NumberResponse, )
func (PropagatesNullFrom) PlanModifyString ¶
func (mod PropagatesNullFrom) PlanModifyString(ctx context.Context, req planmodifier.StringRequest, resp *planmodifier.StringResponse, )
type ServiceModel ¶
type SingleNestedAttrModel ¶
type TupleType ¶
func (TupleType) ApplyTerraform5AttributePathStep ¶
func (c TupleType) ApplyTerraform5AttributePathStep(step tftypes.AttributePathStep) (any, error)
func (TupleType) ElementTypes ¶
func (TupleType) GetDeprecationMessage ¶
func (TupleType) GetDescription ¶
func (TupleType) GetMarkdownDescription ¶
func (TupleType) ValueFromTerraform ¶
func (TupleType) WithElementTypes ¶
func (c TupleType) WithElementTypes(types []attr.Type) attr.TypeWithElementTypes
type TupleValue ¶
type TupleValue struct {
// contains filtered or unexported fields
}
func (TupleValue) IsNull ¶
func (c TupleValue) IsNull() bool
func (TupleValue) IsUnknown ¶
func (c TupleValue) IsUnknown() bool
func (TupleValue) String ¶
func (c TupleValue) String() string
func (TupleValue) ToTerraformValue ¶
Source Files ¶
- assert_provider.go
- aws.go
- config_test_provider.go
- plan_modifiers.go
- random.go
- testbridge.go
- testbridge_datasource_echo.go
- testbridge_datasource_smac.go
- testbridge_datasource_test_defaultinfo.go
- testbridge_models.go
- testbridge_resouce_testconfigres.go
- testbridge_resource_autoname.go
- testbridge_resource_int_id.go
- testbridge_resource_privst.go
- testbridge_resource_testcompres.go
- testbridge_resource_testdefaultinfores.go
- testbridge_resource_testnest.go
- testbridge_resource_testnestattr.go
- testbridge_resource_testres.go
- testbridge_resource_vlan_names.go
- tls.go
- tuple_type.go
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
pulumi-resource-muxedrandom
Implements a Pulumi provider for testing the functionality of bridging Terraform Plugin Framework based providers.
|
Implements a Pulumi provider for testing the functionality of bridging Terraform Plugin Framework based providers. |
pulumi-resource-random
Implements a Pulumi provider for testing the functionality of bridging Terraform Plugin Framework based providers.
|
Implements a Pulumi provider for testing the functionality of bridging Terraform Plugin Framework based providers. |
pulumi-resource-testbridge
Implements a Pulumi provider for testing the functionality of bridging Terraform Plugin Framework based providers.
|
Implements a Pulumi provider for testing the functionality of bridging Terraform Plugin Framework based providers. |
pulumi-resource-tls
Implements a Pulumi provider for testing the functionality of bridging Terraform Plugin Framework based providers.
|
Implements a Pulumi provider for testing the functionality of bridging Terraform Plugin Framework based providers. |
pulumi-tfgen-muxedrandom
Implements a Pulumi provider for testing the functionality of bridging Terraform Plugin Framework based providers.
|
Implements a Pulumi provider for testing the functionality of bridging Terraform Plugin Framework based providers. |
pulumi-tfgen-random
Implements a Pulumi provider for testing the functionality of bridging Terraform Plugin Framework based providers.
|
Implements a Pulumi provider for testing the functionality of bridging Terraform Plugin Framework based providers. |
pulumi-tfgen-testbridge
Implements a Pulumi provider for testing the functionality of bridging Terraform Plugin Framework based providers.
|
Implements a Pulumi provider for testing the functionality of bridging Terraform Plugin Framework based providers. |
Implements a TF Provider against SDKv2 for testing the muxer.
|
Implements a TF Provider against SDKv2 for testing the muxer. |
Click to show internal directories.
Click to hide internal directories.