deprecated

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Overview

Package deprecated vendors config parsing from pulumi-terraform-bridge.

Originally taken from here: https://github.com/pulumi/pulumi-terraform-bridge/blob/90733a0c7/pkg/tfbridge/config_encoding.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigEncoding

type ConfigEncoding struct {
	// contains filtered or unexported fields
}

ConfigEncoding handles unmarshaling legacy JSON provider config.

func New

New constructs a new config encoder for the provided spec.

func (*ConfigEncoding) UnmarshalProperties

func (enc *ConfigEncoding) UnmarshalProperties(
	props *structpb.Struct,
) (resource.PropertyMap, error)

UnmarshalProperties is copied from plugin.UnmarshalProperties substituting plugin.UnmarshalPropertyValue.

Jump to

Keyboard shortcuts

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