mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-21 18:10:30 -04:00
20 lines
666 B
Go
20 lines
666 B
Go
// Copyright IBM Corp. 2014, 2026
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
package plans
|
|
|
|
// Quality represents facts about the nature of a plan that might be relevant
|
|
// when rendering it, like whether it errored or contains no changes. A plan can
|
|
// have multiple qualities.
|
|
type Quality int
|
|
|
|
//go:generate go tool golang.org/x/tools/cmd/stringer -type Quality
|
|
|
|
const (
|
|
// Errored plans did not successfully complete, and cannot be applied.
|
|
Errored Quality = iota
|
|
// NoChanges plans won't result in any actions on infrastructure, or any
|
|
// semantically meaningful updates to state. They can sometimes still affect
|
|
// the format of state if applied.
|
|
NoChanges
|
|
)
|