mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-05-05 09:01:44 -04:00
Rename root module name. (#4)
* Rename module name from "github.com/hashicorp/terraform" to "github.com/placeholderplaceholderplaceholder/opentf". Signed-off-by: Jakub Martin <kubam@spacelift.io> * Gofmt. Signed-off-by: Jakub Martin <kubam@spacelift.io> * Regenerate protobuf. Signed-off-by: Jakub Martin <kubam@spacelift.io> * Fix comments. Signed-off-by: Jakub Martin <kubam@spacelift.io> * Undo issue and pull request link changes. Signed-off-by: Jakub Martin <kubam@spacelift.io> * Undo comment changes. Signed-off-by: Jakub Martin <kubam@spacelift.io> * Fix comment. Signed-off-by: Jakub Martin <kubam@spacelift.io> * Undo some link changes. Signed-off-by: Jakub Martin <kubam@spacelift.io> * make generate && make protobuf Signed-off-by: Jakub Martin <kubam@spacelift.io> --------- Signed-off-by: Jakub Martin <kubam@spacelift.io>
This commit is contained in:
@@ -4,13 +4,13 @@
|
||||
package differ
|
||||
|
||||
import (
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/structured"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/structured"
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
ctyjson "github.com/zclconf/go-cty/cty/json"
|
||||
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
|
||||
"github.com/hashicorp/terraform/internal/command/jsonprovider"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonprovider"
|
||||
)
|
||||
|
||||
func ComputeDiffForAttribute(change structured.Change, attribute *jsonprovider.Attribute) computed.Diff {
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
package differ
|
||||
|
||||
import (
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/collections"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/structured"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonprovider"
|
||||
"github.com/hashicorp/terraform/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/collections"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/structured"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonprovider"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
)
|
||||
|
||||
func ComputeDiffForBlock(change structured.Change, block *jsonprovider.Block) computed.Diff {
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
package differ
|
||||
|
||||
import (
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/structured"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/structured"
|
||||
)
|
||||
|
||||
// asDiff is a helper function to abstract away some simple and common
|
||||
|
||||
@@ -11,11 +11,11 @@ import (
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
ctyjson "github.com/zclconf/go-cty/cty/json"
|
||||
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/structured"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/structured/attribute_path"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonprovider"
|
||||
"github.com/hashicorp/terraform/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/structured"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/structured/attribute_path"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonprovider"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
)
|
||||
|
||||
type SetDiff struct {
|
||||
|
||||
@@ -6,13 +6,13 @@ package differ
|
||||
import (
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/collections"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/structured"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/structured/attribute_path"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonprovider"
|
||||
"github.com/hashicorp/terraform/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/collections"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/structured"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/structured/attribute_path"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonprovider"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
)
|
||||
|
||||
func computeAttributeDiffAsList(change structured.Change, elementType cty.Type) computed.Diff {
|
||||
|
||||
@@ -6,12 +6,12 @@ package differ
|
||||
import (
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/collections"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/structured"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonprovider"
|
||||
"github.com/hashicorp/terraform/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/collections"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/structured"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonprovider"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
)
|
||||
|
||||
func computeAttributeDiffAsMap(change structured.Change, elementType cty.Type) computed.Diff {
|
||||
|
||||
@@ -6,12 +6,12 @@ package differ
|
||||
import (
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/collections"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/structured"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonprovider"
|
||||
"github.com/hashicorp/terraform/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/collections"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/structured"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonprovider"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
)
|
||||
|
||||
func computeAttributeDiffAsObject(change structured.Change, attributes map[string]cty.Type) computed.Diff {
|
||||
|
||||
@@ -6,9 +6,9 @@ package differ
|
||||
import (
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/structured"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/structured"
|
||||
)
|
||||
|
||||
func ComputeDiffForOutput(change structured.Change) computed.Diff {
|
||||
|
||||
@@ -6,9 +6,9 @@ package differ
|
||||
import (
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/structured"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/structured"
|
||||
)
|
||||
|
||||
func computeAttributeDiffAsPrimitive(change structured.Change, ctype cty.Type) computed.Diff {
|
||||
|
||||
@@ -6,11 +6,11 @@ package differ
|
||||
import (
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/structured"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonprovider"
|
||||
"github.com/hashicorp/terraform/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/structured"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonprovider"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
)
|
||||
|
||||
type CreateSensitiveRenderer func(computed.Diff, bool, bool) computed.DiffRenderer
|
||||
|
||||
@@ -8,13 +8,13 @@ import (
|
||||
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/collections"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/structured"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/structured/attribute_path"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonprovider"
|
||||
"github.com/hashicorp/terraform/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/collections"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/structured"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/structured/attribute_path"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonprovider"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
)
|
||||
|
||||
func computeAttributeDiffAsSet(change structured.Change, elementType cty.Type) computed.Diff {
|
||||
|
||||
@@ -6,10 +6,10 @@ package differ
|
||||
import (
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/collections"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/structured"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/collections"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/structured"
|
||||
)
|
||||
|
||||
func computeAttributeDiffAsTuple(change structured.Change, elementTypes []cty.Type) computed.Diff {
|
||||
|
||||
@@ -6,10 +6,10 @@ package differ
|
||||
import (
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonformat/structured"
|
||||
"github.com/hashicorp/terraform/internal/command/jsonprovider"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed/renderers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/structured"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonprovider"
|
||||
)
|
||||
|
||||
func checkForUnknownType(change structured.Change, ctype cty.Type) (computed.Diff, bool) {
|
||||
|
||||
Reference in New Issue
Block a user