terraform-provider-gitea/vendor/github.com/hashicorp/terraform-plugin-sdk/v2/terraform/instancetype.go

20 lines
572 B
Go
Raw Normal View History

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
package terraform
// This code was previously generated with a go:generate directive calling:
// go run golang.org/x/tools/cmd/stringer -type=instanceType instancetype.go
// However, it is now considered frozen and the tooling dependency has been
// removed. The String method can be manually updated if necessary.
// instanceType is an enum of the various types of instances store in the State
type instanceType int
const (
typeInvalid instanceType = iota
typePrimary
typeTainted
typeDeposed
)