toproto

package
v0.0.0-...-6975224 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This is duplicated from github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/toproto (ada9da97012681d925c937a654e50cf6b0014707)

Index

Constants

This section is empty.

Variables

View Source
var ErrUnknownAttributePathStepType = errors.New("unknown type of AttributePath_Step")

Functions

func AttributePaths

func AttributePaths(in []*tftypes.AttributePath) ([]*tfplugin6.AttributePath, error)

func CtyType

func CtyType(in tftypes.Type) ([]byte, error)

func Diagnostic

func Diagnostic(in *tfprotov6.Diagnostic) (*tfplugin6.Diagnostic, error)

func Diagnostics

func Diagnostics(in []*tfprotov6.Diagnostic) ([]*tfplugin6.Diagnostic, error)

func RawState

func RawState(in *tfprotov6.RawState) *tfplugin6.RawState

func Schema

func Schema(in *tfprotov6.Schema) (*tfplugin6.Schema, error)

func Schema_Attributes

func Schema_Attributes(in []*tfprotov6.SchemaAttribute) ([]*tfplugin6.Schema_Attribute, error)

func Schema_Block

func Schema_Block(in *tfprotov6.SchemaBlock) (*tfplugin6.Schema_Block, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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