mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
Rename github.com/placeholderplaceholderplaceholder/opentf to github.com/opentofu/opentofu (#461)
This commit is contained in:
@@ -6,7 +6,7 @@ package computed
|
||||
import (
|
||||
"github.com/mitchellh/colorstring"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/opentofu/opentofu/internal/plans"
|
||||
)
|
||||
|
||||
// Diff captures the computed diff for a single block, element or attribute.
|
||||
|
||||
@@ -8,9 +8,9 @@ import (
|
||||
"fmt"
|
||||
"sort"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/opentofu/opentofu/internal/command/jsonformat/computed"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/opentofu/opentofu/internal/plans"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -6,7 +6,7 @@ package renderers
|
||||
import (
|
||||
"sort"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/opentofu/opentofu/internal/command/jsonformat/computed"
|
||||
)
|
||||
|
||||
// Blocks is a helper struct for collating the different kinds of blocks in a
|
||||
|
||||
@@ -6,9 +6,9 @@ package renderers
|
||||
import (
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/jsondiff"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/opentofu/opentofu/internal/command/jsonformat/computed"
|
||||
"github.com/opentofu/opentofu/internal/command/jsonformat/jsondiff"
|
||||
"github.com/opentofu/opentofu/internal/plans"
|
||||
)
|
||||
|
||||
// RendererJsonOpts creates a jsondiff.JsonOpts object that returns the correct
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/opentofu/opentofu/internal/command/jsonformat/computed"
|
||||
"github.com/opentofu/opentofu/internal/plans"
|
||||
)
|
||||
|
||||
var _ computed.DiffRenderer = (*listRenderer)(nil)
|
||||
|
||||
@@ -8,9 +8,9 @@ import (
|
||||
"fmt"
|
||||
"sort"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/opentofu/opentofu/internal/command/jsonformat/computed"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/opentofu/opentofu/internal/plans"
|
||||
)
|
||||
|
||||
var _ computed.DiffRenderer = (*mapRenderer)(nil)
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"fmt"
|
||||
"sort"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/opentofu/opentofu/internal/command/jsonformat/computed"
|
||||
"github.com/opentofu/opentofu/internal/plans"
|
||||
)
|
||||
|
||||
var _ computed.DiffRenderer = (*objectRenderer)(nil)
|
||||
|
||||
@@ -10,11 +10,11 @@ import (
|
||||
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/collections"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/structured"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/structured/attribute_path"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/opentofu/opentofu/internal/command/jsonformat/collections"
|
||||
"github.com/opentofu/opentofu/internal/command/jsonformat/computed"
|
||||
"github.com/opentofu/opentofu/internal/command/jsonformat/structured"
|
||||
"github.com/opentofu/opentofu/internal/command/jsonformat/structured/attribute_path"
|
||||
"github.com/opentofu/opentofu/internal/plans"
|
||||
)
|
||||
|
||||
var _ computed.DiffRenderer = (*primitiveRenderer)(nil)
|
||||
|
||||
@@ -7,13 +7,13 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/opentofu/opentofu/internal/command/jsonformat/computed"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/mitchellh/colorstring"
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/opentofu/opentofu/internal/plans"
|
||||
)
|
||||
|
||||
func TestRenderers_Human(t *testing.T) {
|
||||
|
||||
@@ -6,8 +6,8 @@ package renderers
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/opentofu/opentofu/internal/command/jsonformat/computed"
|
||||
"github.com/opentofu/opentofu/internal/plans"
|
||||
)
|
||||
|
||||
var _ computed.DiffRenderer = (*sensitiveRenderer)(nil)
|
||||
|
||||
@@ -6,8 +6,8 @@ package renderers
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/opentofu/opentofu/internal/command/jsonformat/computed"
|
||||
"github.com/opentofu/opentofu/internal/plans"
|
||||
)
|
||||
|
||||
func SensitiveBlock(diff computed.Diff, beforeSensitive, afterSensitive bool) computed.DiffRenderer {
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/opentofu/opentofu/internal/command/jsonformat/computed"
|
||||
"github.com/opentofu/opentofu/internal/plans"
|
||||
)
|
||||
|
||||
var _ computed.DiffRenderer = (*setRenderer)(nil)
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/opentofu/opentofu/internal/command/jsonformat/computed"
|
||||
)
|
||||
|
||||
type evaluatedString struct {
|
||||
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/opentofu/opentofu/internal/command/jsonformat/computed"
|
||||
"github.com/opentofu/opentofu/internal/plans"
|
||||
)
|
||||
|
||||
type ValidateDiffFunction func(t *testing.T, diff computed.Diff)
|
||||
|
||||
@@ -6,7 +6,7 @@ package renderers
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/opentofu/opentofu/internal/command/jsonformat/computed"
|
||||
)
|
||||
|
||||
var _ computed.DiffRenderer = (*typeChangeRenderer)(nil)
|
||||
|
||||
@@ -6,9 +6,9 @@ package renderers
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/opentofu/opentofu/internal/command/jsonformat/computed"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/opentofu/opentofu/internal/plans"
|
||||
)
|
||||
|
||||
var _ computed.DiffRenderer = (*unknownRenderer)(nil)
|
||||
|
||||
@@ -7,12 +7,12 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/format"
|
||||
"github.com/opentofu/opentofu/internal/command/format"
|
||||
|
||||
"github.com/hashicorp/hcl/v2/hclsyntax"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat/computed"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/opentofu/opentofu/internal/command/jsonformat/computed"
|
||||
"github.com/opentofu/opentofu/internal/plans"
|
||||
)
|
||||
|
||||
// NoWarningsRenderer defines a Warnings function that returns an empty list of
|
||||
|
||||
Reference in New Issue
Block a user