mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-29 10:21:01 -06:00
b9d84f2944
This package is intended to contain all the functionality for parsing, representing, and formatting addresses of objects within Terraform. It will eventually subsume the responsibilities of both the InterpolatedVariable and ResourceAddress types in the "terraform" package, but for the moment is just a set of types for representing these things, lacking any way to parse or format them. The remaining functionality will follow in subsequent commits.
25 lines
509 B
Go
25 lines
509 B
Go
// Code generated by "stringer -type ResourceMode"; DO NOT EDIT.
|
|
|
|
package addrs
|
|
|
|
import "strconv"
|
|
|
|
const (
|
|
_ResourceMode_name_0 = "InvalidResourceMode"
|
|
_ResourceMode_name_1 = "DataResourceMode"
|
|
_ResourceMode_name_2 = "ManagedResourceMode"
|
|
)
|
|
|
|
func (i ResourceMode) String() string {
|
|
switch {
|
|
case i == 0:
|
|
return _ResourceMode_name_0
|
|
case i == 68:
|
|
return _ResourceMode_name_1
|
|
case i == 77:
|
|
return _ResourceMode_name_2
|
|
default:
|
|
return "ResourceMode(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
}
|