-
Notifications
You must be signed in to change notification settings - Fork 9.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
terraform: orphans should call post-apply hook [GH-1938]
- Loading branch information
Showing
6 changed files
with
86 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// generated by stringer -type=countHookAction hook_count_action.go; DO NOT EDIT | ||
|
||
package command | ||
|
||
import "fmt" | ||
|
||
const _countHookAction_name = "countHookActionAddcountHookActionChangecountHookActionRemove" | ||
|
||
var _countHookAction_index = [...]uint8{0, 18, 39, 60} | ||
|
||
func (i countHookAction) String() string { | ||
if i >= countHookAction(len(_countHookAction_index)-1) { | ||
return fmt.Sprintf("countHookAction(%d)", i) | ||
} | ||
return _countHookAction_name[_countHookAction_index[i]:_countHookAction_index[i+1]] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package command | ||
|
||
//go:generate stringer -type=countHookAction hook_count_action.go | ||
|
||
type countHookAction byte | ||
|
||
const ( | ||
countHookActionAdd countHookAction = iota | ||
countHookActionChange | ||
countHookActionRemove | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// Nothing! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters