Skip to content

Commit

Permalink
Copyright headers for command folder (#16705)
Browse files Browse the repository at this point in the history
* copyright headers for agent folder

* Ignore test data files

* fix proto files and remove headers in agent/uiserver folder

* ignore deep-copy files

* copyright headers for agent folder

* Copyright headers for command folder

* fix merge conflicts
  • Loading branch information
roncodingenthusiast authored Mar 28, 2023
1 parent 94ec4eb commit 4c070c3
Show file tree
Hide file tree
Showing 287 changed files with 861 additions and 0 deletions.
3 changes: 3 additions & 0 deletions command/acl/acl.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package acl

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/acl_helpers.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package acl

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/agenttokens/agent_tokens.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package agenttokens

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/agenttokens/agent_tokens_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package agenttokens

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/authmethod/authmethod.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package authmethod

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/authmethod/create/authmethod_create.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package authmethodcreate

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/authmethod/create/authmethod_create_oss.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

//go:build !consulent
// +build !consulent

Expand Down
3 changes: 3 additions & 0 deletions command/acl/authmethod/create/authmethod_create_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package authmethodcreate

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/authmethod/delete/authmethod_delete.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package authmethoddelete

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/authmethod/delete/authmethod_delete_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package authmethoddelete

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/authmethod/formatter.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package authmethod

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/authmethod/list/authmethod_list.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package authmethodlist

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/authmethod/list/authmethod_list_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package authmethodlist

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/authmethod/read/authmethod_read.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package authmethodread

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/authmethod/read/authmethod_read_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package authmethodread

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/authmethod/update/authmethod_update.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package authmethodupdate

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/authmethod/update/authmethod_update_oss.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

//go:build !consulent
// +build !consulent

Expand Down
3 changes: 3 additions & 0 deletions command/acl/authmethod/update/authmethod_update_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package authmethodupdate

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/bindingrule/bindingrule.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package bindingrule

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/bindingrule/create/bindingrule_create.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package bindingrulecreate

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/bindingrule/create/bindingrule_create_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package bindingrulecreate

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/bindingrule/delete/bindingrule_delete.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package bindingruledelete

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/bindingrule/delete/bindingrule_delete_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package bindingruledelete

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/bindingrule/formatter.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package bindingrule

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/bindingrule/list/bindingrule_list.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package bindingrulelist

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/bindingrule/list/bindingrule_list_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package bindingrulelist

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/bindingrule/read/bindingrule_read.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package bindingruleread

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/bindingrule/read/bindingrule_read_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package bindingruleread

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/bindingrule/update/bindingrule_update.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package bindingruleupdate

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/bindingrule/update/bindingrule_update_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package bindingruleupdate

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/bootstrap/bootstrap.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package bootstrap

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/bootstrap/bootstrap_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package bootstrap

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/policy/create/policy_create.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package policycreate

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/policy/create/policy_create_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package policycreate

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/policy/delete/policy_delete.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package policydelete

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/policy/delete/policy_delete_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package policydelete

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/policy/formatter.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package policy

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/policy/list/policy_list.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package policylist

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/policy/list/policy_list_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package policylist

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/policy/policy.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package policy

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/policy/read/policy_read.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package policyread

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/policy/read/policy_read_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package policyread

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/policy/update/policy_update.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package policyupdate

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/policy/update/policy_update_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package policyupdate

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/role/create/role_create.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package rolecreate

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/role/create/role_create_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package rolecreate

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/role/delete/role_delete.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package roledelete

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/role/delete/role_delete_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package roledelete

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/role/formatter.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package role

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/role/formatter_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package role

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/role/list/role_list.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package rolelist

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/role/list/role_list_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package rolelist

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/role/read/role_read.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package roleread

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/role/read/role_read_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package roleread

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/role/role.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package role

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/role/update/role_update.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package roleupdate

import (
Expand Down
3 changes: 3 additions & 0 deletions command/acl/role/update/role_update_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package roleupdate

import (
Expand Down
Loading

0 comments on commit 4c070c3

Please sign in to comment.