Merge pull request #21284 from hashicorp/stringer-update
stringer: Regenerate files with latest version
This commit is contained in:
commit
499134178f
|
@ -1 +1 @@
|
||||||
1.12.1
|
1.12.4
|
||||||
|
|
|
@ -4,7 +4,7 @@ services:
|
||||||
- docker
|
- docker
|
||||||
language: go
|
language: go
|
||||||
go:
|
go:
|
||||||
- "1.12.1"
|
- "1.12.4"
|
||||||
|
|
||||||
# add TF_CONSUL_TEST=1 to run consul tests
|
# add TF_CONSUL_TEST=1 to run consul tests
|
||||||
# they were causing timouts in travis
|
# they were causing timouts in travis
|
||||||
|
|
|
@ -4,6 +4,15 @@ package addrs
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
func _() {
|
||||||
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||||
|
// Re-run the stringer command to generate them again.
|
||||||
|
var x [1]struct{}
|
||||||
|
_ = x[InvalidResourceMode-0]
|
||||||
|
_ = x[ManagedResourceMode-77]
|
||||||
|
_ = x[DataResourceMode-68]
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
_ResourceMode_name_0 = "InvalidResourceMode"
|
_ResourceMode_name_0 = "InvalidResourceMode"
|
||||||
_ResourceMode_name_1 = "DataResourceMode"
|
_ResourceMode_name_1 = "DataResourceMode"
|
||||||
|
|
|
@ -4,6 +4,15 @@ package local
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
func _() {
|
||||||
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||||
|
// Re-run the stringer command to generate them again.
|
||||||
|
var x [1]struct{}
|
||||||
|
_ = x[countHookActionAdd-0]
|
||||||
|
_ = x[countHookActionChange-1]
|
||||||
|
_ = x[countHookActionRemove-2]
|
||||||
|
}
|
||||||
|
|
||||||
const _countHookAction_name = "countHookActionAddcountHookActionChangecountHookActionRemove"
|
const _countHookAction_name = "countHookActionAddcountHookActionChangecountHookActionRemove"
|
||||||
|
|
||||||
var _countHookAction_index = [...]uint8{0, 18, 39, 60}
|
var _countHookAction_index = [...]uint8{0, 18, 39, 60}
|
||||||
|
|
|
@ -4,6 +4,16 @@ package backend
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
func _() {
|
||||||
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||||
|
// Re-run the stringer command to generate them again.
|
||||||
|
var x [1]struct{}
|
||||||
|
_ = x[OperationTypeInvalid-0]
|
||||||
|
_ = x[OperationTypeRefresh-1]
|
||||||
|
_ = x[OperationTypePlan-2]
|
||||||
|
_ = x[OperationTypeApply-3]
|
||||||
|
}
|
||||||
|
|
||||||
const _OperationType_name = "OperationTypeInvalidOperationTypeRefreshOperationTypePlanOperationTypeApply"
|
const _OperationType_name = "OperationTypeInvalidOperationTypeRefreshOperationTypePlanOperationTypeApply"
|
||||||
|
|
||||||
var _OperationType_index = [...]uint8{0, 20, 40, 57, 75}
|
var _OperationType_index = [...]uint8{0, 20, 40, 57, 75}
|
||||||
|
|
|
@ -4,6 +4,14 @@ package config
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
func _() {
|
||||||
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||||
|
// Re-run the stringer command to generate them again.
|
||||||
|
var x [1]struct{}
|
||||||
|
_ = x[ManagedResourceMode-0]
|
||||||
|
_ = x[DataResourceMode-1]
|
||||||
|
}
|
||||||
|
|
||||||
const _ResourceMode_name = "ManagedResourceModeDataResourceMode"
|
const _ResourceMode_name = "ManagedResourceModeDataResourceMode"
|
||||||
|
|
||||||
var _ResourceMode_index = [...]uint8{0, 19, 35}
|
var _ResourceMode_index = [...]uint8{0, 19, 35}
|
||||||
|
|
|
@ -4,6 +4,15 @@ package configs
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
func _() {
|
||||||
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||||
|
// Re-run the stringer command to generate them again.
|
||||||
|
var x [1]struct{}
|
||||||
|
_ = x[ProvisionerOnFailureInvalid-0]
|
||||||
|
_ = x[ProvisionerOnFailureContinue-1]
|
||||||
|
_ = x[ProvisionerOnFailureFail-2]
|
||||||
|
}
|
||||||
|
|
||||||
const _ProvisionerOnFailure_name = "ProvisionerOnFailureInvalidProvisionerOnFailureContinueProvisionerOnFailureFail"
|
const _ProvisionerOnFailure_name = "ProvisionerOnFailureInvalidProvisionerOnFailureContinueProvisionerOnFailureFail"
|
||||||
|
|
||||||
var _ProvisionerOnFailure_index = [...]uint8{0, 27, 55, 79}
|
var _ProvisionerOnFailure_index = [...]uint8{0, 27, 55, 79}
|
||||||
|
|
|
@ -4,6 +4,15 @@ package configs
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
func _() {
|
||||||
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||||
|
// Re-run the stringer command to generate them again.
|
||||||
|
var x [1]struct{}
|
||||||
|
_ = x[ProvisionerWhenInvalid-0]
|
||||||
|
_ = x[ProvisionerWhenCreate-1]
|
||||||
|
_ = x[ProvisionerWhenDestroy-2]
|
||||||
|
}
|
||||||
|
|
||||||
const _ProvisionerWhen_name = "ProvisionerWhenInvalidProvisionerWhenCreateProvisionerWhenDestroy"
|
const _ProvisionerWhen_name = "ProvisionerWhenInvalidProvisionerWhenCreateProvisionerWhenDestroy"
|
||||||
|
|
||||||
var _ProvisionerWhen_index = [...]uint8{0, 22, 43, 65}
|
var _ProvisionerWhen_index = [...]uint8{0, 22, 43, 65}
|
||||||
|
|
|
@ -4,6 +4,16 @@ package configs
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
func _() {
|
||||||
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||||
|
// Re-run the stringer command to generate them again.
|
||||||
|
var x [1]struct{}
|
||||||
|
_ = x[TypeHintNone-0]
|
||||||
|
_ = x[TypeHintString-83]
|
||||||
|
_ = x[TypeHintList-76]
|
||||||
|
_ = x[TypeHintMap-77]
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
_VariableTypeHint_name_0 = "TypeHintNone"
|
_VariableTypeHint_name_0 = "TypeHintNone"
|
||||||
_VariableTypeHint_name_1 = "TypeHintListTypeHintMap"
|
_VariableTypeHint_name_1 = "TypeHintListTypeHintMap"
|
||||||
|
|
|
@ -4,6 +4,18 @@ package schema
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
func _() {
|
||||||
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||||
|
// Re-run the stringer command to generate them again.
|
||||||
|
var x [1]struct{}
|
||||||
|
_ = x[getSourceState-1]
|
||||||
|
_ = x[getSourceConfig-2]
|
||||||
|
_ = x[getSourceDiff-4]
|
||||||
|
_ = x[getSourceSet-8]
|
||||||
|
_ = x[getSourceExact-16]
|
||||||
|
_ = x[getSourceLevelMask-15]
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
_getSource_name_0 = "getSourceStategetSourceConfig"
|
_getSource_name_0 = "getSourceStategetSourceConfig"
|
||||||
_getSource_name_1 = "getSourceDiff"
|
_getSource_name_1 = "getSourceDiff"
|
||||||
|
|
|
@ -4,6 +4,21 @@ package schema
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
func _() {
|
||||||
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||||
|
// Re-run the stringer command to generate them again.
|
||||||
|
var x [1]struct{}
|
||||||
|
_ = x[TypeInvalid-0]
|
||||||
|
_ = x[TypeBool-1]
|
||||||
|
_ = x[TypeInt-2]
|
||||||
|
_ = x[TypeFloat-3]
|
||||||
|
_ = x[TypeString-4]
|
||||||
|
_ = x[TypeList-5]
|
||||||
|
_ = x[TypeMap-6]
|
||||||
|
_ = x[TypeSet-7]
|
||||||
|
_ = x[typeObject-8]
|
||||||
|
}
|
||||||
|
|
||||||
const _ValueType_name = "TypeInvalidTypeBoolTypeIntTypeFloatTypeStringTypeListTypeMapTypeSettypeObject"
|
const _ValueType_name = "TypeInvalidTypeBoolTypeIntTypeFloatTypeStringTypeListTypeMapTypeSettypeObject"
|
||||||
|
|
||||||
var _ValueType_index = [...]uint8{0, 11, 19, 26, 35, 45, 53, 60, 67, 77}
|
var _ValueType_index = [...]uint8{0, 11, 19, 26, 35, 45, 53, 60, 67, 77}
|
||||||
|
|
|
@ -4,6 +4,19 @@ package plans
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
func _() {
|
||||||
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||||
|
// Re-run the stringer command to generate them again.
|
||||||
|
var x [1]struct{}
|
||||||
|
_ = x[NoOp-0]
|
||||||
|
_ = x[Create-43]
|
||||||
|
_ = x[Read-8592]
|
||||||
|
_ = x[Update-126]
|
||||||
|
_ = x[DeleteThenCreate-8723]
|
||||||
|
_ = x[CreateThenDelete-177]
|
||||||
|
_ = x[Delete-45]
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
_Action_name_0 = "NoOp"
|
_Action_name_0 = "NoOp"
|
||||||
_Action_name_1 = "Create"
|
_Action_name_1 = "Create"
|
||||||
|
|
|
@ -4,6 +4,15 @@ package states
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
func _() {
|
||||||
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||||
|
// Re-run the stringer command to generate them again.
|
||||||
|
var x [1]struct{}
|
||||||
|
_ = x[NoEach-0]
|
||||||
|
_ = x[EachList-76]
|
||||||
|
_ = x[EachMap-77]
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
_EachMode_name_0 = "NoEach"
|
_EachMode_name_0 = "NoEach"
|
||||||
_EachMode_name_1 = "EachListEachMap"
|
_EachMode_name_1 = "EachListEachMap"
|
||||||
|
|
|
@ -4,6 +4,15 @@ package states
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
func _() {
|
||||||
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||||
|
// Re-run the stringer command to generate them again.
|
||||||
|
var x [1]struct{}
|
||||||
|
_ = x[ObjectReady-82]
|
||||||
|
_ = x[ObjectTainted-84]
|
||||||
|
_ = x[ObjectPlanned-80]
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
_ObjectStatus_name_0 = "ObjectPlanned"
|
_ObjectStatus_name_0 = "ObjectPlanned"
|
||||||
_ObjectStatus_name_1 = "ObjectReady"
|
_ObjectStatus_name_1 = "ObjectReady"
|
||||||
|
|
|
@ -4,6 +4,17 @@ package statemgr
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
func _() {
|
||||||
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||||
|
// Re-run the stringer command to generate them again.
|
||||||
|
var x [1]struct{}
|
||||||
|
_ = x[SnapshotOlder-60]
|
||||||
|
_ = x[SnapshotNewer-62]
|
||||||
|
_ = x[SnapshotEqual-61]
|
||||||
|
_ = x[SnapshotUnrelated-33]
|
||||||
|
_ = x[SnapshotLegacy-63]
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
_SnapshotMetaRel_name_0 = "SnapshotUnrelated"
|
_SnapshotMetaRel_name_0 = "SnapshotUnrelated"
|
||||||
_SnapshotMetaRel_name_1 = "SnapshotOlderSnapshotEqualSnapshotNewerSnapshotLegacy"
|
_SnapshotMetaRel_name_1 = "SnapshotOlderSnapshotEqualSnapshotNewerSnapshotLegacy"
|
||||||
|
|
|
@ -4,6 +4,20 @@ package terraform
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
func _() {
|
||||||
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||||
|
// Re-run the stringer command to generate them again.
|
||||||
|
var x [1]struct{}
|
||||||
|
_ = x[GraphTypeInvalid-0]
|
||||||
|
_ = x[GraphTypeLegacy-1]
|
||||||
|
_ = x[GraphTypeRefresh-2]
|
||||||
|
_ = x[GraphTypePlan-3]
|
||||||
|
_ = x[GraphTypePlanDestroy-4]
|
||||||
|
_ = x[GraphTypeApply-5]
|
||||||
|
_ = x[GraphTypeValidate-6]
|
||||||
|
_ = x[GraphTypeEval-7]
|
||||||
|
}
|
||||||
|
|
||||||
const _GraphType_name = "GraphTypeInvalidGraphTypeLegacyGraphTypeRefreshGraphTypePlanGraphTypePlanDestroyGraphTypeApplyGraphTypeValidateGraphTypeEval"
|
const _GraphType_name = "GraphTypeInvalidGraphTypeLegacyGraphTypeRefreshGraphTypePlanGraphTypePlanDestroyGraphTypeApplyGraphTypeValidateGraphTypeEval"
|
||||||
|
|
||||||
var _GraphType_index = [...]uint8{0, 16, 31, 47, 60, 80, 94, 111, 124}
|
var _GraphType_index = [...]uint8{0, 16, 31, 47, 60, 80, 94, 111, 124}
|
||||||
|
|
|
@ -4,6 +4,16 @@ package terraform
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
func _() {
|
||||||
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||||
|
// Re-run the stringer command to generate them again.
|
||||||
|
var x [1]struct{}
|
||||||
|
_ = x[TypeInvalid-0]
|
||||||
|
_ = x[TypePrimary-1]
|
||||||
|
_ = x[TypeTainted-2]
|
||||||
|
_ = x[TypeDeposed-3]
|
||||||
|
}
|
||||||
|
|
||||||
const _InstanceType_name = "TypeInvalidTypePrimaryTypeTaintedTypeDeposed"
|
const _InstanceType_name = "TypeInvalidTypePrimaryTypeTaintedTypeDeposed"
|
||||||
|
|
||||||
var _InstanceType_index = [...]uint8{0, 11, 22, 33, 44}
|
var _InstanceType_index = [...]uint8{0, 11, 22, 33, 44}
|
||||||
|
|
|
@ -4,6 +4,21 @@ package terraform
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
func _() {
|
||||||
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||||
|
// Re-run the stringer command to generate them again.
|
||||||
|
var x [1]struct{}
|
||||||
|
_ = x[ValueFromUnknown-0]
|
||||||
|
_ = x[ValueFromConfig-67]
|
||||||
|
_ = x[ValueFromAutoFile-70]
|
||||||
|
_ = x[ValueFromNamedFile-78]
|
||||||
|
_ = x[ValueFromCLIArg-65]
|
||||||
|
_ = x[ValueFromEnvVar-69]
|
||||||
|
_ = x[ValueFromInput-73]
|
||||||
|
_ = x[ValueFromPlan-80]
|
||||||
|
_ = x[ValueFromCaller-83]
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
_ValueSourceType_name_0 = "ValueFromUnknown"
|
_ValueSourceType_name_0 = "ValueFromUnknown"
|
||||||
_ValueSourceType_name_1 = "ValueFromCLIArg"
|
_ValueSourceType_name_1 = "ValueFromCLIArg"
|
||||||
|
|
|
@ -4,6 +4,21 @@ package terraform
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
func _() {
|
||||||
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||||
|
// Re-run the stringer command to generate them again.
|
||||||
|
var x [1]struct{}
|
||||||
|
_ = x[walkInvalid-0]
|
||||||
|
_ = x[walkApply-1]
|
||||||
|
_ = x[walkPlan-2]
|
||||||
|
_ = x[walkPlanDestroy-3]
|
||||||
|
_ = x[walkRefresh-4]
|
||||||
|
_ = x[walkValidate-5]
|
||||||
|
_ = x[walkDestroy-6]
|
||||||
|
_ = x[walkImport-7]
|
||||||
|
_ = x[walkEval-8]
|
||||||
|
}
|
||||||
|
|
||||||
const _walkOperation_name = "walkInvalidwalkApplywalkPlanwalkPlanDestroywalkRefreshwalkValidatewalkDestroywalkImportwalkEval"
|
const _walkOperation_name = "walkInvalidwalkApplywalkPlanwalkPlanDestroywalkRefreshwalkValidatewalkDestroywalkImportwalkEval"
|
||||||
|
|
||||||
var _walkOperation_index = [...]uint8{0, 11, 20, 28, 43, 54, 66, 77, 87, 95}
|
var _walkOperation_index = [...]uint8{0, 11, 20, 28, 43, 54, 66, 77, 87, 95}
|
||||||
|
|
|
@ -4,6 +4,14 @@ package tfdiags
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
func _() {
|
||||||
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||||
|
// Re-run the stringer command to generate them again.
|
||||||
|
var x [1]struct{}
|
||||||
|
_ = x[Error-69]
|
||||||
|
_ = x[Warning-87]
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
_Severity_name_0 = "Error"
|
_Severity_name_0 = "Error"
|
||||||
_Severity_name_1 = "Warning"
|
_Severity_name_1 = "Warning"
|
||||||
|
|
Loading…
Reference in New Issue