common

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProviderResourceSchema

func GetProviderResourceSchema(schema ProviderResourceSchemaParameters) map[string]*tfprotov6.Schema

GetProviderResourceSchema contains the definitions of all supported resources

func TryReadResource added in v0.5.0

func TryReadResource(
	currentState *tfprotov6.DynamicValue,
	resourceType tftypes.Type,
	resp *tfprotov6.ReadResourceResponse) (
	tftypes.Value,
	map[string]tftypes.Value,
	bool)

TryReadResource function

Types

type ProviderResourceSchemaParameters

type ProviderResourceSchemaParameters struct {
	ResourceName        string
	ResourceDescription string
	ValueDescription    string
	ResultDescription   string
}

Jump to

Keyboard shortcuts

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