tf5dynamicvalue

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package tf5dynamicvalue contains shared *tfprotov5.DynamicValue functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equals

func Equals(schemaType tftypes.Type, i *tfprotov5.DynamicValue, j *tfprotov5.DynamicValue) (bool, error)

Equals performs equality checking of two given *tfprotov5.DynamicValue.

func IsNull

func IsNull(schema *tfprotov5.Schema, dynamicValue *tfprotov5.DynamicValue) (bool, error)

IsNull returns true if the given *tfprotov5.DynamicValue is nil or represents a null value.

func Must

func Must(typ tftypes.Type, value tftypes.Value) *tfprotov5.DynamicValue

Must creates a *tfprotov5.DynamicValue or panics. This is intended only for simplifying testing code.

The tftypes.Type parameter is separate to enable DynamicPsuedoType testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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