From 429000ac5e97f7f976b2717fec5bbf255757d119 Mon Sep 17 00:00:00 2001 From: Ben Kochie Date: Fri, 17 Apr 2020 08:42:16 +0200 Subject: [PATCH] Add license headers. Signed-off-by: Ben Kochie --- harness/collector.go | 13 +++++++++++++ harness/exporter.go | 13 +++++++++++++ harness/main.go | 13 +++++++++++++ harness/registry.go | 13 +++++++++++++ harness/util.go | 13 +++++++++++++ harness/version.go | 13 +++++++++++++ json_exporter.go | 13 +++++++++++++ jsonexporter/collector.go | 13 +++++++++++++ jsonexporter/config.go | 13 +++++++++++++ jsonexporter/init.go | 13 +++++++++++++ jsonexporter/scraper.go | 13 +++++++++++++ jsonexporter/version.go | 13 +++++++++++++ 12 files changed, 156 insertions(+) diff --git a/harness/collector.go b/harness/collector.go index f4da22b..5aab52c 100644 --- a/harness/collector.go +++ b/harness/collector.go @@ -1,3 +1,16 @@ +// Copyright 2020 The Prometheus 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 harness type Collector interface { diff --git a/harness/exporter.go b/harness/exporter.go index aa802e0..38b9817 100644 --- a/harness/exporter.go +++ b/harness/exporter.go @@ -1,3 +1,16 @@ +// Copyright 2020 The Prometheus 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 harness import ( diff --git a/harness/main.go b/harness/main.go index 114d6ed..9d5aab7 100644 --- a/harness/main.go +++ b/harness/main.go @@ -1,3 +1,16 @@ +// Copyright 2020 The Prometheus 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 harness import ( diff --git a/harness/registry.go b/harness/registry.go index c826e31..587f5e0 100644 --- a/harness/registry.go +++ b/harness/registry.go @@ -1,3 +1,16 @@ +// Copyright 2020 The Prometheus 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 harness import ( diff --git a/harness/util.go b/harness/util.go index 7b678e8..a72dbf4 100644 --- a/harness/util.go +++ b/harness/util.go @@ -1,3 +1,16 @@ +// Copyright 2020 The Prometheus 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 harness import ( diff --git a/harness/version.go b/harness/version.go index 9ca7806..699ef84 100644 --- a/harness/version.go +++ b/harness/version.go @@ -1,3 +1,16 @@ +// Copyright 2020 The Prometheus 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 harness const Version = "0.0.1" diff --git a/json_exporter.go b/json_exporter.go index 85ff8d7..bb9267f 100644 --- a/json_exporter.go +++ b/json_exporter.go @@ -1,3 +1,16 @@ +// Copyright 2020 The Prometheus 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/jsonexporter/collector.go b/jsonexporter/collector.go index 6d180dc..2c4885e 100644 --- a/jsonexporter/collector.go +++ b/jsonexporter/collector.go @@ -1,3 +1,16 @@ +// Copyright 2020 The Prometheus 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 jsonexporter import ( diff --git a/jsonexporter/config.go b/jsonexporter/config.go index c0a421f..8c4e987 100644 --- a/jsonexporter/config.go +++ b/jsonexporter/config.go @@ -1,3 +1,16 @@ +// Copyright 2020 The Prometheus 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 jsonexporter import ( diff --git a/jsonexporter/init.go b/jsonexporter/init.go index a94e93e..dd44c97 100644 --- a/jsonexporter/init.go +++ b/jsonexporter/init.go @@ -1,3 +1,16 @@ +// Copyright 2020 The Prometheus 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 jsonexporter import ( diff --git a/jsonexporter/scraper.go b/jsonexporter/scraper.go index 1e39c11..72a74e3 100644 --- a/jsonexporter/scraper.go +++ b/jsonexporter/scraper.go @@ -1,3 +1,16 @@ +// Copyright 2020 The Prometheus 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 jsonexporter import ( diff --git a/jsonexporter/version.go b/jsonexporter/version.go index d6523d5..86ed05d 100644 --- a/jsonexporter/version.go +++ b/jsonexporter/version.go @@ -1,3 +1,16 @@ +// Copyright 2020 The Prometheus 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 jsonexporter const Version = "0.0.2"