mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-07 17:46:43 +00:00
55 lines
1.1 KiB
Go
55 lines
1.1 KiB
Go
// Code generated by "stringer -type=Type"; DO NOT EDIT
|
|
|
|
package ast
|
|
|
|
import "fmt"
|
|
|
|
const (
|
|
_Type_name_0 = "TypeInvalid"
|
|
_Type_name_1 = "TypeAny"
|
|
_Type_name_2 = "TypeBool"
|
|
_Type_name_3 = "TypeString"
|
|
_Type_name_4 = "TypeInt"
|
|
_Type_name_5 = "TypeFloat"
|
|
_Type_name_6 = "TypeList"
|
|
_Type_name_7 = "TypeMap"
|
|
_Type_name_8 = "TypeUnknown"
|
|
)
|
|
|
|
var (
|
|
_Type_index_0 = [...]uint8{0, 11}
|
|
_Type_index_1 = [...]uint8{0, 7}
|
|
_Type_index_2 = [...]uint8{0, 8}
|
|
_Type_index_3 = [...]uint8{0, 10}
|
|
_Type_index_4 = [...]uint8{0, 7}
|
|
_Type_index_5 = [...]uint8{0, 9}
|
|
_Type_index_6 = [...]uint8{0, 8}
|
|
_Type_index_7 = [...]uint8{0, 7}
|
|
_Type_index_8 = [...]uint8{0, 11}
|
|
)
|
|
|
|
func (i Type) String() string {
|
|
switch {
|
|
case i == 0:
|
|
return _Type_name_0
|
|
case i == 2:
|
|
return _Type_name_1
|
|
case i == 4:
|
|
return _Type_name_2
|
|
case i == 8:
|
|
return _Type_name_3
|
|
case i == 16:
|
|
return _Type_name_4
|
|
case i == 32:
|
|
return _Type_name_5
|
|
case i == 64:
|
|
return _Type_name_6
|
|
case i == 128:
|
|
return _Type_name_7
|
|
case i == 256:
|
|
return _Type_name_8
|
|
default:
|
|
return fmt.Sprintf("Type(%d)", i)
|
|
}
|
|
}
|