From 18e64698cbd02948b1165b0e9b6235174d16ed04 Mon Sep 17 00:00:00 2001 From: Seer Date: Thu, 29 Aug 2024 13:40:14 +0800 Subject: [PATCH] fix: append licenses to code files (#64) --- cmd/redis-tools/commands/cluster/command.go | 16 ++++++++++++++++ cmd/redis-tools/commands/cluster/expose.go | 16 ++++++++++++++++ cmd/redis-tools/commands/cluster/heal.go | 16 ++++++++++++++++ cmd/redis-tools/commands/cluster/heal_test.go | 16 ++++++++++++++++ cmd/redis-tools/commands/cluster/healthcheck.go | 16 ++++++++++++++++ cmd/redis-tools/commands/cluster/shutdown.go | 16 ++++++++++++++++ cmd/redis-tools/commands/failover/access.go | 16 ++++++++++++++++ cmd/redis-tools/commands/failover/command.go | 16 ++++++++++++++++ cmd/redis-tools/commands/failover/shutdown.go | 16 ++++++++++++++++ cmd/redis-tools/commands/helper.go | 16 ++++++++++++++++ cmd/redis-tools/commands/helper/acl.go | 16 ++++++++++++++++ cmd/redis-tools/commands/helper/acl_test.go | 16 ++++++++++++++++ cmd/redis-tools/commands/helper/command.go | 16 ++++++++++++++++ cmd/redis-tools/commands/helper/healthcheck.go | 16 ++++++++++++++++ cmd/redis-tools/commands/runner/command.go | 16 ++++++++++++++++ cmd/redis-tools/commands/runner/rebalance.go | 16 ++++++++++++++++ cmd/redis-tools/commands/runner/sync.go | 16 ++++++++++++++++ cmd/redis-tools/commands/sentinel/access.go | 16 ++++++++++++++++ cmd/redis-tools/commands/sentinel/command.go | 16 ++++++++++++++++ cmd/redis-tools/commands/sentinel/config.go | 16 ++++++++++++++++ cmd/redis-tools/commands/sentinel/failover.go | 16 ++++++++++++++++ cmd/redis-tools/commands/sentinel/shutdown.go | 16 ++++++++++++++++ cmd/redis-tools/main.go | 16 ++++++++++++++++ cmd/redis-tools/sync/controller.go | 16 ++++++++++++++++ cmd/redis-tools/sync/file.go | 16 ++++++++++++++++ cmd/redis-tools/sync/redis.go | 16 ++++++++++++++++ cmd/redis-tools/util/client.go | 16 ++++++++++++++++ cmd/redis-tools/util/logger.go | 16 ++++++++++++++++ cmd/redis-tools/util/util.go | 16 ++++++++++++++++ .../builder/clusterbuilder/statefulset_test.go | 16 ++++++++++++++++ .../builder/failoverbuilder/statefulset_test.go | 16 ++++++++++++++++ 31 files changed, 496 insertions(+) diff --git a/cmd/redis-tools/commands/cluster/command.go b/cmd/redis-tools/commands/cluster/command.go index 9704cee..0337512 100644 --- a/cmd/redis-tools/commands/cluster/command.go +++ b/cmd/redis-tools/commands/cluster/command.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 cluster import ( diff --git a/cmd/redis-tools/commands/cluster/expose.go b/cmd/redis-tools/commands/cluster/expose.go index ff80cb7..4f5cdd0 100644 --- a/cmd/redis-tools/commands/cluster/expose.go +++ b/cmd/redis-tools/commands/cluster/expose.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 cluster import ( diff --git a/cmd/redis-tools/commands/cluster/heal.go b/cmd/redis-tools/commands/cluster/heal.go index 0149e96..7f7f0ae 100644 --- a/cmd/redis-tools/commands/cluster/heal.go +++ b/cmd/redis-tools/commands/cluster/heal.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 cluster import ( diff --git a/cmd/redis-tools/commands/cluster/heal_test.go b/cmd/redis-tools/commands/cluster/heal_test.go index 8a4f9ad..0792866 100644 --- a/cmd/redis-tools/commands/cluster/heal_test.go +++ b/cmd/redis-tools/commands/cluster/heal_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 cluster import ( diff --git a/cmd/redis-tools/commands/cluster/healthcheck.go b/cmd/redis-tools/commands/cluster/healthcheck.go index e69dfba..57e1480 100644 --- a/cmd/redis-tools/commands/cluster/healthcheck.go +++ b/cmd/redis-tools/commands/cluster/healthcheck.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 cluster import ( diff --git a/cmd/redis-tools/commands/cluster/shutdown.go b/cmd/redis-tools/commands/cluster/shutdown.go index 1c16727..e154195 100644 --- a/cmd/redis-tools/commands/cluster/shutdown.go +++ b/cmd/redis-tools/commands/cluster/shutdown.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 cluster import ( diff --git a/cmd/redis-tools/commands/failover/access.go b/cmd/redis-tools/commands/failover/access.go index bb29fda..bfb7203 100644 --- a/cmd/redis-tools/commands/failover/access.go +++ b/cmd/redis-tools/commands/failover/access.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 failover import ( diff --git a/cmd/redis-tools/commands/failover/command.go b/cmd/redis-tools/commands/failover/command.go index a4ba988..50ed261 100644 --- a/cmd/redis-tools/commands/failover/command.go +++ b/cmd/redis-tools/commands/failover/command.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 failover import ( diff --git a/cmd/redis-tools/commands/failover/shutdown.go b/cmd/redis-tools/commands/failover/shutdown.go index bcd00b2..b7f17cf 100644 --- a/cmd/redis-tools/commands/failover/shutdown.go +++ b/cmd/redis-tools/commands/failover/shutdown.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 failover import ( diff --git a/cmd/redis-tools/commands/helper.go b/cmd/redis-tools/commands/helper.go index 92040be..35aacbd 100644 --- a/cmd/redis-tools/commands/helper.go +++ b/cmd/redis-tools/commands/helper.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 commands import ( diff --git a/cmd/redis-tools/commands/helper/acl.go b/cmd/redis-tools/commands/helper/acl.go index 88411ea..6294c05 100644 --- a/cmd/redis-tools/commands/helper/acl.go +++ b/cmd/redis-tools/commands/helper/acl.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 helper import ( diff --git a/cmd/redis-tools/commands/helper/acl_test.go b/cmd/redis-tools/commands/helper/acl_test.go index c48f09f..6c1417b 100644 --- a/cmd/redis-tools/commands/helper/acl_test.go +++ b/cmd/redis-tools/commands/helper/acl_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 helper import ( diff --git a/cmd/redis-tools/commands/helper/command.go b/cmd/redis-tools/commands/helper/command.go index 1b96486..17ceb20 100644 --- a/cmd/redis-tools/commands/helper/command.go +++ b/cmd/redis-tools/commands/helper/command.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 helper import ( diff --git a/cmd/redis-tools/commands/helper/healthcheck.go b/cmd/redis-tools/commands/helper/healthcheck.go index 78285fe..1fad426 100644 --- a/cmd/redis-tools/commands/helper/healthcheck.go +++ b/cmd/redis-tools/commands/helper/healthcheck.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 helper import ( diff --git a/cmd/redis-tools/commands/runner/command.go b/cmd/redis-tools/commands/runner/command.go index 16b1728..177191c 100644 --- a/cmd/redis-tools/commands/runner/command.go +++ b/cmd/redis-tools/commands/runner/command.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 runner import ( diff --git a/cmd/redis-tools/commands/runner/rebalance.go b/cmd/redis-tools/commands/runner/rebalance.go index fcc3dbd..72b51c0 100644 --- a/cmd/redis-tools/commands/runner/rebalance.go +++ b/cmd/redis-tools/commands/runner/rebalance.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 runner import ( diff --git a/cmd/redis-tools/commands/runner/sync.go b/cmd/redis-tools/commands/runner/sync.go index 9d3d061..408823f 100644 --- a/cmd/redis-tools/commands/runner/sync.go +++ b/cmd/redis-tools/commands/runner/sync.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 runner import ( diff --git a/cmd/redis-tools/commands/sentinel/access.go b/cmd/redis-tools/commands/sentinel/access.go index 4fcef31..6944c99 100644 --- a/cmd/redis-tools/commands/sentinel/access.go +++ b/cmd/redis-tools/commands/sentinel/access.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 sentinel import ( diff --git a/cmd/redis-tools/commands/sentinel/command.go b/cmd/redis-tools/commands/sentinel/command.go index 4605e4b..9b52aa6 100644 --- a/cmd/redis-tools/commands/sentinel/command.go +++ b/cmd/redis-tools/commands/sentinel/command.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 sentinel import ( diff --git a/cmd/redis-tools/commands/sentinel/config.go b/cmd/redis-tools/commands/sentinel/config.go index 22f9929..35ee795 100644 --- a/cmd/redis-tools/commands/sentinel/config.go +++ b/cmd/redis-tools/commands/sentinel/config.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 sentinel import ( diff --git a/cmd/redis-tools/commands/sentinel/failover.go b/cmd/redis-tools/commands/sentinel/failover.go index 0c08f20..0fdc018 100644 --- a/cmd/redis-tools/commands/sentinel/failover.go +++ b/cmd/redis-tools/commands/sentinel/failover.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 sentinel import ( diff --git a/cmd/redis-tools/commands/sentinel/shutdown.go b/cmd/redis-tools/commands/sentinel/shutdown.go index b904b75..d5b5c78 100644 --- a/cmd/redis-tools/commands/sentinel/shutdown.go +++ b/cmd/redis-tools/commands/sentinel/shutdown.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 sentinel import ( diff --git a/cmd/redis-tools/main.go b/cmd/redis-tools/main.go index 903eb66..8e3aead 100644 --- a/cmd/redis-tools/main.go +++ b/cmd/redis-tools/main.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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/cmd/redis-tools/sync/controller.go b/cmd/redis-tools/sync/controller.go index 19c3bd6..52bae60 100644 --- a/cmd/redis-tools/sync/controller.go +++ b/cmd/redis-tools/sync/controller.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 sync import ( diff --git a/cmd/redis-tools/sync/file.go b/cmd/redis-tools/sync/file.go index 04eb22a..e5215f0 100644 --- a/cmd/redis-tools/sync/file.go +++ b/cmd/redis-tools/sync/file.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 sync import ( diff --git a/cmd/redis-tools/sync/redis.go b/cmd/redis-tools/sync/redis.go index a47204c..04ec73c 100644 --- a/cmd/redis-tools/sync/redis.go +++ b/cmd/redis-tools/sync/redis.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 sync import ( diff --git a/cmd/redis-tools/util/client.go b/cmd/redis-tools/util/client.go index 80182bc..47385c8 100644 --- a/cmd/redis-tools/util/client.go +++ b/cmd/redis-tools/util/client.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 util import ( diff --git a/cmd/redis-tools/util/logger.go b/cmd/redis-tools/util/logger.go index d8c5f60..3506e3f 100644 --- a/cmd/redis-tools/util/logger.go +++ b/cmd/redis-tools/util/logger.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 util import ( diff --git a/cmd/redis-tools/util/util.go b/cmd/redis-tools/util/util.go index 04332a3..c680cb4 100644 --- a/cmd/redis-tools/util/util.go +++ b/cmd/redis-tools/util/util.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 util import ( diff --git a/internal/builder/clusterbuilder/statefulset_test.go b/internal/builder/clusterbuilder/statefulset_test.go index 12ed99b..ecf891a 100644 --- a/internal/builder/clusterbuilder/statefulset_test.go +++ b/internal/builder/clusterbuilder/statefulset_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 clusterbuilder import ( diff --git a/internal/builder/failoverbuilder/statefulset_test.go b/internal/builder/failoverbuilder/statefulset_test.go index 590f2b2..e305c47 100644 --- a/internal/builder/failoverbuilder/statefulset_test.go +++ b/internal/builder/failoverbuilder/statefulset_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2023 The RedisOperator 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 failoverbuilder import (