From 0bb762b367164ee71e7865110e8ef0153868e906 Mon Sep 17 00:00:00 2001 From: John Delivuk Date: Fri, 22 Feb 2019 10:29:24 -0500 Subject: [PATCH] Adding license to externalprovider and naming. --- pkg/external-provider/errors.go | 13 +++++++++++++ .../external_series_registry.go | 13 +++++++++++++ pkg/external-provider/metric_converter.go | 13 +++++++++++++ .../periodic_metric_lister_test.go | 13 +++++++++++++ pkg/external-provider/query_builder.go | 13 +++++++++++++ pkg/external-provider/query_builder_test.go | 13 +++++++++++++ pkg/external-provider/series_converter.go | 13 +++++++++++++ pkg/external-provider/series_filterer.go | 13 +++++++++++++ pkg/external-provider/series_filterer_test.go | 13 +++++++++++++ pkg/naming/lbl_res.go | 16 ++++++++++++++++ pkg/naming/metric_namer.go | 16 ++++++++++++++++ pkg/naming/metrics_query.go | 16 ++++++++++++++++ pkg/naming/regex_matcher_test.go | 16 ++++++++++++++++ pkg/naming/resource_converter.go | 16 ++++++++++++++++ 14 files changed, 197 insertions(+) diff --git a/pkg/external-provider/errors.go b/pkg/external-provider/errors.go index ba741019..10b38dd2 100644 --- a/pkg/external-provider/errors.go +++ b/pkg/external-provider/errors.go @@ -1,3 +1,16 @@ +/* +Copyright 2017 The Kubernetes 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 provider import "errors" diff --git a/pkg/external-provider/external_series_registry.go b/pkg/external-provider/external_series_registry.go index 50a002b1..d2bb0b39 100644 --- a/pkg/external-provider/external_series_registry.go +++ b/pkg/external-provider/external_series_registry.go @@ -1,3 +1,16 @@ +/* +Copyright 2017 The Kubernetes 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 provider import ( diff --git a/pkg/external-provider/metric_converter.go b/pkg/external-provider/metric_converter.go index c9cc3c2f..eb1b0f99 100644 --- a/pkg/external-provider/metric_converter.go +++ b/pkg/external-provider/metric_converter.go @@ -1,3 +1,16 @@ +/* +Copyright 2017 The Kubernetes 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 provider import ( diff --git a/pkg/external-provider/periodic_metric_lister_test.go b/pkg/external-provider/periodic_metric_lister_test.go index b276294f..866a6132 100644 --- a/pkg/external-provider/periodic_metric_lister_test.go +++ b/pkg/external-provider/periodic_metric_lister_test.go @@ -1,3 +1,16 @@ +/* +Copyright 2017 The Kubernetes 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 provider import ( diff --git a/pkg/external-provider/query_builder.go b/pkg/external-provider/query_builder.go index 88702fd2..c4e9aa18 100644 --- a/pkg/external-provider/query_builder.go +++ b/pkg/external-provider/query_builder.go @@ -1,3 +1,16 @@ +/* +Copyright 2017 The Kubernetes 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 provider import ( diff --git a/pkg/external-provider/query_builder_test.go b/pkg/external-provider/query_builder_test.go index ecdcc414..bb3a9de0 100644 --- a/pkg/external-provider/query_builder_test.go +++ b/pkg/external-provider/query_builder_test.go @@ -1,3 +1,16 @@ +/* +Copyright 2017 The Kubernetes 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 provider import ( diff --git a/pkg/external-provider/series_converter.go b/pkg/external-provider/series_converter.go index fe20d1ee..506c7c21 100644 --- a/pkg/external-provider/series_converter.go +++ b/pkg/external-provider/series_converter.go @@ -1,3 +1,16 @@ +/* +Copyright 2017 The Kubernetes 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 provider import ( diff --git a/pkg/external-provider/series_filterer.go b/pkg/external-provider/series_filterer.go index e75c883b..90d2d24a 100644 --- a/pkg/external-provider/series_filterer.go +++ b/pkg/external-provider/series_filterer.go @@ -1,3 +1,16 @@ +/* +Copyright 2017 The Kubernetes 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 provider import ( diff --git a/pkg/external-provider/series_filterer_test.go b/pkg/external-provider/series_filterer_test.go index 75486570..7171ad76 100644 --- a/pkg/external-provider/series_filterer_test.go +++ b/pkg/external-provider/series_filterer_test.go @@ -1,3 +1,16 @@ +/* +Copyright 2017 The Kubernetes 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 provider import ( diff --git a/pkg/naming/lbl_res.go b/pkg/naming/lbl_res.go index c5a09b3a..17e93fd2 100644 --- a/pkg/naming/lbl_res.go +++ b/pkg/naming/lbl_res.go @@ -1,3 +1,19 @@ +/* +Copyright 2019 The Kubernetes 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 naming import ( diff --git a/pkg/naming/metric_namer.go b/pkg/naming/metric_namer.go index a2a8b434..9db64d30 100644 --- a/pkg/naming/metric_namer.go +++ b/pkg/naming/metric_namer.go @@ -1,3 +1,19 @@ +/* +Copyright 2019 The Kubernetes 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 naming import ( diff --git a/pkg/naming/metrics_query.go b/pkg/naming/metrics_query.go index e9ad17b0..31a1dc62 100644 --- a/pkg/naming/metrics_query.go +++ b/pkg/naming/metrics_query.go @@ -1,3 +1,19 @@ +/* +Copyright 2019 The Kubernetes 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 naming import ( diff --git a/pkg/naming/regex_matcher_test.go b/pkg/naming/regex_matcher_test.go index fb0e1ef6..558a5713 100644 --- a/pkg/naming/regex_matcher_test.go +++ b/pkg/naming/regex_matcher_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2019 The Kubernetes 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 naming import ( diff --git a/pkg/naming/resource_converter.go b/pkg/naming/resource_converter.go index 275f77dd..4e536cfe 100644 --- a/pkg/naming/resource_converter.go +++ b/pkg/naming/resource_converter.go @@ -1,3 +1,19 @@ +/* +Copyright 2019 The Kubernetes 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 naming import (