attribute

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: MPL-2.0 Imports: 4 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ID

func ID(desc ...string) schema.StringAttribute

ID generates an attribute definition suitable for the always-present `id` attribute.

func IsDefined

func IsDefined(v attr.Value) bool

IsDefined returns true if attribute is known and not null.

func ShouldBeRemoved

func ShouldBeRemoved(plan attr.Value, state attr.Value, isClone bool) bool

ShouldBeRemoved evaluates if an attribute should be removed from the plan during update.

Types

This section is empty.

Jump to

Keyboard shortcuts

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