mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-27 09:21:14 -06:00
22 lines
411 B
Go
22 lines
411 B
Go
package schema
|
|
|
|
//go:generate stringer -type=ValueType valuetype.go
|
|
|
|
// ValueType is an enum of the type that can be represented by a schema.
|
|
type ValueType int
|
|
|
|
const (
|
|
TypeInvalid ValueType = iota
|
|
TypeBool
|
|
TypeInt
|
|
TypeFloat
|
|
TypeString
|
|
TypeList
|
|
TypeMap
|
|
TypeSet
|
|
typeObject
|
|
)
|
|
|
|
// NOTE: ValueType has more functions defined on it in schema.go. We can't
|
|
// put them here because we reference other files.
|