mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-07 09:36:44 +00:00
![Riley Karson](/assets/img/avatar_default.png)
```bash GO111MODULE=on go get github.com/hashicorp/terraform@pluginsdk-v0.12-early7 GO111MODULE=on go mod vendor GO111MODULE=on go mod tidy ```
21 lines
581 B
Go
21 lines
581 B
Go
package addrs
|
|
|
|
// Referenceable is an interface implemented by all address types that can
|
|
// appear as references in configuration language expressions.
|
|
type Referenceable interface {
|
|
// All implementations of this interface must be covered by the type switch
|
|
// in lang.Scope.buildEvalContext.
|
|
referenceableSigil()
|
|
|
|
// String produces a string representation of the address that could be
|
|
// parsed as a HCL traversal and passed to ParseRef to produce an identical
|
|
// result.
|
|
String() string
|
|
}
|
|
|
|
type referenceable struct {
|
|
}
|
|
|
|
func (r referenceable) referenceableSigil() {
|
|
}
|