Rename github.com/placeholderplaceholderplaceholder/opentf to github.com/opentofu/opentofu (#461)

This commit is contained in:
Yaron Yarimi
2023-09-20 14:35:35 +03:00
committed by GitHub
parent ff3d0b2c61
commit c8acedd885
901 changed files with 2937 additions and 2942 deletions

View File

@@ -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.

View File

@@ -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 (

View File

@@ -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

View File

@@ -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

View File

@@ -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)

View File

@@ -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)

View File

@@ -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)

View File

@@ -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)

View File

@@ -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) {

View File

@@ -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)

View File

@@ -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 {

View File

@@ -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)

View File

@@ -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 {

View File

@@ -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)

View File

@@ -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)

View File

@@ -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)

View File

@@ -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