summaryrefslogtreecommitdiff
path: root/vendor/github.com/hashicorp/terraform/helper/schema/getsource_string.go
blob: 3a976293941ab53ff4bac310dd7ce9955a35ce35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Code generated by "stringer -type=getSource resource_data_get_source.go"; DO NOT EDIT.

package schema

import "fmt"

const (
	_getSource_name_0 = "getSourceStategetSourceConfig"
	_getSource_name_1 = "getSourceDiff"
	_getSource_name_2 = "getSourceSet"
	_getSource_name_3 = "getSourceLevelMaskgetSourceExact"
)

var (
	_getSource_index_0 = [...]uint8{0, 14, 29}
	_getSource_index_1 = [...]uint8{0, 13}
	_getSource_index_2 = [...]uint8{0, 12}
	_getSource_index_3 = [...]uint8{0, 18, 32}
)

func (i getSource) String() string {
	switch {
	case 1 <= i && i <= 2:
		i -= 1
		return _getSource_name_0[_getSource_index_0[i]:_getSource_index_0[i+1]]
	case i == 4:
		return _getSource_name_1
	case i == 8:
		return _getSource_name_2
	case 15 <= i && i <= 16:
		i -= 15
		return _getSource_name_3[_getSource_index_3[i]:_getSource_index_3[i+1]]
	default:
		return fmt.Sprintf("getSource(%d)", i)
	}
}