license: MPL'ify proto-public (manual backport for 1.15.x) (#20157)

pull/20163/head
Semir Patel 2024-01-10 14:00:54 -06:00 committed by GitHub
parent a4a7cbbb99
commit 19e293bff4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 20 additions and 42 deletions

View File

@ -8,44 +8,7 @@ project {
# Supports doublestar glob patterns for more flexibility in defining which
# files or folders should be ignored
header_ignore = [
# Forked and modified UI libs
"ui/packages/consul-ui/app/utils/dom/event-target/**",
"ui/packages/consul-ui/lib/rehype-prism/**",
"ui/packages/consul-ui/lib/block-slots/**",
# UI file that do not render properly with copyright headers
"ui/packages/consul-ui/app/components/brand-loader/enterprise.hbs",
"ui/packages/consul-ui/app/components/brand-loader/index.hbs",
# ignore specific test data files
"agent/uiserver/testdata/**",
# generated files
"agent/structs/structs.deepcopy.go",
"agent/proxycfg/proxycfg.deepcopy.go",
"agent/grpc-middleware/rate_limit_mappings.gen.go",
"agent/uiserver/dist/**",
"agent/consul/state/catalog_schema.deepcopy.go",
"agent/config/config.deepcopy.go",
"agent/grpc-middleware/testutil/testservice/simple.pb.go",
"proto-public/annotations/ratelimit/ratelimit.pb.go",
"proto-public/pbacl/acl.pb.go",
"proto-public/pbconnectca/ca.pb.go",
"proto-public/pbdataplane/dataplane.pb.go",
"proto-public/pbdns/dns.pb.go",
"proto-public/pbserverdiscovery/serverdiscovery.pb.go",
"proto/pbacl/acl.pb.go",
"proto/pbautoconf/auto_config.pb.go",
"proto/pbcommon/common.pb.go",
"proto/pbconfig/config.pb.go",
"proto/pbconfigentry/config_entry.pb.go",
"proto/pbconnect/connect.pb.go",
"proto/pboperator/operator.pb.go",
"proto/pbpeering/peering.pb.go",
"proto/pbpeerstream/peerstream.pb.go",
"proto/pbservice/healthcheck.pb.go",
"proto/pbservice/node.pb.go",
"proto/pbservice/service.pb.go",
"proto/pbsubscribe/subscribe.pb.go",
# "vendor/**",
# "**autogen**",
]
}

View File

@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
package ports
type hostPort struct {

View File

@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
package ports
import (

View File

@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
package ports
import (

View File

@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
package ports
type troubleShootProtocol interface {

View File

@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
package ports
import (