opentofu/helper/shadow
Mitchell Hashimoto 6557a3de18
helper/shadow: Close for auto-closing all values
Fixes #10122

The simple fix was that we forgot to close `ReadDataApply` for the
provider. But I've always felt that this section of the code was brittle
and I wanted to put in a more robust solution. The `shadow.Close` method
uses reflection to automatically close all values.
2016-11-15 08:54:26 -08:00
..
closer_test.go helper/shadow: Close for auto-closing all values 2016-11-15 08:54:26 -08:00
closer.go helper/shadow: Close for auto-closing all values 2016-11-15 08:54:26 -08:00
compared_value_test.go helper/shadow: ComparedValue 2016-10-11 22:17:30 +08:00
compared_value.go helper/shadow: ComparedValue 2016-10-11 22:17:30 +08:00
keyed_value_test.go helper/shadow: keyedValue.WaitForChange must unlock 2016-10-21 17:57:00 -07:00
keyed_value.go helper/shadow: keyedValue.WaitForChange must unlock 2016-10-21 17:57:00 -07:00
ordered_value_test.go helper/shadow: OrderedValue 2016-10-11 22:17:27 +08:00
ordered_value.go helper/shadow: OrderedValue 2016-10-11 22:17:27 +08:00
value_test.go helper/shadow: KeyedValue.Close 2016-10-11 22:17:29 +08:00
value.go helper/shadow: Value.Close 2016-10-11 22:17:29 +08:00