diff --git a/cmd/virtual-kubelet/commands/root/tracing_register.go b/cmd/virtual-kubelet/commands/root/tracing_register.go index 6ce7cdb17..70242a715 100644 --- a/cmd/virtual-kubelet/commands/root/tracing_register.go +++ b/cmd/virtual-kubelet/commands/root/tracing_register.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 root import ( diff --git a/cmd/virtual-kubelet/commands/root/tracing_register_jaeger.go b/cmd/virtual-kubelet/commands/root/tracing_register_jaeger.go index ce89328f4..ba5eb2451 100644 --- a/cmd/virtual-kubelet/commands/root/tracing_register_jaeger.go +++ b/cmd/virtual-kubelet/commands/root/tracing_register_jaeger.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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. + // +build !no_jaeger_exporter package root diff --git a/cmd/virtual-kubelet/commands/root/tracing_register_ocagent.go b/cmd/virtual-kubelet/commands/root/tracing_register_ocagent.go index c9502801c..551bea0dd 100644 --- a/cmd/virtual-kubelet/commands/root/tracing_register_ocagent.go +++ b/cmd/virtual-kubelet/commands/root/tracing_register_ocagent.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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. + // +build !no_ocagent_exporter package root diff --git a/cmd/virtual-kubelet/commands/root/tracing_register_test.go b/cmd/virtual-kubelet/commands/root/tracing_register_test.go index 1de04a984..7a6b36fd2 100644 --- a/cmd/virtual-kubelet/commands/root/tracing_register_test.go +++ b/cmd/virtual-kubelet/commands/root/tracing_register_test.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 root import ( diff --git a/cmd/virtual-kubelet/main.go b/cmd/virtual-kubelet/main.go index 7dd5b0536..e3f462cad 100644 --- a/cmd/virtual-kubelet/main.go +++ b/cmd/virtual-kubelet/main.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 main import ( diff --git a/log/logrus/logrus.go b/log/logrus/logrus.go index 74c2d5698..644f13ab7 100644 --- a/log/logrus/logrus.go +++ b/log/logrus/logrus.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 logrus implements a github.com/virtual-kubelet/virtual-kubelet/log.Logger using Logrus as a backend // You can use this by creating a logrus logger and calling `FromLogrus(entry)`. // If you want this to be the default logger for virtual-kubelet, set `log.L` to the value returned by `FromLogrus` diff --git a/log/logrus/logrus_test.go b/log/logrus/logrus_test.go index 8e0375f58..f51667108 100644 --- a/log/logrus/logrus_test.go +++ b/log/logrus/logrus_test.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 logrus import ( diff --git a/log/nop.go b/log/nop.go index 4e5c90f04..947a057ae 100644 --- a/log/nop.go +++ b/log/nop.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 log type nopLogger struct{} diff --git a/manager/doc.go b/manager/doc.go index 612ed115b..d5a7bd9db 100644 --- a/manager/doc.go +++ b/manager/doc.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 manager provides access to kubernetes resources for providers. // // DEPRECATION WARNING: diff --git a/manager/resource.go b/manager/resource.go index cfdbf6531..ccf5e5087 100644 --- a/manager/resource.go +++ b/manager/resource.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 manager import ( diff --git a/manager/resource_test.go b/manager/resource_test.go index f8c7866ca..eb4549757 100644 --- a/manager/resource_test.go +++ b/manager/resource_test.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 manager_test import ( diff --git a/node/api/doc.go b/node/api/doc.go index 12c6d9a5d..8336a3cef 100644 --- a/node/api/doc.go +++ b/node/api/doc.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 api implements HTTP handlers for handling requests that the kubelet // would normally implement, such as pod logs, exec, etc. package api diff --git a/node/api/exec.go b/node/api/exec.go index 310ac3fa8..25000547f 100644 --- a/node/api/exec.go +++ b/node/api/exec.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 api import ( diff --git a/node/api/helpers.go b/node/api/helpers.go index 9d8010d1f..9f32d01e2 100644 --- a/node/api/helpers.go +++ b/node/api/helpers.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 api import ( diff --git a/node/api/logs.go b/node/api/logs.go index b1dc3a279..c45793d4c 100644 --- a/node/api/logs.go +++ b/node/api/logs.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 api import ( diff --git a/node/api/pods.go b/node/api/pods.go index 37275d374..7d2ca65d5 100644 --- a/node/api/pods.go +++ b/node/api/pods.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 api import ( diff --git a/node/api/server.go b/node/api/server.go index 42997ca74..badf70554 100644 --- a/node/api/server.go +++ b/node/api/server.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 api import ( diff --git a/node/api/stats.go b/node/api/stats.go index a2a6fbe6f..e052521e5 100644 --- a/node/api/stats.go +++ b/node/api/stats.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 api import ( diff --git a/node/doc.go b/node/doc.go index a55d0d054..3a82f617a 100644 --- a/node/doc.go +++ b/node/doc.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 node implements the components for operating a node in Kubernetes. This includes controllers for managin the node object, running scheduled pods, diff --git a/node/env.go b/node/env.go index 95ea8ba33..29f3762be 100755 --- a/node/env.go +++ b/node/env.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 node import ( diff --git a/node/env_internal_test.go b/node/env_internal_test.go index 7279c0b17..cf9cf9a91 100644 --- a/node/env_internal_test.go +++ b/node/env_internal_test.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 node import ( diff --git a/node/node.go b/node/node.go index 8fdda959f..b64b4e2c5 100644 --- a/node/node.go +++ b/node/node.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 node import ( diff --git a/node/node_test.go b/node/node_test.go index c7724c895..d31e6113a 100644 --- a/node/node_test.go +++ b/node/node_test.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 node import ( diff --git a/node/pod.go b/node/pod.go index 9d0a80bc6..f685d2b91 100644 --- a/node/pod.go +++ b/node/pod.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 node import ( diff --git a/node/pod_test.go b/node/pod_test.go index cbdcfc69c..88fdde952 100644 --- a/node/pod_test.go +++ b/node/pod_test.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 node import ( diff --git a/node/queue.go b/node/queue.go index 8918310b4..b9a8eebec 100644 --- a/node/queue.go +++ b/node/queue.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 node import ( diff --git a/trace/nop.go b/trace/nop.go index 7a50bcf61..9babc1702 100644 --- a/trace/nop.go +++ b/trace/nop.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 trace import ( diff --git a/trace/opencensus/opencensus.go b/trace/opencensus/opencensus.go index ae9023d4b..b5bcd5213 100644 --- a/trace/opencensus/opencensus.go +++ b/trace/opencensus/opencensus.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 opencensus implements a github.com/virtual-kubelet/virtual-kubelet/trace.Tracer // using opencensus as a backend. // diff --git a/trace/opencensus/opencensus_test.go b/trace/opencensus/opencensus_test.go index ed3919341..6a62156e2 100644 --- a/trace/opencensus/opencensus_test.go +++ b/trace/opencensus/opencensus_test.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 opencensus import ( diff --git a/trace/trace.go b/trace/trace.go index 27e3ce27e..80a204209 100644 --- a/trace/trace.go +++ b/trace/trace.go @@ -1,3 +1,17 @@ +// Copyright © 2017 The virtual-kubelet 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 trace abstracts virtual-kubelet's tracing capabilties into a set of // interfaces. // While this does allow consumers to use whatever tracing library they want,