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 9864e6f5..0a8198c3 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 00baa313..4135538d 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 e570c964..72eb837f 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 ff26ec2e..e2adaa4e 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 ad52f7f4..d9f182cf 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 4820d5d9..df5a8e77 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 c6fb4e80..44695648 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 123548cc..23aaf817 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 b026169c..2b178cee 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 7ec139fd..33a2aa79 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 f160db60..ee614a70 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 91bb8654..d703de42 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 (