From 11c0bfada8e8b82221ad7608749423ece981b6f5 Mon Sep 17 00:00:00 2001 From: Jonathan Boulle Date: Fri, 1 Apr 2016 15:35:21 +0200 Subject: [PATCH] *: add missing license headers + check --- invoke/delegate.go | 14 ++++++++++++++ invoke/find_test.go | 14 ++++++++++++++ invoke/invoke_suite_test.go | 14 ++++++++++++++ ns/ns_suite_test.go | 14 ++++++++++++++ ns/ns_test.go | 14 ++++++++++++++ skel/skel_suite_test.go | 14 ++++++++++++++ skel/skel_test.go | 14 ++++++++++++++ types/args_test.go | 14 ++++++++++++++ types/types_suite_test.go | 14 ++++++++++++++ utils/utils.go | 14 ++++++++++++++ utils/utils_suite_test.go | 14 ++++++++++++++ utils/utils_test.go | 14 ++++++++++++++ 12 files changed, 168 insertions(+) diff --git a/invoke/delegate.go b/invoke/delegate.go index 9864e6f..0a8198c 100644 --- a/invoke/delegate.go +++ b/invoke/delegate.go @@ -1,3 +1,17 @@ +// Copyright 2016 CNI authors +// +// 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 invoke import ( diff --git a/invoke/find_test.go b/invoke/find_test.go index 00baa31..4135538 100644 --- a/invoke/find_test.go +++ b/invoke/find_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 CNI authors +// +// 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 invoke_test import ( diff --git a/invoke/invoke_suite_test.go b/invoke/invoke_suite_test.go index e570c96..72eb837 100644 --- a/invoke/invoke_suite_test.go +++ b/invoke/invoke_suite_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 CNI authors +// +// 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 invoke_test import ( diff --git a/ns/ns_suite_test.go b/ns/ns_suite_test.go index ff26ec2..e2adaa4 100644 --- a/ns/ns_suite_test.go +++ b/ns/ns_suite_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 CNI authors +// +// 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 ns_test import ( diff --git a/ns/ns_test.go b/ns/ns_test.go index ad52f7f..d9f182c 100644 --- a/ns/ns_test.go +++ b/ns/ns_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 CNI authors +// +// 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 ns_test import ( diff --git a/skel/skel_suite_test.go b/skel/skel_suite_test.go index 4820d5d..df5a8e7 100644 --- a/skel/skel_suite_test.go +++ b/skel/skel_suite_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 CNI authors +// +// 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 skel import ( diff --git a/skel/skel_test.go b/skel/skel_test.go index c6fb4e8..4469564 100644 --- a/skel/skel_test.go +++ b/skel/skel_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 CNI authors +// +// 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 skel import ( diff --git a/types/args_test.go b/types/args_test.go index 123548c..23aaf81 100644 --- a/types/args_test.go +++ b/types/args_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 CNI authors +// +// 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 types_test import ( diff --git a/types/types_suite_test.go b/types/types_suite_test.go index b026169..2b178ce 100644 --- a/types/types_suite_test.go +++ b/types/types_suite_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 CNI authors +// +// 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 types_test import ( diff --git a/utils/utils.go b/utils/utils.go index 7ec139f..33a2aa7 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -1,3 +1,17 @@ +// Copyright 2016 CNI authors +// +// 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 utils import ( diff --git a/utils/utils_suite_test.go b/utils/utils_suite_test.go index f160db6..ee614a7 100644 --- a/utils/utils_suite_test.go +++ b/utils/utils_suite_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 CNI authors +// +// 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 utils_test import ( diff --git a/utils/utils_test.go b/utils/utils_test.go index 91bb865..d703de4 100644 --- a/utils/utils_test.go +++ b/utils/utils_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 CNI authors +// +// 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 utils import ( -- 2.44.0