MCPcopy
hub / github.com/opentofu/opentofu / UniqueKey

Interface UniqueKey

internal/addrs/unique_key.go:15–17  ·  view source on GitHub ↗

UniqueKey is an interface implemented by values that serve as unique map keys for particular addresses. All implementations of UniqueKey are comparable and can thus be used as map keys. Unique keys generated from different address types are always distinct. All functionally-equivalent keys for the

Source from the content-addressed store, hash-verified

13// distinct. All functionally-equivalent keys for the same address type
14// always compare equal, and likewise functionally-different values do not.
15type UniqueKey interface {
16 uniqueKeySigil()
17}
18
19// UniqueKeyer is an interface implemented by types that can be represented
20// by a unique key.

Callers

nothing calls this directly

Implementers 15

OutputValueinternal/addrs/output_value.go
ProviderFunctioninternal/addrs/provider_function.go
ForEachAttrinternal/addrs/for_each_attr.go
InputVariableinternal/addrs/input_variable.go
Checkinternal/addrs/check.go
TerraformAttrinternal/addrs/tf_attr.go
ResourceInstanceinternal/addrs/resource.go
ResourceInstancePhaseinternal/addrs/resource_phase.go
Resourceinternal/addrs/resource.go
ResourcePhaseinternal/addrs/resource_phase.go
CountAttrinternal/addrs/count_attr.go
checkRuleKeyinternal/addrs/check_rule.go

Calls

no outgoing calls

Tested by

no test coverage detected