From 8bbf7800ed8c4d67e8478aa8a4fea584445abc45 Mon Sep 17 00:00:00 2001 From: "hashicorp-copywrite[bot]" <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Date: Mon, 20 Mar 2023 16:28:33 +0000 Subject: [PATCH] [COMPLIANCE] Add Copyright and License Headers --- .changes/unreleased/NOTES-20230303-105418.yaml | 3 +++ .changie.yaml | 3 +++ .golangci.yml | 3 +++ .goreleaser.yml | 3 +++ cmd/tfplugindocs/main.go | 3 +++ cmd/tfplugindocs/version.go | 3 +++ internal/cmd/generate.go | 3 +++ internal/cmd/run.go | 3 +++ internal/cmd/serve.go | 3 +++ internal/cmd/validate.go | 3 +++ internal/mdplain/mdplain.go | 3 +++ internal/mdplain/renderer.go | 3 +++ internal/provider/generate.go | 3 +++ internal/provider/template.go | 3 +++ internal/provider/template_test.go | 3 +++ internal/provider/util.go | 3 +++ internal/provider/util_test.go | 3 +++ internal/provider/validate.go | 3 +++ internal/tmplfuncs/tmplfuncs.go | 3 +++ schemamd/behaviors.go | 3 +++ schemamd/behaviors_test.go | 3 +++ schemamd/render.go | 3 +++ schemamd/render_test.go | 3 +++ schemamd/write_attribute_description.go | 3 +++ schemamd/write_attribute_description_test.go | 3 +++ schemamd/write_block_type_description.go | 3 +++ schemamd/write_block_type_description_test.go | 3 +++ schemamd/write_nested_attribute_type_description.go | 3 +++ schemamd/write_nested_attribute_type_description_test.go | 3 +++ schemamd/write_type.go | 3 +++ schemamd/write_type_test.go | 3 +++ 31 files changed, 93 insertions(+) diff --git a/.changes/unreleased/NOTES-20230303-105418.yaml b/.changes/unreleased/NOTES-20230303-105418.yaml index 3cda5e2a..aa73b844 100644 --- a/.changes/unreleased/NOTES-20230303-105418.yaml +++ b/.changes/unreleased/NOTES-20230303-105418.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + kind: NOTES body: This Go module has been updated to Go 1.19 per the [Go support policy](https://golang.org/doc/devel/release.html#policy). Any consumers building on earlier Go versions may experience errors. diff --git a/.changie.yaml b/.changie.yaml index 1216b591..01a4d353 100644 --- a/.changie.yaml +++ b/.changie.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + changesDir: .changes unreleasedDir: unreleased changelogPath: CHANGELOG.md diff --git a/.golangci.yml b/.golangci.yml index 560707ab..898f0396 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + issues: max-per-linter: 0 max-same-issues: 0 diff --git a/.goreleaser.yml b/.goreleaser.yml index b6fab94d..5f0f4e89 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + project_name: tfplugindocs builds: - main: ./cmd/tfplugindocs diff --git a/cmd/tfplugindocs/main.go b/cmd/tfplugindocs/main.go index 1bf63bf1..df6e336a 100644 --- a/cmd/tfplugindocs/main.go +++ b/cmd/tfplugindocs/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/cmd/tfplugindocs/version.go b/cmd/tfplugindocs/version.go index 1e63a05b..68dc6cee 100644 --- a/cmd/tfplugindocs/version.go +++ b/cmd/tfplugindocs/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main var ( diff --git a/internal/cmd/generate.go b/internal/cmd/generate.go index e41780b2..14275961 100644 --- a/internal/cmd/generate.go +++ b/internal/cmd/generate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cmd import ( diff --git a/internal/cmd/run.go b/internal/cmd/run.go index 9438288e..82f47cde 100644 --- a/internal/cmd/run.go +++ b/internal/cmd/run.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cmd import ( diff --git a/internal/cmd/serve.go b/internal/cmd/serve.go index 4e8f21ee..8d0dde22 100644 --- a/internal/cmd/serve.go +++ b/internal/cmd/serve.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cmd //TODO: this command can run an emulated server to simulate the registry diff --git a/internal/cmd/validate.go b/internal/cmd/validate.go index 890ef8d1..c4a406cf 100644 --- a/internal/cmd/validate.go +++ b/internal/cmd/validate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cmd import ( diff --git a/internal/mdplain/mdplain.go b/internal/mdplain/mdplain.go index ea2a7789..ded53b65 100644 --- a/internal/mdplain/mdplain.go +++ b/internal/mdplain/mdplain.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mdplain import "github.com/russross/blackfriday" diff --git a/internal/mdplain/renderer.go b/internal/mdplain/renderer.go index 143e20f4..660cdae5 100644 --- a/internal/mdplain/renderer.go +++ b/internal/mdplain/renderer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mdplain import ( diff --git a/internal/provider/generate.go b/internal/provider/generate.go index 41dc5e96..46f76664 100644 --- a/internal/provider/generate.go +++ b/internal/provider/generate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/template.go b/internal/provider/template.go index dcc1e541..0219f1b8 100644 --- a/internal/provider/template.go +++ b/internal/provider/template.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/template_test.go b/internal/provider/template_test.go index d69f495d..88804e25 100644 --- a/internal/provider/template_test.go +++ b/internal/provider/template_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/util.go b/internal/provider/util.go index 00c1e763..06aee6b1 100644 --- a/internal/provider/util.go +++ b/internal/provider/util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/util_test.go b/internal/provider/util_test.go index 3cbc923a..d25bfdc9 100644 --- a/internal/provider/util_test.go +++ b/internal/provider/util_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/validate.go b/internal/provider/validate.go index 5bc53656..c2748e80 100644 --- a/internal/provider/validate.go +++ b/internal/provider/validate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/tmplfuncs/tmplfuncs.go b/internal/tmplfuncs/tmplfuncs.go index 99d28f37..8fd393f5 100644 --- a/internal/tmplfuncs/tmplfuncs.go +++ b/internal/tmplfuncs/tmplfuncs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tmplfuncs import ( diff --git a/schemamd/behaviors.go b/schemamd/behaviors.go index 954225ea..f0006ef2 100644 --- a/schemamd/behaviors.go +++ b/schemamd/behaviors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schemamd import ( diff --git a/schemamd/behaviors_test.go b/schemamd/behaviors_test.go index 44ed4d39..cdc93af2 100644 --- a/schemamd/behaviors_test.go +++ b/schemamd/behaviors_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schemamd import ( diff --git a/schemamd/render.go b/schemamd/render.go index 14c06aaa..90617d86 100644 --- a/schemamd/render.go +++ b/schemamd/render.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schemamd import ( diff --git a/schemamd/render_test.go b/schemamd/render_test.go index 40cb44e2..447826db 100644 --- a/schemamd/render_test.go +++ b/schemamd/render_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schemamd_test import ( diff --git a/schemamd/write_attribute_description.go b/schemamd/write_attribute_description.go index 13517b53..a8aa45b9 100644 --- a/schemamd/write_attribute_description.go +++ b/schemamd/write_attribute_description.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schemamd import ( diff --git a/schemamd/write_attribute_description_test.go b/schemamd/write_attribute_description_test.go index 17a929a8..dc2724af 100644 --- a/schemamd/write_attribute_description_test.go +++ b/schemamd/write_attribute_description_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schemamd_test import ( diff --git a/schemamd/write_block_type_description.go b/schemamd/write_block_type_description.go index 14a18153..31ca2782 100644 --- a/schemamd/write_block_type_description.go +++ b/schemamd/write_block_type_description.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schemamd import ( diff --git a/schemamd/write_block_type_description_test.go b/schemamd/write_block_type_description_test.go index 81e29891..16183303 100644 --- a/schemamd/write_block_type_description_test.go +++ b/schemamd/write_block_type_description_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schemamd_test import ( diff --git a/schemamd/write_nested_attribute_type_description.go b/schemamd/write_nested_attribute_type_description.go index f9e90a57..c51be83c 100644 --- a/schemamd/write_nested_attribute_type_description.go +++ b/schemamd/write_nested_attribute_type_description.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schemamd import ( diff --git a/schemamd/write_nested_attribute_type_description_test.go b/schemamd/write_nested_attribute_type_description_test.go index a77b39d2..c576f2df 100644 --- a/schemamd/write_nested_attribute_type_description_test.go +++ b/schemamd/write_nested_attribute_type_description_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schemamd_test import ( diff --git a/schemamd/write_type.go b/schemamd/write_type.go index 0250edd8..d44a9eb4 100644 --- a/schemamd/write_type.go +++ b/schemamd/write_type.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schemamd import ( diff --git a/schemamd/write_type_test.go b/schemamd/write_type_test.go index 2f84dbde..2256b370 100644 --- a/schemamd/write_type_test.go +++ b/schemamd/write_type_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schemamd_test import (