Skip to content

Commit

Permalink
treewide: convert more license headers to SPDX
Browse files Browse the repository at this point in the history
Running tools/spdxconv caught a few files not using SPDX.

Signed-off-by: Tom Payne <tom@isovalent.com>
  • Loading branch information
twpayne authored and tklauser committed Aug 19, 2021
1 parent 7968e9a commit ddd9ed7
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 252 deletions.
13 changes: 1 addition & 12 deletions api/v1/flow/flow.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 1 addition & 12 deletions api/v1/flow/flow.proto
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2019 Authors of Hubble
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

syntax = "proto3";

Expand Down
13 changes: 1 addition & 12 deletions api/v1/models/doc.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2019 Authors of Cilium
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// +k8s:openapi-gen=true

Expand Down
13 changes: 1 addition & 12 deletions api/v1/observer/observer.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 1 addition & 12 deletions api/v1/observer/observer.proto
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2019 Authors of Hubble
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

syntax = "proto3";

Expand Down
13 changes: 1 addition & 12 deletions api/v1/peer/peer.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 1 addition & 12 deletions api/v1/peer/peer.proto
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2020 Authors of Hubble
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

syntax = "proto3";

Expand Down
13 changes: 1 addition & 12 deletions api/v1/recorder/recorder.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 1 addition & 12 deletions api/v1/recorder/recorder.proto
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2021 Authors of Hubble
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

syntax = "proto3";

Expand Down
13 changes: 1 addition & 12 deletions api/v1/relay/relay.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 1 addition & 12 deletions api/v1/relay/relay.proto
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2020 Authors of Cilium
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

syntax = "proto3";

Expand Down
13 changes: 1 addition & 12 deletions bpf/tests/prog_test/prog_test.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2020-2021 Authors of Cilium
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// +build privileged_tests

Expand Down
13 changes: 1 addition & 12 deletions cilium/cmd/encrypt.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2021 Authors of Cilium
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package cmd

Expand Down
13 changes: 1 addition & 12 deletions cilium/cmd/encrypt_flush.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2021 Authors of Cilium
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package cmd

Expand Down
13 changes: 1 addition & 12 deletions cilium/cmd/encrypt_status.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2021 Authors of Cilium
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package cmd

Expand Down
13 changes: 1 addition & 12 deletions cilium/cmd/encrypt_status_test.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2021 Authors of Cilium
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// +build privileged_tests

Expand Down
13 changes: 1 addition & 12 deletions pkg/fqdn/dns/dns.go
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2021 Authors of Cilium
//
// Based on code from github.com/miekg/dns which is:
//
// Copyright 2009 The Go Authors. All rights reserved.
// Copyright 2011 Miek Gieben. All rights reserved.
// Copyright 2014 CloudFlare. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package dns

Expand Down
13 changes: 1 addition & 12 deletions pkg/fqdn/dns/dns_test.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2021 Authors of Cilium
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// +build !privileged_tests

Expand Down
13 changes: 1 addition & 12 deletions pkg/metrics/metrics_unix.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2017-2021 Authors of Cilium
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// +build !windows

Expand Down
13 changes: 1 addition & 12 deletions pkg/version/version_unix.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2017-2021 Authors of Cilium
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// +build !windows

Expand Down
13 changes: 1 addition & 12 deletions pkg/version/version_unix_test.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2017-2021 Authors of Cilium
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// +build !windows
// +build !privileged_tests
Expand Down

0 comments on commit ddd9ed7

Please sign in to comment.