From 22cb24da09b5167f2fdbba4c907c453a21344021 Mon Sep 17 00:00:00 2001 From: 710leo <710leo@gmail.com> Date: Mon, 18 Jan 2021 23:39:23 +0800 Subject: [PATCH] add license --- src/modules/agent/sys/funcs/cpustat.go | 14 ++++++++++++++ src/modules/agent/sys/funcs/cron.go | 14 ++++++++++++++ src/modules/agent/sys/funcs/dfstat.go | 14 ++++++++++++++ src/modules/agent/sys/funcs/diskstat.go | 14 ++++++++++++++ src/modules/agent/sys/funcs/fsstat.go | 14 ++++++++++++++ src/modules/agent/sys/funcs/funcs.go | 14 ++++++++++++++ src/modules/agent/sys/funcs/ifstat.go | 14 ++++++++++++++ src/modules/agent/sys/funcs/loadavg.go | 14 ++++++++++++++ src/modules/agent/sys/funcs/meminfo.go | 14 ++++++++++++++ src/modules/agent/sys/funcs/snmp.go | 14 ++++++++++++++ src/modules/agent/sys/funcs/sockstas.go | 14 ++++++++++++++ src/modules/agent/sys/funcs/sys.go | 14 ++++++++++++++ src/modules/agent/sys/plugins/plugin.go | 14 ++++++++++++++ src/modules/agent/sys/plugins/reader.go | 14 ++++++++++++++ src/modules/agent/sys/plugins/scheduler.go | 14 ++++++++++++++ src/modules/judge/cache/history.go | 14 ++++++++++++++ src/modules/judge/cache/linkedlist.go | 14 ++++++++++++++ src/modules/judge/judge/func.go | 14 ++++++++++++++ src/modules/judge/judge/judge.go | 14 ++++++++++++++ src/modules/judge/rpc/push.go | 14 ++++++++++++++ src/modules/transfer/backend/judge.go | 14 ++++++++++++++ src/modules/transfer/backend/tsdb/query.go | 14 ++++++++++++++ src/modules/transfer/backend/tsdb/ring.go | 14 ++++++++++++++ src/modules/transfer/backend/tsdb/tsdb.go | 14 ++++++++++++++ src/modules/transfer/rpc/push.go | 14 ++++++++++++++ src/modules/tsdb/rpc/push.go | 14 ++++++++++++++ src/modules/tsdb/rpc/query.go | 14 ++++++++++++++ src/modules/tsdb/rrdtool/rrdtool.go | 14 ++++++++++++++ src/modules/tsdb/rrdtool/sync_disk.go | 14 ++++++++++++++ src/modules/tsdb/utils/utils.go | 14 ++++++++++++++ 30 files changed, 420 insertions(+) diff --git a/src/modules/agent/sys/funcs/cpustat.go b/src/modules/agent/sys/funcs/cpustat.go index b2cd8728..952f82ca 100644 --- a/src/modules/agent/sys/funcs/cpustat.go +++ b/src/modules/agent/sys/funcs/cpustat.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/cron.go b/src/modules/agent/sys/funcs/cron.go index 4d1ab0ad..3990bfb4 100644 --- a/src/modules/agent/sys/funcs/cron.go +++ b/src/modules/agent/sys/funcs/cron.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/dfstat.go b/src/modules/agent/sys/funcs/dfstat.go index a73aaeba..b764d3a0 100644 --- a/src/modules/agent/sys/funcs/dfstat.go +++ b/src/modules/agent/sys/funcs/dfstat.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/diskstat.go b/src/modules/agent/sys/funcs/diskstat.go index c4aa2276..6a17f47b 100644 --- a/src/modules/agent/sys/funcs/diskstat.go +++ b/src/modules/agent/sys/funcs/diskstat.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/fsstat.go b/src/modules/agent/sys/funcs/fsstat.go index 8243fa73..42d335d6 100644 --- a/src/modules/agent/sys/funcs/fsstat.go +++ b/src/modules/agent/sys/funcs/fsstat.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/funcs.go b/src/modules/agent/sys/funcs/funcs.go index f547855d..6357cb29 100644 --- a/src/modules/agent/sys/funcs/funcs.go +++ b/src/modules/agent/sys/funcs/funcs.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/ifstat.go b/src/modules/agent/sys/funcs/ifstat.go index 6f1e19c1..ff35c19b 100644 --- a/src/modules/agent/sys/funcs/ifstat.go +++ b/src/modules/agent/sys/funcs/ifstat.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/loadavg.go b/src/modules/agent/sys/funcs/loadavg.go index 21f71c9c..15752220 100644 --- a/src/modules/agent/sys/funcs/loadavg.go +++ b/src/modules/agent/sys/funcs/loadavg.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/meminfo.go b/src/modules/agent/sys/funcs/meminfo.go index 3499f69d..674f96a6 100644 --- a/src/modules/agent/sys/funcs/meminfo.go +++ b/src/modules/agent/sys/funcs/meminfo.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/snmp.go b/src/modules/agent/sys/funcs/snmp.go index 55eb0de7..a1751fb7 100644 --- a/src/modules/agent/sys/funcs/snmp.go +++ b/src/modules/agent/sys/funcs/snmp.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/sockstas.go b/src/modules/agent/sys/funcs/sockstas.go index 8aef3e4a..4ea9809c 100644 --- a/src/modules/agent/sys/funcs/sockstas.go +++ b/src/modules/agent/sys/funcs/sockstas.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/funcs/sys.go b/src/modules/agent/sys/funcs/sys.go index d35839bf..54c37735 100644 --- a/src/modules/agent/sys/funcs/sys.go +++ b/src/modules/agent/sys/funcs/sys.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 funcs import ( diff --git a/src/modules/agent/sys/plugins/plugin.go b/src/modules/agent/sys/plugins/plugin.go index bece52c1..3546b26a 100644 --- a/src/modules/agent/sys/plugins/plugin.go +++ b/src/modules/agent/sys/plugins/plugin.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 plugins type Plugin struct { diff --git a/src/modules/agent/sys/plugins/reader.go b/src/modules/agent/sys/plugins/reader.go index e2b64d95..db3d288b 100644 --- a/src/modules/agent/sys/plugins/reader.go +++ b/src/modules/agent/sys/plugins/reader.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 plugins import ( diff --git a/src/modules/agent/sys/plugins/scheduler.go b/src/modules/agent/sys/plugins/scheduler.go index 275728f5..23fb3336 100644 --- a/src/modules/agent/sys/plugins/scheduler.go +++ b/src/modules/agent/sys/plugins/scheduler.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 plugins import ( diff --git a/src/modules/judge/cache/history.go b/src/modules/judge/cache/history.go index eb13d25a..610ca903 100644 --- a/src/modules/judge/cache/history.go +++ b/src/modules/judge/cache/history.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 cache import ( diff --git a/src/modules/judge/cache/linkedlist.go b/src/modules/judge/cache/linkedlist.go index c085400b..b19c3031 100644 --- a/src/modules/judge/cache/linkedlist.go +++ b/src/modules/judge/cache/linkedlist.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 cache import ( diff --git a/src/modules/judge/judge/func.go b/src/modules/judge/judge/func.go index 2e78b73c..7087435f 100644 --- a/src/modules/judge/judge/func.go +++ b/src/modules/judge/judge/func.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 judge import ( diff --git a/src/modules/judge/judge/judge.go b/src/modules/judge/judge/judge.go index dfb56fd9..60f2e442 100644 --- a/src/modules/judge/judge/judge.go +++ b/src/modules/judge/judge/judge.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 judge import ( diff --git a/src/modules/judge/rpc/push.go b/src/modules/judge/rpc/push.go index 0e5a9b23..f93bdcee 100644 --- a/src/modules/judge/rpc/push.go +++ b/src/modules/judge/rpc/push.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 rpc import ( diff --git a/src/modules/transfer/backend/judge.go b/src/modules/transfer/backend/judge.go index 1198b43f..fd558c3d 100644 --- a/src/modules/transfer/backend/judge.go +++ b/src/modules/transfer/backend/judge.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 backend import ( diff --git a/src/modules/transfer/backend/tsdb/query.go b/src/modules/transfer/backend/tsdb/query.go index 9e32d3de..01081d26 100644 --- a/src/modules/transfer/backend/tsdb/query.go +++ b/src/modules/transfer/backend/tsdb/query.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 tsdb import ( diff --git a/src/modules/transfer/backend/tsdb/ring.go b/src/modules/transfer/backend/tsdb/ring.go index 8d8806f1..10640715 100644 --- a/src/modules/transfer/backend/tsdb/ring.go +++ b/src/modules/transfer/backend/tsdb/ring.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 tsdb import ( diff --git a/src/modules/transfer/backend/tsdb/tsdb.go b/src/modules/transfer/backend/tsdb/tsdb.go index 8ecae6cc..0ce779de 100644 --- a/src/modules/transfer/backend/tsdb/tsdb.go +++ b/src/modules/transfer/backend/tsdb/tsdb.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 tsdb import ( diff --git a/src/modules/transfer/rpc/push.go b/src/modules/transfer/rpc/push.go index d489f502..320b649e 100644 --- a/src/modules/transfer/rpc/push.go +++ b/src/modules/transfer/rpc/push.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 rpc import ( diff --git a/src/modules/tsdb/rpc/push.go b/src/modules/tsdb/rpc/push.go index 3a022c50..faaed628 100644 --- a/src/modules/tsdb/rpc/push.go +++ b/src/modules/tsdb/rpc/push.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 rpc import ( diff --git a/src/modules/tsdb/rpc/query.go b/src/modules/tsdb/rpc/query.go index 8b9d98c3..bbf1eba9 100644 --- a/src/modules/tsdb/rpc/query.go +++ b/src/modules/tsdb/rpc/query.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 rpc import ( diff --git a/src/modules/tsdb/rrdtool/rrdtool.go b/src/modules/tsdb/rrdtool/rrdtool.go index c7e114a8..d00d4337 100644 --- a/src/modules/tsdb/rrdtool/rrdtool.go +++ b/src/modules/tsdb/rrdtool/rrdtool.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 rrdtool import ( diff --git a/src/modules/tsdb/rrdtool/sync_disk.go b/src/modules/tsdb/rrdtool/sync_disk.go index 391df532..ce492595 100644 --- a/src/modules/tsdb/rrdtool/sync_disk.go +++ b/src/modules/tsdb/rrdtool/sync_disk.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 rrdtool import ( diff --git a/src/modules/tsdb/utils/utils.go b/src/modules/tsdb/utils/utils.go index b16d7276..1a01eb8d 100644 --- a/src/modules/tsdb/utils/utils.go +++ b/src/modules/tsdb/utils/utils.go @@ -1,3 +1,17 @@ +// Copyright 2017 Xiaomi, Inc. +// +// 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 ( -- GitLab