summaryrefslogtreecommitdiff
path: root/hclwrite
diff options
context:
space:
mode:
authorhashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>2023-02-28 10:30:09 +0100
committerGitHub <noreply@github.com>2023-02-28 10:30:09 +0100
commit4679383728fe331fc8a6b46036a27b8f818d9bc0 (patch)
treedfed34e85cce6af3a6e01869d3f439c525e213e4 /hclwrite
parenta514df9c5e5a496ea3cfe6c41a4304b2398f6bb7 (diff)
[COMPLIANCE] Add Copyright and License Headers (#586)
* [COMPLIANCE] Add Copyright and License Headers * add copywrite file and revert headers in testdata --------- Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Co-authored-by: Liam Cervante <liam.cervante@hashicorp.com>
Diffstat (limited to 'hclwrite')
-rw-r--r--hclwrite/ast.go3
-rw-r--r--hclwrite/ast_attribute.go3
-rw-r--r--hclwrite/ast_block.go3
-rw-r--r--hclwrite/ast_block_test.go3
-rw-r--r--hclwrite/ast_body.go3
-rw-r--r--hclwrite/ast_body_test.go3
-rw-r--r--hclwrite/ast_expression.go3
-rw-r--r--hclwrite/ast_test.go3
-rw-r--r--hclwrite/doc.go3
-rw-r--r--hclwrite/examples_test.go3
-rw-r--r--hclwrite/format.go3
-rw-r--r--hclwrite/format_test.go3
-rw-r--r--hclwrite/fuzz/fuzz_test.go3
-rw-r--r--hclwrite/generate.go3
-rw-r--r--hclwrite/generate_test.go3
-rw-r--r--hclwrite/native_node_sorter.go3
-rw-r--r--hclwrite/node.go3
-rw-r--r--hclwrite/parser.go3
-rw-r--r--hclwrite/parser_test.go3
-rw-r--r--hclwrite/public.go3
-rw-r--r--hclwrite/round_trip_test.go3
-rw-r--r--hclwrite/tokens.go3
22 files changed, 66 insertions, 0 deletions
diff --git a/hclwrite/ast.go b/hclwrite/ast.go
index 0904165..d2f9dae 100644
--- a/hclwrite/ast.go
+++ b/hclwrite/ast.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package hclwrite
import (
diff --git a/hclwrite/ast_attribute.go b/hclwrite/ast_attribute.go
index 609419f..3edc68c 100644
--- a/hclwrite/ast_attribute.go
+++ b/hclwrite/ast_attribute.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package hclwrite
import (
diff --git a/hclwrite/ast_block.go b/hclwrite/ast_block.go
index edabb26..91e7d4a 100644
--- a/hclwrite/ast_block.go
+++ b/hclwrite/ast_block.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package hclwrite
import (
diff --git a/hclwrite/ast_block_test.go b/hclwrite/ast_block_test.go
index 8129040..0760001 100644
--- a/hclwrite/ast_block_test.go
+++ b/hclwrite/ast_block_test.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package hclwrite
import (
diff --git a/hclwrite/ast_body.go b/hclwrite/ast_body.go
index 119f53e..6321509 100644
--- a/hclwrite/ast_body.go
+++ b/hclwrite/ast_body.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package hclwrite
import (
diff --git a/hclwrite/ast_body_test.go b/hclwrite/ast_body_test.go
index 5336786..1e23523 100644
--- a/hclwrite/ast_body_test.go
+++ b/hclwrite/ast_body_test.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package hclwrite
import (
diff --git a/hclwrite/ast_expression.go b/hclwrite/ast_expression.go
index 073c308..77b9f78 100644
--- a/hclwrite/ast_expression.go
+++ b/hclwrite/ast_expression.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package hclwrite
import (
diff --git a/hclwrite/ast_test.go b/hclwrite/ast_test.go
index 08f7801..12bb054 100644
--- a/hclwrite/ast_test.go
+++ b/hclwrite/ast_test.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package hclwrite
import (
diff --git a/hclwrite/doc.go b/hclwrite/doc.go
index 56d5b77..57ec37e 100644
--- a/hclwrite/doc.go
+++ b/hclwrite/doc.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
// Package hclwrite deals with the problem of generating HCL configuration
// and of making specific surgical changes to existing HCL configurations.
//
diff --git a/hclwrite/examples_test.go b/hclwrite/examples_test.go
index f848ce2..f61d782 100644
--- a/hclwrite/examples_test.go
+++ b/hclwrite/examples_test.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package hclwrite_test
import (
diff --git a/hclwrite/format.go b/hclwrite/format.go
index dca247e..d5f974c 100644
--- a/hclwrite/format.go
+++ b/hclwrite/format.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package hclwrite
import (
diff --git a/hclwrite/format_test.go b/hclwrite/format_test.go
index 037157a..e64b551 100644
--- a/hclwrite/format_test.go
+++ b/hclwrite/format_test.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package hclwrite
import (
diff --git a/hclwrite/fuzz/fuzz_test.go b/hclwrite/fuzz/fuzz_test.go
index fa29af9..573741c 100644
--- a/hclwrite/fuzz/fuzz_test.go
+++ b/hclwrite/fuzz/fuzz_test.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package fuzzhclwrite
import (
diff --git a/hclwrite/generate.go b/hclwrite/generate.go
index 6f6a2e6..678d539 100644
--- a/hclwrite/generate.go
+++ b/hclwrite/generate.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package hclwrite
import (
diff --git a/hclwrite/generate_test.go b/hclwrite/generate_test.go
index 06fa094..87dffec 100644
--- a/hclwrite/generate_test.go
+++ b/hclwrite/generate_test.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package hclwrite
import (
diff --git a/hclwrite/native_node_sorter.go b/hclwrite/native_node_sorter.go
index cedf686..0a78683 100644
--- a/hclwrite/native_node_sorter.go
+++ b/hclwrite/native_node_sorter.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package hclwrite
import (
diff --git a/hclwrite/node.go b/hclwrite/node.go
index d3a5b72..7ad4bb9 100644
--- a/hclwrite/node.go
+++ b/hclwrite/node.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package hclwrite
import (
diff --git a/hclwrite/parser.go b/hclwrite/parser.go
index 3df5144..53415ae 100644
--- a/hclwrite/parser.go
+++ b/hclwrite/parser.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package hclwrite
import (
diff --git a/hclwrite/parser_test.go b/hclwrite/parser_test.go
index 6edebc7..e557940 100644
--- a/hclwrite/parser_test.go
+++ b/hclwrite/parser_test.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package hclwrite
import (
diff --git a/hclwrite/public.go b/hclwrite/public.go
index 678a3aa..8003a71 100644
--- a/hclwrite/public.go
+++ b/hclwrite/public.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package hclwrite
import (
diff --git a/hclwrite/round_trip_test.go b/hclwrite/round_trip_test.go
index 8ce9c4f..bf306de 100644
--- a/hclwrite/round_trip_test.go
+++ b/hclwrite/round_trip_test.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package hclwrite
import (
diff --git a/hclwrite/tokens.go b/hclwrite/tokens.go
index 57a5fd2..909bb4b 100644
--- a/hclwrite/tokens.go
+++ b/hclwrite/tokens.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package hclwrite
import (