totftypes

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package totftypes contains functions to convert from framework types to terraform-plugin-go tftypes types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttributePath

func AttributePath(ctx context.Context, fw path.Path) (*tftypes.AttributePath, diag.Diagnostics)

AttributePath returns the *tftypes.AttributePath equivalent of a path.Path.

func AttributePathStep

func AttributePathStep(ctx context.Context, fw path.PathStep) (tftypes.AttributePathStep, error)

AttributePathStep returns the tftypes.AttributePathStep equivalent of an path.PathStep. An error is returned instead of diag.Diagnostics so callers can include appropriate logical context about when the error occurred.

func AttributePaths

func AttributePaths(ctx context.Context, fw path.Paths) ([]*tftypes.AttributePath, diag.Diagnostics)

AttributePaths returns the []*tftypes.AttributePath equivalent of a path.Paths.

Types

This section is empty.

Jump to

Keyboard shortcuts

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