Skip to content

Commit

Permalink
tfprotov5+tfprotov6: Copyright headers
Browse files Browse the repository at this point in the history
  • Loading branch information
bflad committed Jan 18, 2024
1 parent dec8fd3 commit b27c78f
Show file tree
Hide file tree
Showing 50 changed files with 100 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tfprotov5/internal/fromproto/data_source_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package fromproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/fromproto/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

// Package fromproto converts Protocol Buffers generated tfplugin5 types into
// terraform-plugin-go tfprotov5 types.
package fromproto
2 changes: 2 additions & 0 deletions tfprotov5/internal/fromproto/dynamic_value_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package fromproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/fromproto/function_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package fromproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/fromproto/provider_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package fromproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/fromproto/raw_state_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package fromproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/fromproto/resource_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package fromproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/toproto/attribute_path.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/toproto/attribute_path_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/toproto/data_source.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/toproto/data_source_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/toproto/diagnostic.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/toproto/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

// Package toproto converts terraform-plugin-go tfprotov5 types to Protocol
// Buffers generated tfplugin5 types.
package toproto
2 changes: 2 additions & 0 deletions tfprotov5/internal/toproto/dynamic_value.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/toproto/dynamic_value_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/toproto/function_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/toproto/pointer_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto_test

func pointer[T any](value T) *T {
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/toproto/provider.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/toproto/provider_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/toproto/resource.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/toproto/resource_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/toproto/schema.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/toproto/schema_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/toproto/server_capabilities_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov5/internal/toproto/string_kind.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/fromproto/data_source_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package fromproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/fromproto/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

// Package fromproto converts Protocol Buffers generated tfplugin6 types into
// terraform-plugin-go tfprotov6 types.
package fromproto
2 changes: 2 additions & 0 deletions tfprotov6/internal/fromproto/dynamic_value_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package fromproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/fromproto/function_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package fromproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/fromproto/provider_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package fromproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/fromproto/raw_state_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package fromproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/fromproto/resource_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package fromproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/toproto/attribute_path.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/toproto/attribute_path_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/toproto/data_source.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/toproto/data_source_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/toproto/diagnostic.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/toproto/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

// Package toproto converts terraform-plugin-go tfprotov6 types to Protocol
// Buffers generated tfplugin6 types.
package toproto
2 changes: 2 additions & 0 deletions tfprotov6/internal/toproto/dynamic_value.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/toproto/dynamic_value_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/toproto/function_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/toproto/pointer_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto_test

func pointer[T any](value T) *T {
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/toproto/provider.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/toproto/provider_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/toproto/resource.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/toproto/resource_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/toproto/schema.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/toproto/schema_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/toproto/server_capabilities_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto_test

import (
Expand Down
2 changes: 2 additions & 0 deletions tfprotov6/internal/toproto/string_kind.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) HashiCorp, Inc.

package toproto

import (
Expand Down

0 comments on commit b27c78f

Please sign in to comment.