Skip to content

Commit

Permalink
Merge pull request #40 from CloudNativeSDWAN/spdx
Browse files Browse the repository at this point in the history
Add `SPDX-License-Identifier: Apache-2.0` to headers
  • Loading branch information
ljakab authored Jan 20, 2022
2 parents e40f298 + 278edd9 commit 1238089
Show file tree
Hide file tree
Showing 58 changed files with 116 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/doc.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020, 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions cmd/servicedirectory.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020, 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions cmd/version.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/poll/cloudmap/cloudmap.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/poll/cloudmap/cloudmap_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/poll/cloudmap/command.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/poll/cloudmap/doc.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/poll/cloudmap/fake_servicediscovery.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/poll/cloudmap/options.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/poll/cloudmap/utils.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/poll/cloudmap/utils_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/poll/cloudmap/vars.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/poll/command.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/poll/doc.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/poll/vars.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/watch/command.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/watch/doc.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/watch/etcd/command.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/watch/etcd/doc.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/watch/etcd/fake_kv.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/watch/etcd/fake_queue.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/watch/etcd/fake_sr.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/watch/etcd/options.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/watch/etcd/utils.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/watch/etcd/utils_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/watch/etcd/vars.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/watch/etcd/watcher.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/watch/etcd/watcher_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/configuration/configuration.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/configuration/types.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2021 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/internal/utils/utils.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/internal/utils/utils_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/openapi/api_events.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/openapi/client.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/openapi/configuration.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/openapi/doc.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/openapi/model_errors.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/openapi/model_event.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/openapi/model_metadata.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/openapi/model_resource_response.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/openapi/model_response.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/openapi/model_service.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/openapi/response.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/poller/doc.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/poller/poller.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/poller/poller_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/queue/doc.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
2 changes: 2 additions & 0 deletions pkg/queue/queue.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright © 2020 Cisco
//
// SPDX-License-Identifier: Apache-2.0
//
// 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
Expand Down
Loading

0 comments on commit 1238089

Please sign in to comment.