diff --git a/LICENSE.md b/LICENSE.md index 1f9c911bd5..90fe0562e2 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -176,7 +176,7 @@ END OF TERMS AND CONDITIONS - Copyright 2017 - 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -189,6 +189,3 @@ 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. - - - diff --git a/ansible/roles/pgo-operator/templates/add-targeted-namespace.sh.j2 b/ansible/roles/pgo-operator/templates/add-targeted-namespace.sh.j2 index e7bdeb7cea..380a8a80b7 100644 --- a/ansible/roles/pgo-operator/templates/add-targeted-namespace.sh.j2 +++ b/ansible/roles/pgo-operator/templates/add-targeted-namespace.sh.j2 @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2019 Crunchy Data Solutions, Inc. +# Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apis/cr/v1/backup.go b/apis/cr/v1/backup.go index 573157fc0e..e6ea799aa1 100644 --- a/apis/cr/v1/backup.go +++ b/apis/cr/v1/backup.go @@ -1,7 +1,7 @@ package v1 /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apis/cr/v1/cluster.go b/apis/cr/v1/cluster.go index e62970c8e9..8aac81c338 100644 --- a/apis/cr/v1/cluster.go +++ b/apis/cr/v1/cluster.go @@ -1,7 +1,7 @@ package v1 /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apis/cr/v1/common.go b/apis/cr/v1/common.go index 0d27bc6704..9d5ec523ba 100644 --- a/apis/cr/v1/common.go +++ b/apis/cr/v1/common.go @@ -1,7 +1,7 @@ package v1 /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apis/cr/v1/deepcopy.go b/apis/cr/v1/deepcopy.go index 95dbde7165..39e0fc3cec 100644 --- a/apis/cr/v1/deepcopy.go +++ b/apis/cr/v1/deepcopy.go @@ -1,7 +1,7 @@ package v1 /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apis/cr/v1/doc.go b/apis/cr/v1/doc.go index d384cb1a56..9f3d4444c6 100644 --- a/apis/cr/v1/doc.go +++ b/apis/cr/v1/doc.go @@ -111,7 +111,7 @@ package v1 // +k8s:deepcopy-gen=package,register /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apis/cr/v1/policy.go b/apis/cr/v1/policy.go index 806a90a1e9..adfb6281f0 100644 --- a/apis/cr/v1/policy.go +++ b/apis/cr/v1/policy.go @@ -1,7 +1,7 @@ package v1 /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apis/cr/v1/register.go b/apis/cr/v1/register.go index bb055c47a0..92fcce0ad2 100644 --- a/apis/cr/v1/register.go +++ b/apis/cr/v1/register.go @@ -1,7 +1,7 @@ package v1 /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apis/cr/v1/replica.go b/apis/cr/v1/replica.go index bf36920ada..4d71b2e096 100644 --- a/apis/cr/v1/replica.go +++ b/apis/cr/v1/replica.go @@ -1,7 +1,7 @@ package v1 /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apis/cr/v1/task.go b/apis/cr/v1/task.go index 8f2e2e8804..b6bfb04a58 100644 --- a/apis/cr/v1/task.go +++ b/apis/cr/v1/task.go @@ -1,7 +1,7 @@ package v1 /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver.go b/apiserver.go index 22842e8ec7..fe131a5aa1 100644 --- a/apiserver.go +++ b/apiserver.go @@ -1,7 +1,7 @@ package main /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/backrestservice/backrestimpl.go b/apiserver/backrestservice/backrestimpl.go index c2ee6bc95f..af3c8e5f08 100644 --- a/apiserver/backrestservice/backrestimpl.go +++ b/apiserver/backrestservice/backrestimpl.go @@ -1,7 +1,7 @@ package backrestservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/backrestservice/backrestservice.go b/apiserver/backrestservice/backrestservice.go index 8b3d688d9c..375a0373c9 100644 --- a/apiserver/backrestservice/backrestservice.go +++ b/apiserver/backrestservice/backrestservice.go @@ -1,7 +1,7 @@ package backrestservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/backupoptions/backupoptionsutil.go b/apiserver/backupoptions/backupoptionsutil.go index 4d10b23377..b27e06b0b0 100644 --- a/apiserver/backupoptions/backupoptionsutil.go +++ b/apiserver/backupoptions/backupoptionsutil.go @@ -1,7 +1,7 @@ package backupoptions /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/backupoptions/pgbackrestoptions.go b/apiserver/backupoptions/pgbackrestoptions.go index ccada94d9b..c105f337ee 100644 --- a/apiserver/backupoptions/pgbackrestoptions.go +++ b/apiserver/backupoptions/pgbackrestoptions.go @@ -1,7 +1,7 @@ package backupoptions /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/backupoptions/pgbasebackupoptions.go b/apiserver/backupoptions/pgbasebackupoptions.go index e65017f72e..f37f0d3e27 100644 --- a/apiserver/backupoptions/pgbasebackupoptions.go +++ b/apiserver/backupoptions/pgbasebackupoptions.go @@ -1,7 +1,7 @@ package backupoptions /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/backupoptions/pgdumpoptions.go b/apiserver/backupoptions/pgdumpoptions.go index bbbd81a718..c13d8fd5e5 100644 --- a/apiserver/backupoptions/pgdumpoptions.go +++ b/apiserver/backupoptions/pgdumpoptions.go @@ -1,7 +1,7 @@ package backupoptions /* -Copyright 2017 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/backupservice/backupimpl.go b/apiserver/backupservice/backupimpl.go index fa7e1f21e1..1c043987d7 100644 --- a/apiserver/backupservice/backupimpl.go +++ b/apiserver/backupservice/backupimpl.go @@ -1,7 +1,7 @@ package backupservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/backupservice/backupservice.go b/apiserver/backupservice/backupservice.go index 2d2f42659b..e0beb48b03 100644 --- a/apiserver/backupservice/backupservice.go +++ b/apiserver/backupservice/backupservice.go @@ -1,7 +1,7 @@ package backupservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/benchmarkservice/benchmarkimpl.go b/apiserver/benchmarkservice/benchmarkimpl.go index f275b4f677..c7e46e6c09 100644 --- a/apiserver/benchmarkservice/benchmarkimpl.go +++ b/apiserver/benchmarkservice/benchmarkimpl.go @@ -1,7 +1,7 @@ package benchmarkservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/benchmarkservice/benchmarkservice.go b/apiserver/benchmarkservice/benchmarkservice.go index 3b1c084d66..0c79e53454 100644 --- a/apiserver/benchmarkservice/benchmarkservice.go +++ b/apiserver/benchmarkservice/benchmarkservice.go @@ -1,7 +1,7 @@ package benchmarkservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/catservice/catimpl.go b/apiserver/catservice/catimpl.go index cdec5ea216..7fa22b2692 100644 --- a/apiserver/catservice/catimpl.go +++ b/apiserver/catservice/catimpl.go @@ -1,7 +1,7 @@ package catservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/catservice/catservice.go b/apiserver/catservice/catservice.go index 501f899be3..23ede5c5be 100644 --- a/apiserver/catservice/catservice.go +++ b/apiserver/catservice/catservice.go @@ -1,7 +1,7 @@ package catservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/cloneservice/cloneimpl.go b/apiserver/cloneservice/cloneimpl.go index 3f353234e3..5bb583201c 100644 --- a/apiserver/cloneservice/cloneimpl.go +++ b/apiserver/cloneservice/cloneimpl.go @@ -1,7 +1,7 @@ package cloneservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/cloneservice/cloneservice.go b/apiserver/cloneservice/cloneservice.go index 6ceaf2a687..03a96dc486 100644 --- a/apiserver/cloneservice/cloneservice.go +++ b/apiserver/cloneservice/cloneservice.go @@ -1,7 +1,7 @@ package cloneservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/clusterservice/clusterimpl.go b/apiserver/clusterservice/clusterimpl.go index e96b4bc9fa..fbcba10669 100644 --- a/apiserver/clusterservice/clusterimpl.go +++ b/apiserver/clusterservice/clusterimpl.go @@ -1,7 +1,7 @@ package clusterservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/clusterservice/clusterservice.go b/apiserver/clusterservice/clusterservice.go index e42760d6f1..0e7ab3e2d3 100644 --- a/apiserver/clusterservice/clusterservice.go +++ b/apiserver/clusterservice/clusterservice.go @@ -1,7 +1,7 @@ package clusterservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/clusterservice/scaleimpl.go b/apiserver/clusterservice/scaleimpl.go index c3358dbd8b..6341dce235 100644 --- a/apiserver/clusterservice/scaleimpl.go +++ b/apiserver/clusterservice/scaleimpl.go @@ -1,7 +1,7 @@ package clusterservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/clusterservice/scaleservice.go b/apiserver/clusterservice/scaleservice.go index 4743421182..1f16253258 100644 --- a/apiserver/clusterservice/scaleservice.go +++ b/apiserver/clusterservice/scaleservice.go @@ -1,7 +1,7 @@ package clusterservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/common.go b/apiserver/common.go index 9208f5f264..9b853fe192 100644 --- a/apiserver/common.go +++ b/apiserver/common.go @@ -1,7 +1,7 @@ package apiserver /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/configservice/configimpl.go b/apiserver/configservice/configimpl.go index 33772f6135..cafe29f772 100644 --- a/apiserver/configservice/configimpl.go +++ b/apiserver/configservice/configimpl.go @@ -1,7 +1,7 @@ package configservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/configservice/configservice.go b/apiserver/configservice/configservice.go index 07428d4871..d411b263f9 100644 --- a/apiserver/configservice/configservice.go +++ b/apiserver/configservice/configservice.go @@ -1,7 +1,7 @@ package configservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/dfservice/dfimpl.go b/apiserver/dfservice/dfimpl.go index e67089f1bd..27dcca14cc 100644 --- a/apiserver/dfservice/dfimpl.go +++ b/apiserver/dfservice/dfimpl.go @@ -1,7 +1,7 @@ package dfservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/dfservice/dfservice.go b/apiserver/dfservice/dfservice.go index 17790f840d..2eadeb45e0 100644 --- a/apiserver/dfservice/dfservice.go +++ b/apiserver/dfservice/dfservice.go @@ -1,7 +1,7 @@ package dfservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/failoverservice/failoverimpl.go b/apiserver/failoverservice/failoverimpl.go index 6413ae1927..6a1a7c1726 100644 --- a/apiserver/failoverservice/failoverimpl.go +++ b/apiserver/failoverservice/failoverimpl.go @@ -1,7 +1,7 @@ package failoverservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/failoverservice/failoverservice.go b/apiserver/failoverservice/failoverservice.go index 663d5142ed..c5364bf4ab 100644 --- a/apiserver/failoverservice/failoverservice.go +++ b/apiserver/failoverservice/failoverservice.go @@ -1,7 +1,7 @@ package failoverservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/labelservice/labelimpl.go b/apiserver/labelservice/labelimpl.go index e36cc1a517..1df1b58741 100644 --- a/apiserver/labelservice/labelimpl.go +++ b/apiserver/labelservice/labelimpl.go @@ -1,7 +1,7 @@ package labelservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/labelservice/labelservice.go b/apiserver/labelservice/labelservice.go index ab31aaacb2..e39c4c16c5 100644 --- a/apiserver/labelservice/labelservice.go +++ b/apiserver/labelservice/labelservice.go @@ -1,7 +1,7 @@ package labelservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/loadservice/loadconfig.go b/apiserver/loadservice/loadconfig.go index 80c5df8633..ecf2b4a277 100644 --- a/apiserver/loadservice/loadconfig.go +++ b/apiserver/loadservice/loadconfig.go @@ -1,7 +1,7 @@ package loadservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/loadservice/loadimpl.go b/apiserver/loadservice/loadimpl.go index b6cf26eabc..b1e9347ec4 100644 --- a/apiserver/loadservice/loadimpl.go +++ b/apiserver/loadservice/loadimpl.go @@ -1,7 +1,7 @@ package loadservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/loadservice/loadservice.go b/apiserver/loadservice/loadservice.go index 535234f4fc..d091927ded 100644 --- a/apiserver/loadservice/loadservice.go +++ b/apiserver/loadservice/loadservice.go @@ -1,7 +1,7 @@ package loadservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/lsservice/lsimpl.go b/apiserver/lsservice/lsimpl.go index fd7e985995..bdf7db8222 100644 --- a/apiserver/lsservice/lsimpl.go +++ b/apiserver/lsservice/lsimpl.go @@ -1,7 +1,7 @@ package lsservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/lsservice/lsservice.go b/apiserver/lsservice/lsservice.go index 68eea1663f..da20e2300b 100644 --- a/apiserver/lsservice/lsservice.go +++ b/apiserver/lsservice/lsservice.go @@ -1,7 +1,7 @@ package lsservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/middleware.go b/apiserver/middleware.go index 2c4a72ba0a..463eb384fa 100644 --- a/apiserver/middleware.go +++ b/apiserver/middleware.go @@ -1,7 +1,7 @@ package apiserver /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/namespaceservice/namespaceimpl.go b/apiserver/namespaceservice/namespaceimpl.go index 45e472423b..5b0e7d8070 100644 --- a/apiserver/namespaceservice/namespaceimpl.go +++ b/apiserver/namespaceservice/namespaceimpl.go @@ -1,7 +1,7 @@ package namespaceservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/namespaceservice/namespaceservice.go b/apiserver/namespaceservice/namespaceservice.go index 7cf2e737ab..ac0b2d0d0b 100644 --- a/apiserver/namespaceservice/namespaceservice.go +++ b/apiserver/namespaceservice/namespaceservice.go @@ -1,7 +1,7 @@ package namespaceservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/perms.go b/apiserver/perms.go index f8b29ed1b8..00547c48c0 100644 --- a/apiserver/perms.go +++ b/apiserver/perms.go @@ -1,7 +1,7 @@ package apiserver /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/pgbouncerservice/pgbouncerimpl.go b/apiserver/pgbouncerservice/pgbouncerimpl.go index 75fb417719..975109949f 100644 --- a/apiserver/pgbouncerservice/pgbouncerimpl.go +++ b/apiserver/pgbouncerservice/pgbouncerimpl.go @@ -1,7 +1,7 @@ package pgbouncerservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/pgbouncerservice/pgbouncerservice.go b/apiserver/pgbouncerservice/pgbouncerservice.go index e9fe42faf1..fad0defd18 100644 --- a/apiserver/pgbouncerservice/pgbouncerservice.go +++ b/apiserver/pgbouncerservice/pgbouncerservice.go @@ -1,7 +1,7 @@ package pgbouncerservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/pgdumpservice/pgdumpimpl.go b/apiserver/pgdumpservice/pgdumpimpl.go index 456c727e70..41b3ee876e 100644 --- a/apiserver/pgdumpservice/pgdumpimpl.go +++ b/apiserver/pgdumpservice/pgdumpimpl.go @@ -1,7 +1,7 @@ package pgdumpservice /* -Copyright 2018 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/pgdumpservice/pgdumpservice.go b/apiserver/pgdumpservice/pgdumpservice.go index 54e9204834..acf2229eea 100644 --- a/apiserver/pgdumpservice/pgdumpservice.go +++ b/apiserver/pgdumpservice/pgdumpservice.go @@ -1,7 +1,7 @@ package pgdumpservice /* -Copyright 2017 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/pgoroleservice/pgoroleimpl.go b/apiserver/pgoroleservice/pgoroleimpl.go index dbb61efbca..01053f30f1 100644 --- a/apiserver/pgoroleservice/pgoroleimpl.go +++ b/apiserver/pgoroleservice/pgoroleimpl.go @@ -1,7 +1,7 @@ package pgoroleservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/pgoroleservice/pgoroleservice.go b/apiserver/pgoroleservice/pgoroleservice.go index 956684ddaf..00231523cd 100644 --- a/apiserver/pgoroleservice/pgoroleservice.go +++ b/apiserver/pgoroleservice/pgoroleservice.go @@ -1,7 +1,7 @@ package pgoroleservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/pgouserservice/pgouserimpl.go b/apiserver/pgouserservice/pgouserimpl.go index b00e22aa5c..ac50c56f2e 100644 --- a/apiserver/pgouserservice/pgouserimpl.go +++ b/apiserver/pgouserservice/pgouserimpl.go @@ -1,7 +1,7 @@ package pgouserservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/pgouserservice/pgouserservice.go b/apiserver/pgouserservice/pgouserservice.go index 09b3496379..7148bc9793 100644 --- a/apiserver/pgouserservice/pgouserservice.go +++ b/apiserver/pgouserservice/pgouserservice.go @@ -1,7 +1,7 @@ package pgouserservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/policyservice/policyimpl.go b/apiserver/policyservice/policyimpl.go index bfd62e4373..0f2a3ea2ba 100644 --- a/apiserver/policyservice/policyimpl.go +++ b/apiserver/policyservice/policyimpl.go @@ -1,7 +1,7 @@ package policyservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/policyservice/policyservice.go b/apiserver/policyservice/policyservice.go index 058ac7e1ef..811dba777b 100644 --- a/apiserver/policyservice/policyservice.go +++ b/apiserver/policyservice/policyservice.go @@ -1,7 +1,7 @@ package policyservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/pvcservice/pvcimpl.go b/apiserver/pvcservice/pvcimpl.go index 419b2e4b28..9d454f3a67 100644 --- a/apiserver/pvcservice/pvcimpl.go +++ b/apiserver/pvcservice/pvcimpl.go @@ -1,7 +1,7 @@ package pvcservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/pvcservice/pvcservice.go b/apiserver/pvcservice/pvcservice.go index da41af168c..b91b9000bd 100644 --- a/apiserver/pvcservice/pvcservice.go +++ b/apiserver/pvcservice/pvcservice.go @@ -1,7 +1,7 @@ package pvcservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/reloadservice/reloadimpl.go b/apiserver/reloadservice/reloadimpl.go index 3c32d0ab13..c279d96b08 100644 --- a/apiserver/reloadservice/reloadimpl.go +++ b/apiserver/reloadservice/reloadimpl.go @@ -1,7 +1,7 @@ package reloadservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 @@ -147,7 +147,7 @@ func reload( command := make([]string, 3) command[0] = "/bin/bash" command[1] = "-c" - command[2] = fmt.Sprintf("curl -X POST --silent http://127.0.0.1:%s/reload", + command[2] = fmt.Sprintf("curl -X POST --silent http://127.0.0.1:%s/reload", config.DEFAULT_PATRONI_PORT) log.Debugf("running Exec with namespace=[%s] podname=[%s] container name=[%s]", namespace, pod.Name, pod.Spec.Containers[0].Name) diff --git a/apiserver/reloadservice/reloadservice.go b/apiserver/reloadservice/reloadservice.go index df6abbd0d7..9541f4ea4a 100644 --- a/apiserver/reloadservice/reloadservice.go +++ b/apiserver/reloadservice/reloadservice.go @@ -1,7 +1,7 @@ package reloadservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/root.go b/apiserver/root.go index cf1471931b..f909b8c32d 100644 --- a/apiserver/root.go +++ b/apiserver/root.go @@ -1,7 +1,7 @@ package apiserver /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/routing/doc.go b/apiserver/routing/doc.go index 38ab2acdce..e985fd4280 100644 --- a/apiserver/routing/doc.go +++ b/apiserver/routing/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/routing/routes.go b/apiserver/routing/routes.go index 3cbfbddd8e..4fdc5726cd 100644 --- a/apiserver/routing/routes.go +++ b/apiserver/routing/routes.go @@ -1,7 +1,7 @@ package routing /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/scheduleservice/scheduleimpl.go b/apiserver/scheduleservice/scheduleimpl.go index 2a5f5c27a5..29f2dfbb71 100644 --- a/apiserver/scheduleservice/scheduleimpl.go +++ b/apiserver/scheduleservice/scheduleimpl.go @@ -1,7 +1,7 @@ package scheduleservice /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 @@ -16,9 +16,9 @@ package scheduleservice */ import ( - "github.com/crunchydata/postgres-operator/apiserver/backupoptions" "encoding/json" "fmt" + "github.com/crunchydata/postgres-operator/apiserver/backupoptions" "time" crv1 "github.com/crunchydata/postgres-operator/apis/cr/v1" diff --git a/apiserver/scheduleservice/scheduleservice.go b/apiserver/scheduleservice/scheduleservice.go index 63cf8a60c5..660d0d061e 100644 --- a/apiserver/scheduleservice/scheduleservice.go +++ b/apiserver/scheduleservice/scheduleservice.go @@ -1,7 +1,7 @@ package scheduleservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/statusservice/statusimpl.go b/apiserver/statusservice/statusimpl.go index cefd0d3e01..aeb708d806 100644 --- a/apiserver/statusservice/statusimpl.go +++ b/apiserver/statusservice/statusimpl.go @@ -1,7 +1,7 @@ package statusservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/statusservice/statusservice.go b/apiserver/statusservice/statusservice.go index 92123d9996..c065997c40 100644 --- a/apiserver/statusservice/statusservice.go +++ b/apiserver/statusservice/statusservice.go @@ -1,7 +1,7 @@ package statusservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/upgradeservice/upgradeimpl.go b/apiserver/upgradeservice/upgradeimpl.go index 4dc6806ebd..3a311b6701 100644 --- a/apiserver/upgradeservice/upgradeimpl.go +++ b/apiserver/upgradeservice/upgradeimpl.go @@ -1,7 +1,7 @@ package upgradeservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/upgradeservice/upgradeservice.go b/apiserver/upgradeservice/upgradeservice.go index a2f2375dde..cb607eb8ac 100644 --- a/apiserver/upgradeservice/upgradeservice.go +++ b/apiserver/upgradeservice/upgradeservice.go @@ -1,7 +1,7 @@ package upgradeservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/userservice/userimpl.go b/apiserver/userservice/userimpl.go index 9981c4e3ad..5ff30de37f 100644 --- a/apiserver/userservice/userimpl.go +++ b/apiserver/userservice/userimpl.go @@ -1,7 +1,7 @@ package userservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/userservice/userservice.go b/apiserver/userservice/userservice.go index c47bd9ea7e..17a27c415e 100644 --- a/apiserver/userservice/userservice.go +++ b/apiserver/userservice/userservice.go @@ -1,7 +1,7 @@ package userservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/versionservice/versionimpl.go b/apiserver/versionservice/versionimpl.go index a3ea00eb27..ab64e1fe0e 100644 --- a/apiserver/versionservice/versionimpl.go +++ b/apiserver/versionservice/versionimpl.go @@ -1,7 +1,7 @@ package versionservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/versionservice/versionservice.go b/apiserver/versionservice/versionservice.go index 7d36cc0b4c..5441389115 100644 --- a/apiserver/versionservice/versionservice.go +++ b/apiserver/versionservice/versionservice.go @@ -1,7 +1,7 @@ package versionservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/workflowservice/workflowimpl.go b/apiserver/workflowservice/workflowimpl.go index d5077e2b71..6314a28dee 100644 --- a/apiserver/workflowservice/workflowimpl.go +++ b/apiserver/workflowservice/workflowimpl.go @@ -1,7 +1,7 @@ package workflowservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiserver/workflowservice/workflowservice.go b/apiserver/workflowservice/workflowservice.go index 1a3348f348..6d0e1358cd 100644 --- a/apiserver/workflowservice/workflowservice.go +++ b/apiserver/workflowservice/workflowservice.go @@ -1,7 +1,7 @@ package workflowservice /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/backrestmsgs.go b/apiservermsgs/backrestmsgs.go index 2bffcba0f3..e58e9d93a6 100644 --- a/apiservermsgs/backrestmsgs.go +++ b/apiservermsgs/backrestmsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/backupmsgs.go b/apiservermsgs/backupmsgs.go index 499ebed95e..c69ceca2dd 100644 --- a/apiservermsgs/backupmsgs.go +++ b/apiservermsgs/backupmsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/benchmarkmsgs.go b/apiservermsgs/benchmarkmsgs.go index 5a7e7e1684..fd32b7b670 100644 --- a/apiservermsgs/benchmarkmsgs.go +++ b/apiservermsgs/benchmarkmsgs.go @@ -3,7 +3,7 @@ package apiservermsgs import "errors" /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/catmsgs.go b/apiservermsgs/catmsgs.go index aec9b3b385..066b5c5517 100644 --- a/apiservermsgs/catmsgs.go +++ b/apiservermsgs/catmsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/clonemsgs.go b/apiservermsgs/clonemsgs.go index 2c95705248..a3b1f4728e 100644 --- a/apiservermsgs/clonemsgs.go +++ b/apiservermsgs/clonemsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/clustermsgs.go b/apiservermsgs/clustermsgs.go index 6988aef00e..21a30f1a9a 100644 --- a/apiservermsgs/clustermsgs.go +++ b/apiservermsgs/clustermsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/common.go b/apiservermsgs/common.go index f030d2977d..6998b920f3 100644 --- a/apiservermsgs/common.go +++ b/apiservermsgs/common.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/configmsgs.go b/apiservermsgs/configmsgs.go index 6fc51a8855..d26ec5522c 100644 --- a/apiservermsgs/configmsgs.go +++ b/apiservermsgs/configmsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/dfmsgs.go b/apiservermsgs/dfmsgs.go index 09d4f8dafd..7c5fe9a577 100644 --- a/apiservermsgs/dfmsgs.go +++ b/apiservermsgs/dfmsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/failovermsgs.go b/apiservermsgs/failovermsgs.go index e5c61a188b..4c26bdc6b2 100644 --- a/apiservermsgs/failovermsgs.go +++ b/apiservermsgs/failovermsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/labelmsgs.go b/apiservermsgs/labelmsgs.go index 1b844731b3..96e08eb3db 100644 --- a/apiservermsgs/labelmsgs.go +++ b/apiservermsgs/labelmsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/loadmsgs.go b/apiservermsgs/loadmsgs.go index 7505a5a0fa..26d17040a9 100644 --- a/apiservermsgs/loadmsgs.go +++ b/apiservermsgs/loadmsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/lsmsgs.go b/apiservermsgs/lsmsgs.go index b76424ebd6..4574629211 100644 --- a/apiservermsgs/lsmsgs.go +++ b/apiservermsgs/lsmsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/namespacemsgs.go b/apiservermsgs/namespacemsgs.go index 036236ba11..0eb28bee5d 100644 --- a/apiservermsgs/namespacemsgs.go +++ b/apiservermsgs/namespacemsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/pgbouncermsgs.go b/apiservermsgs/pgbouncermsgs.go index e910a97d24..63620c7af7 100644 --- a/apiservermsgs/pgbouncermsgs.go +++ b/apiservermsgs/pgbouncermsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/pgdumpmsgs.go b/apiservermsgs/pgdumpmsgs.go index 576dfa90e1..da18a1bfe9 100644 --- a/apiservermsgs/pgdumpmsgs.go +++ b/apiservermsgs/pgdumpmsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/pgorolemsgs.go b/apiservermsgs/pgorolemsgs.go index 80c9b446a3..523e77d3ec 100644 --- a/apiservermsgs/pgorolemsgs.go +++ b/apiservermsgs/pgorolemsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/pgousermsgs.go b/apiservermsgs/pgousermsgs.go index e74fbe2066..f65dadd1e3 100644 --- a/apiservermsgs/pgousermsgs.go +++ b/apiservermsgs/pgousermsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/policymsgs.go b/apiservermsgs/policymsgs.go index 76765b728c..2294494584 100644 --- a/apiservermsgs/policymsgs.go +++ b/apiservermsgs/policymsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/pvcmsgs.go b/apiservermsgs/pvcmsgs.go index 944bf182cb..05b688c9a0 100644 --- a/apiservermsgs/pvcmsgs.go +++ b/apiservermsgs/pvcmsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/reloadmsgs.go b/apiservermsgs/reloadmsgs.go index 62ebb62799..3593b64c5c 100644 --- a/apiservermsgs/reloadmsgs.go +++ b/apiservermsgs/reloadmsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/schedulemsgs.go b/apiservermsgs/schedulemsgs.go index 2eaa588dfd..4b037a5992 100644 --- a/apiservermsgs/schedulemsgs.go +++ b/apiservermsgs/schedulemsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/statusmsgs.go b/apiservermsgs/statusmsgs.go index 3ce0c25426..22996cfc61 100644 --- a/apiservermsgs/statusmsgs.go +++ b/apiservermsgs/statusmsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/upgrademsgs.go b/apiservermsgs/upgrademsgs.go index 508c854bb9..33967c1898 100644 --- a/apiservermsgs/upgrademsgs.go +++ b/apiservermsgs/upgrademsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/usermsgs.go b/apiservermsgs/usermsgs.go index 714fe844c7..b47653100f 100644 --- a/apiservermsgs/usermsgs.go +++ b/apiservermsgs/usermsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/versionmsgs.go b/apiservermsgs/versionmsgs.go index 02a139f273..f7a6a8df8a 100644 --- a/apiservermsgs/versionmsgs.go +++ b/apiservermsgs/versionmsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/watchmsgs.go b/apiservermsgs/watchmsgs.go index 3560d9dcdc..7fdcab5455 100644 --- a/apiservermsgs/watchmsgs.go +++ b/apiservermsgs/watchmsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/apiservermsgs/workflowmsgs.go b/apiservermsgs/workflowmsgs.go index ab43d4501e..0dfaddad25 100644 --- a/apiservermsgs/workflowmsgs.go +++ b/apiservermsgs/workflowmsgs.go @@ -1,7 +1,7 @@ package apiservermsgs /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/bin/get-deps.sh b/bin/get-deps.sh index 83a4d7ed6b..7ce9cf7ad8 100755 --- a/bin/get-deps.sh +++ b/bin/get-deps.sh @@ -1,6 +1,6 @@ #!/bin/bash -e -# Copyright 2019 Crunchy Data Solutions, Inc. +# Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/bin/pgo-backrest-repo-sync/pgo-backrest-repo-sync.sh b/bin/pgo-backrest-repo-sync/pgo-backrest-repo-sync.sh index 6b1d95a7b3..0ff8d97252 100644 --- a/bin/pgo-backrest-repo-sync/pgo-backrest-repo-sync.sh +++ b/bin/pgo-backrest-repo-sync/pgo-backrest-repo-sync.sh @@ -1,6 +1,6 @@ #!/bin/bash -x -# Copyright 2019 Crunchy Data Solutions, Inc. +# Copyright 2019 - 2020 Crunchy Data Solutions, 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 @@ -20,7 +20,7 @@ function trap_sigterm() { trap 'trap_sigterm' SIGINT SIGTERM -# First enable sshd prior to running rsync if using pgbackrest with a repository +# First enable sshd prior to running rsync if using pgbackrest with a repository # host enable_sshd() { @@ -54,7 +54,7 @@ rsync_repo() { } # Use the aws cli sync command to sync files from a source location to a target -# location. The this inlcudes syncing files between who s3 locations, +# location. The this inlcudes syncing files between who s3 locations, # syncing a local directory to s3, or syncing from s3 to a local directory. aws_sync_repo() { @@ -90,7 +90,7 @@ then fi else enable_sshd # enable sshd for rsync - + rsync_source="${PGBACKREST_REPO1_HOST}:${PGBACKREST_REPO1_PATH}/" rsync_target="$NEW_PGBACKREST_REPO" rsync_repo "${rsync_source}" "${rsync_target}" diff --git a/bin/pgo-backrest-repo/pgo-backrest-repo.sh b/bin/pgo-backrest-repo/pgo-backrest-repo.sh index 46de8ab05e..18fc5bb009 100755 --- a/bin/pgo-backrest-repo/pgo-backrest-repo.sh +++ b/bin/pgo-backrest-repo/pgo-backrest-repo.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2019 Crunchy Data Solutions, Inc. +# Copyright 2019 - 2020 Crunchy Data Solutions, 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 @@ -15,7 +15,7 @@ function trap_sigterm() { - echo "Signal trap triggered, beginning shutdown.." + echo "Signal trap triggered, beginning shutdown.." killall sshd } @@ -47,4 +47,3 @@ chmod 400 /tmp/id_ed25519 ~/.ssh/config /usr/sbin/sshd -D -f $CONFIG/sshd_config & wait - diff --git a/bin/pgo-backrest-restore/pgo-backrest-restore.sh b/bin/pgo-backrest-restore/pgo-backrest-restore.sh index 98aaaa6d19..50eaa3f90d 100755 --- a/bin/pgo-backrest-restore/pgo-backrest-restore.sh +++ b/bin/pgo-backrest-restore/pgo-backrest-restore.sh @@ -1,6 +1,6 @@ #!/bin/bash -x -# Copyright 2019 Crunchy Data Solutions, Inc. +# Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/bin/pgo-backrest/pgo-backrest.sh b/bin/pgo-backrest/pgo-backrest.sh index d48317f8a0..fda20af57c 100755 --- a/bin/pgo-backrest/pgo-backrest.sh +++ b/bin/pgo-backrest/pgo-backrest.sh @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2019 Crunchy Data Solutions, Inc. +# Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/bin/pgo-event/pgo-event.sh b/bin/pgo-event/pgo-event.sh index cd13559b06..cddcb2e708 100755 --- a/bin/pgo-event/pgo-event.sh +++ b/bin/pgo-event/pgo-event.sh @@ -1,6 +1,6 @@ #!/bin/bash -x -# Copyright 2019 Crunchy Data Solutions, Inc. +# Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/bin/pgo-load/start.sh b/bin/pgo-load/start.sh index 0295d47d7c..894c65a11c 100755 --- a/bin/pgo-load/start.sh +++ b/bin/pgo-load/start.sh @@ -1,6 +1,6 @@ #!/bin/bash -x -# Copyright 2017-2018 Crunchy Data Solutions, Inc. +# Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/bin/pgo-rmdata/start.sh b/bin/pgo-rmdata/start.sh index ad1bb05c58..97ed0e87c2 100755 --- a/bin/pgo-rmdata/start.sh +++ b/bin/pgo-rmdata/start.sh @@ -1,6 +1,6 @@ #!/bin/bash -x -# Copyright 2019 Crunchy Data Solutions, Inc. +# Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/bin/pgo-scheduler/start.sh b/bin/pgo-scheduler/start.sh index 2107a56bd9..4a32cf8bc3 100755 --- a/bin/pgo-scheduler/start.sh +++ b/bin/pgo-scheduler/start.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2019 Crunchy Data Solutions, Inc. +# Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/bin/pgo-sqlrunner/start.sh b/bin/pgo-sqlrunner/start.sh index 400334da68..0b2eb6d417 100755 --- a/bin/pgo-sqlrunner/start.sh +++ b/bin/pgo-sqlrunner/start.sh @@ -1,5 +1,18 @@ #!/bin/bash +# Copyright 2019 - 2020 Crunchy Data Solutions, 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. + set -e -u export PGPASSFILE=/tmp/pgpass diff --git a/bin/pre-pull-crunchy-containers.sh b/bin/pre-pull-crunchy-containers.sh index f8e843edd5..b4d087fcd2 100755 --- a/bin/pre-pull-crunchy-containers.sh +++ b/bin/pre-pull-crunchy-containers.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2019 Crunchy Data Solutions, Inc. +# Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/bin/pull-from-gcr.sh b/bin/pull-from-gcr.sh index 800df51daf..c58d427371 100755 --- a/bin/pull-from-gcr.sh +++ b/bin/pull-from-gcr.sh @@ -1,5 +1,18 @@ #!/bin/bash +# Copyright 2018 - 2020 Crunchy Data Solutions, 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. + set -e -u REGISTRY='us.gcr.io/container-suite' diff --git a/bin/push-ccp-to-gcr.sh b/bin/push-ccp-to-gcr.sh index 7c2865ebde..a71e088801 100755 --- a/bin/push-ccp-to-gcr.sh +++ b/bin/push-ccp-to-gcr.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2019 Crunchy Data Solutions, Inc. +# Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/bin/push-to-gcr.sh b/bin/push-to-gcr.sh index 4ce9608678..6785ba9d66 100755 --- a/bin/push-to-gcr.sh +++ b/bin/push-to-gcr.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2019 Crunchy Data Solutions, Inc. +# Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/bin/upgrade-secret.sh b/bin/upgrade-secret.sh index 8476dea5b5..ee93af1377 100755 --- a/bin/upgrade-secret.sh +++ b/bin/upgrade-secret.sh @@ -1,6 +1,6 @@ -#!/bin/bash +#!/bin/bash -# Copyright 2019 Crunchy Data Solutions, Inc. +# Copyright 2018 - 2020 Crunchy Data Solutions, 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 @@ -63,4 +63,3 @@ kubectl create secret generic $CLUSTER-$USERNAME-secret \ --from-literal=password=$POSTGRES_PASSWORD kubectl label secret $CLUSTER-$USERNAME-secret pg-cluster=$CLUSTER - diff --git a/config/annotations.go b/config/annotations.go index 75bc3bc91c..808b30e61f 100644 --- a/config/annotations.go +++ b/config/annotations.go @@ -1,7 +1,7 @@ package config /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/config/images.go b/config/images.go index dddce7ae78..02e9f38bc3 100644 --- a/config/images.go +++ b/config/images.go @@ -1,7 +1,7 @@ package config /* - Copyright 2020 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/config/labels.go b/config/labels.go index dc221f18e5..fcd38cb892 100644 --- a/config/labels.go +++ b/config/labels.go @@ -1,7 +1,7 @@ package config /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/config/pgoconfig.go b/config/pgoconfig.go index 42108a4815..25f1cb6fb8 100644 --- a/config/pgoconfig.go +++ b/config/pgoconfig.go @@ -1,7 +1,7 @@ package config /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/config/volumes.go b/config/volumes.go index ec2c6199fd..cf048747d8 100644 --- a/config/volumes.go +++ b/config/volumes.go @@ -1,7 +1,7 @@ package config /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/controller/backupcontroller.go b/controller/backupcontroller.go index 482926ac00..f1a8c4f62e 100644 --- a/controller/backupcontroller.go +++ b/controller/backupcontroller.go @@ -1,7 +1,7 @@ package controller /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/controller/clustercontroller.go b/controller/clustercontroller.go index d56452925d..3929574884 100644 --- a/controller/clustercontroller.go +++ b/controller/clustercontroller.go @@ -1,7 +1,7 @@ package controller /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/controller/jobcontroller.go b/controller/jobcontroller.go index bd9a480aea..e17da472dc 100644 --- a/controller/jobcontroller.go +++ b/controller/jobcontroller.go @@ -1,7 +1,7 @@ package controller /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/controller/namespacecontroller.go b/controller/namespacecontroller.go index 086ee76b2d..d73314590d 100644 --- a/controller/namespacecontroller.go +++ b/controller/namespacecontroller.go @@ -1,7 +1,7 @@ package controller /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/controller/podcontroller.go b/controller/podcontroller.go index bf6ba66e5b..a8c301acf9 100644 --- a/controller/podcontroller.go +++ b/controller/podcontroller.go @@ -1,7 +1,7 @@ package controller /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/controller/policycontroller.go b/controller/policycontroller.go index 150664ed7b..0601e0508a 100644 --- a/controller/policycontroller.go +++ b/controller/policycontroller.go @@ -1,7 +1,7 @@ package controller /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/controller/replicacontroller.go b/controller/replicacontroller.go index 0ae230f3fb..2fbf2ec964 100644 --- a/controller/replicacontroller.go +++ b/controller/replicacontroller.go @@ -1,7 +1,7 @@ package controller /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/controller/taskcontroller.go b/controller/taskcontroller.go index 271003a951..e56d59df6c 100644 --- a/controller/taskcontroller.go +++ b/controller/taskcontroller.go @@ -1,7 +1,7 @@ package controller /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/deploy/add-targeted-namespace.sh b/deploy/add-targeted-namespace.sh index 87fdb51f19..b274f6fe7d 100755 --- a/deploy/add-targeted-namespace.sh +++ b/deploy/add-targeted-namespace.sh @@ -1,5 +1,6 @@ -#!/bin/bash -# Copyright 2019 Crunchy Data Solutions, Inc. +#!/bin/bash + +# Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/deploy/cleannamespaces.sh b/deploy/cleannamespaces.sh index 373bad65b0..176ad66830 100755 --- a/deploy/cleannamespaces.sh +++ b/deploy/cleannamespaces.sh @@ -1,5 +1,6 @@ #!/bin/bash -# Copyright 2019 Crunchy Data Solutions, Inc. + +# Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/deploy/cleanup-rbac.sh b/deploy/cleanup-rbac.sh index 2c05e33f6d..50f52bbc5f 100755 --- a/deploy/cleanup-rbac.sh +++ b/deploy/cleanup-rbac.sh @@ -1,5 +1,6 @@ -#!/bin/bash -# Copyright 2019 Crunchy Data Solutions, Inc. +#!/bin/bash + +# Copyright 2018 - 2020 Crunchy Data Solutions, 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 @@ -30,7 +31,7 @@ fi $PGO_CMD get clusterrole pgo-cluster-role > /dev/null 2> /dev/null if [ $? -eq 0 ] then - $PGO_CMD delete clusterrole pgo-cluster-role + $PGO_CMD delete clusterrole pgo-cluster-role fi $PGO_CMD get clusterrolebinding pgo-cluster-role > /dev/null 2> /dev/null @@ -42,7 +43,7 @@ fi $PGO_CMD -n $PGO_OPERATOR_NAMESPACE get role pgo-role > /dev/null 2> /dev/null if [ $? -eq 0 ] then - $PGO_CMD -n $PGO_OPERATOR_NAMESPACE delete role pgo-role + $PGO_CMD -n $PGO_OPERATOR_NAMESPACE delete role pgo-role fi $PGO_CMD -n $PGO_OPERATOR_NAMESPACE get rolebinding pgo-role > /dev/null 2> /dev/null @@ -53,4 +54,3 @@ fi sleep 5 - diff --git a/deploy/cleanup.sh b/deploy/cleanup.sh index 15dba4af09..afe13f98c7 100755 --- a/deploy/cleanup.sh +++ b/deploy/cleanup.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2019 Crunchy Data Solutions, Inc. +# Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/deploy/deploy.sh b/deploy/deploy.sh index 234d05cca9..319fc2d858 100755 --- a/deploy/deploy.sh +++ b/deploy/deploy.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2019 Crunchy Data Solutions, Inc. +# Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/deploy/gen-api-keys.sh b/deploy/gen-api-keys.sh index 12f18975f7..8aece10000 100755 --- a/deploy/gen-api-keys.sh +++ b/deploy/gen-api-keys.sh @@ -1,6 +1,6 @@ -#!/bin/bash +#!/bin/bash -# Copyright 2019 Crunchy Data Solutions, Inc. +# Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/deploy/install-bootstrap-creds.sh b/deploy/install-bootstrap-creds.sh index c94046f6d4..0c82c6b55b 100755 --- a/deploy/install-bootstrap-creds.sh +++ b/deploy/install-bootstrap-creds.sh @@ -1,5 +1,6 @@ #!/bin/bash -# Copyright 2019 Crunchy Data Solutions, Inc. + +# Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/deploy/install-rbac.sh b/deploy/install-rbac.sh index 783bec2944..377aebf519 100755 --- a/deploy/install-rbac.sh +++ b/deploy/install-rbac.sh @@ -1,5 +1,6 @@ -#!/bin/bash -# Copyright 2019 Crunchy Data Solutions, Inc. +#!/bin/bash + +# Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/deploy/remove-crd.sh b/deploy/remove-crd.sh index 85ae7fa56e..5e08ca6340 100755 --- a/deploy/remove-crd.sh +++ b/deploy/remove-crd.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2019 Crunchy Data Solutions, Inc. +# Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/deploy/setupnamespaces.sh b/deploy/setupnamespaces.sh index d3194f1f72..e32c1c4782 100755 --- a/deploy/setupnamespaces.sh +++ b/deploy/setupnamespaces.sh @@ -1,5 +1,6 @@ #!/bin/bash -# Copyright 2019 Crunchy Data Solutions, Inc. + +# Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/deploy/show-crd.sh b/deploy/show-crd.sh index 95e7681ecb..b7a7af18af 100755 --- a/deploy/show-crd.sh +++ b/deploy/show-crd.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2019 Crunchy Data Solutions, Inc. +# Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/deploy/upgrade-creds.sh b/deploy/upgrade-creds.sh index 798c373886..dee366566e 100755 --- a/deploy/upgrade-creds.sh +++ b/deploy/upgrade-creds.sh @@ -1,5 +1,6 @@ #!/bin/bash -# Copyright 2019 Crunchy Data Solutions, Inc. + +# Copyright 2019 - 2020 Crunchy Data Solutions, 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 @@ -80,4 +81,4 @@ do $PGO_CMD delete secret pgouser-$PGO_USERNAME -n $PGO_OPERATOR_NAMESPACE fi expenv -f $DIR/pgouser.yaml | $PGO_CMD create -f - -done < "$USER_INPUT" \ No newline at end of file +done < "$USER_INPUT" diff --git a/events/eventing.go b/events/eventing.go index 0e68a9e683..2f4c332046 100644 --- a/events/eventing.go +++ b/events/eventing.go @@ -1,7 +1,7 @@ package events /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/events/eventtype.go b/events/eventtype.go index ab30a0b5c4..8a8f222c43 100644 --- a/events/eventtype.go +++ b/events/eventtype.go @@ -1,7 +1,7 @@ package events /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/events/pgoeventtype.go b/events/pgoeventtype.go index 9be17e271c..75c076b311 100644 --- a/events/pgoeventtype.go +++ b/events/pgoeventtype.go @@ -1,7 +1,7 @@ package events /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/examples/create-by-resource/run.sh b/examples/create-by-resource/run.sh index 7eb446873e..75f6e16515 100755 --- a/examples/create-by-resource/run.sh +++ b/examples/create-by-resource/run.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2019 Crunchy Data Solutions, Inc. +# Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/examples/custom-config-ssl/create.sh b/examples/custom-config-ssl/create.sh index 3fd306e7d3..8cf0d740a5 100755 --- a/examples/custom-config-ssl/create.sh +++ b/examples/custom-config-ssl/create.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2017 - 2019 Crunchy Data Solutions, Inc. +# Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/examples/custom-config-ssl/installcertstrap.sh b/examples/custom-config-ssl/installcertstrap.sh index 5eb8f0b595..d0d19abeac 100755 --- a/examples/custom-config-ssl/installcertstrap.sh +++ b/examples/custom-config-ssl/installcertstrap.sh @@ -1,9 +1,21 @@ #!/bin/bash +# Copyright 2019 - 2020 Crunchy Data Solutions, 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. + CERTSTRAP_VERSION=1.1.1 # manually install certstrap into $GOBIN for running the SSL examples wget -O $PGOROOT/certstrap https://github.com/square/certstrap/releases/download/v${CERTSTRAP_VERSION}/certstrap-v${CERTSTRAP_VERSION}-linux-amd64 && \ mv $PGOROOT/certstrap $GOBIN && \ chmod +x $GOBIN/certstrap - diff --git a/examples/custom-config-ssl/ssl-creator.sh b/examples/custom-config-ssl/ssl-creator.sh index 3c2295fdbd..89eb15e804 100755 --- a/examples/custom-config-ssl/ssl-creator.sh +++ b/examples/custom-config-ssl/ssl-creator.sh @@ -1,5 +1,6 @@ #!/bin/bash -# Copyright 2018 - 2019 Crunchy Data Solutions, Inc. + +# Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/examples/custom-config/create.sh b/examples/custom-config/create.sh index 7453d36162..b0599f1b37 100755 --- a/examples/custom-config/create.sh +++ b/examples/custom-config/create.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2018 Crunchy Data Solutions, Inc. +# Copyright 2018 - 2020 Crunchy Data Solutions, 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 @@ -45,7 +45,7 @@ if [[ ! -z ${PGO_CMD} ]] && [[ ! -z ${PGO_NAMESPACE} ]] then echo_info "PGO_NAMESPACE=${PGO_NAMESPACE}" - + $PGO_CMD delete configmap pgo-custom-pg-config -n ${PGO_NAMESPACE} $PGO_CMD create configmap pgo-custom-pg-config --from-file=$DIR -n ${PGO_NAMESPACE} diff --git a/examples/primary-replica-custom-ssl/create.sh b/examples/primary-replica-custom-ssl/create.sh index ca4e866d77..eafc75c2a1 100755 --- a/examples/primary-replica-custom-ssl/create.sh +++ b/examples/primary-replica-custom-ssl/create.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2017 - 2019 Crunchy Data Solutions, Inc. +# Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/examples/primary-replica-custom-ssl/installcertstrap.sh b/examples/primary-replica-custom-ssl/installcertstrap.sh index 5eb8f0b595..d0d19abeac 100755 --- a/examples/primary-replica-custom-ssl/installcertstrap.sh +++ b/examples/primary-replica-custom-ssl/installcertstrap.sh @@ -1,9 +1,21 @@ #!/bin/bash +# Copyright 2019 - 2020 Crunchy Data Solutions, 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. + CERTSTRAP_VERSION=1.1.1 # manually install certstrap into $GOBIN for running the SSL examples wget -O $PGOROOT/certstrap https://github.com/square/certstrap/releases/download/v${CERTSTRAP_VERSION}/certstrap-v${CERTSTRAP_VERSION}-linux-amd64 && \ mv $PGOROOT/certstrap $GOBIN && \ chmod +x $GOBIN/certstrap - diff --git a/examples/primary-replica-custom-ssl/ssl-creator.sh b/examples/primary-replica-custom-ssl/ssl-creator.sh index b640efadb7..6b6745bda9 100755 --- a/examples/primary-replica-custom-ssl/ssl-creator.sh +++ b/examples/primary-replica-custom-ssl/ssl-creator.sh @@ -1,5 +1,6 @@ #!/bin/bash -# Copyright 2018 - 2019 Crunchy Data Solutions, Inc. + +# Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/kubeapi/configmap.go b/kubeapi/configmap.go index f164745e70..9fcce7f7aa 100644 --- a/kubeapi/configmap.go +++ b/kubeapi/configmap.go @@ -1,7 +1,7 @@ package kubeapi /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/kubeapi/deployment.go b/kubeapi/deployment.go index d5c38be43a..802a02d925 100644 --- a/kubeapi/deployment.go +++ b/kubeapi/deployment.go @@ -1,7 +1,7 @@ package kubeapi /* - Copyright 2017-2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/kubeapi/endpoints.go b/kubeapi/endpoints.go index 3e57c1a904..04ae6bf1df 100644 --- a/kubeapi/endpoints.go +++ b/kubeapi/endpoints.go @@ -1,7 +1,7 @@ package kubeapi /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/kubeapi/exec.go b/kubeapi/exec.go index 19eb07c6e5..2758618339 100644 --- a/kubeapi/exec.go +++ b/kubeapi/exec.go @@ -1,7 +1,7 @@ package kubeapi /* - Copyright 2017-2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/kubeapi/job.go b/kubeapi/job.go index 2b38f7195f..bff59e76ee 100644 --- a/kubeapi/job.go +++ b/kubeapi/job.go @@ -1,7 +1,7 @@ package kubeapi /* - Copyright 2017-2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/kubeapi/namespace.go b/kubeapi/namespace.go index 0a595828dc..dfa2cf6209 100644 --- a/kubeapi/namespace.go +++ b/kubeapi/namespace.go @@ -1,7 +1,7 @@ package kubeapi /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/kubeapi/node.go b/kubeapi/node.go index 172eb7c5a9..fb2859b1f0 100644 --- a/kubeapi/node.go +++ b/kubeapi/node.go @@ -1,7 +1,7 @@ package kubeapi /* - Copyright 2017-2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/kubeapi/pgbackup.go b/kubeapi/pgbackup.go index aedf7abff9..bc68a5275d 100644 --- a/kubeapi/pgbackup.go +++ b/kubeapi/pgbackup.go @@ -1,7 +1,7 @@ package kubeapi /* - Copyright 2017-2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/kubeapi/pgcluster.go b/kubeapi/pgcluster.go index 6de471329d..1063111727 100644 --- a/kubeapi/pgcluster.go +++ b/kubeapi/pgcluster.go @@ -1,7 +1,7 @@ package kubeapi /* - Copyright 2017-2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/kubeapi/pgpolicy.go b/kubeapi/pgpolicy.go index 19901e7f72..2f847a2a98 100644 --- a/kubeapi/pgpolicy.go +++ b/kubeapi/pgpolicy.go @@ -1,7 +1,7 @@ package kubeapi /* - Copyright 2017-2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/kubeapi/pgreplica.go b/kubeapi/pgreplica.go index 8556b28296..31ef2ac5b8 100644 --- a/kubeapi/pgreplica.go +++ b/kubeapi/pgreplica.go @@ -1,7 +1,7 @@ package kubeapi /* - Copyright 2017-2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/kubeapi/pgtask.go b/kubeapi/pgtask.go index c9e4acd3d9..6bd1d03ea7 100644 --- a/kubeapi/pgtask.go +++ b/kubeapi/pgtask.go @@ -1,7 +1,7 @@ package kubeapi /* - Copyright 2017-2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/kubeapi/pod.go b/kubeapi/pod.go index 6d2dc209d1..00bb1cbdcc 100644 --- a/kubeapi/pod.go +++ b/kubeapi/pod.go @@ -1,7 +1,7 @@ package kubeapi /* - Copyright 2017-2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/kubeapi/pvc.go b/kubeapi/pvc.go index 055c0b08b5..50878b3181 100644 --- a/kubeapi/pvc.go +++ b/kubeapi/pvc.go @@ -1,7 +1,7 @@ package kubeapi /* - Copyright 2017-2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/kubeapi/role.go b/kubeapi/role.go index fca80eff4a..4d88ea0b97 100644 --- a/kubeapi/role.go +++ b/kubeapi/role.go @@ -1,7 +1,7 @@ package kubeapi /* - Copyright 2017-2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/kubeapi/rolebinding.go b/kubeapi/rolebinding.go index 157c2bf679..b715664b2e 100644 --- a/kubeapi/rolebinding.go +++ b/kubeapi/rolebinding.go @@ -1,7 +1,7 @@ package kubeapi /* - Copyright 2017-2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/kubeapi/sc.go b/kubeapi/sc.go index 4a9c6c706e..8137e1d589 100644 --- a/kubeapi/sc.go +++ b/kubeapi/sc.go @@ -1,7 +1,7 @@ package kubeapi /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/kubeapi/secret.go b/kubeapi/secret.go index d68306c725..c1ee6045de 100644 --- a/kubeapi/secret.go +++ b/kubeapi/secret.go @@ -1,7 +1,7 @@ package kubeapi /* - Copyright 2017-2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/kubeapi/service.go b/kubeapi/service.go index 62bf5fcdf7..d3950c5c38 100644 --- a/kubeapi/service.go +++ b/kubeapi/service.go @@ -1,7 +1,7 @@ package kubeapi /* - Copyright 2017-2018 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/kubeapi/serviceaccount.go b/kubeapi/serviceaccount.go index 2fde831e33..6049f2ac99 100644 --- a/kubeapi/serviceaccount.go +++ b/kubeapi/serviceaccount.go @@ -1,7 +1,7 @@ package kubeapi /* - Copyright 2017-2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/logging/loglib.go b/logging/loglib.go index 8708aa1886..7a16cab05a 100644 --- a/logging/loglib.go +++ b/logging/loglib.go @@ -1,6 +1,21 @@ //Package logging Functions to set unique configuration for use with the logrus logger package logging +/* + Copyright 2019 - 2020 Crunchy Data Solutions, 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. +*/ + import ( "fmt" "os" diff --git a/ns/nslogic.go b/ns/nslogic.go index 4f00d95c5f..9e82e03c8a 100644 --- a/ns/nslogic.go +++ b/ns/nslogic.go @@ -1,7 +1,7 @@ package ns /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/backrest/backup.go b/operator/backrest/backup.go index 0449a74c1b..3bce550415 100644 --- a/operator/backrest/backup.go +++ b/operator/backrest/backup.go @@ -1,7 +1,7 @@ package backrest /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/backrest/repo.go b/operator/backrest/repo.go index 189fb3087e..bdd8924011 100644 --- a/operator/backrest/repo.go +++ b/operator/backrest/repo.go @@ -1,7 +1,7 @@ package backrest /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/backrest/restore.go b/operator/backrest/restore.go index 362f5eb56a..df873a863a 100644 --- a/operator/backrest/restore.go +++ b/operator/backrest/restore.go @@ -1,7 +1,7 @@ package backrest /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/backrest/stanza.go b/operator/backrest/stanza.go index 573d2240e3..93c54547a2 100644 --- a/operator/backrest/stanza.go +++ b/operator/backrest/stanza.go @@ -1,7 +1,7 @@ package backrest /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/backup/backup.go b/operator/backup/backup.go index 0668fb9f75..be1b236eca 100644 --- a/operator/backup/backup.go +++ b/operator/backup/backup.go @@ -1,7 +1,7 @@ package backup /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/backup/backupjob.go b/operator/backup/backupjob.go index 357a446d95..1a1348d4e2 100644 --- a/operator/backup/backupjob.go +++ b/operator/backup/backupjob.go @@ -1,7 +1,7 @@ package backup /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/backup/restore.go b/operator/backup/restore.go index 4373f1714a..a6fb998587 100644 --- a/operator/backup/restore.go +++ b/operator/backup/restore.go @@ -1,7 +1,7 @@ package backup /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 @@ -34,21 +34,6 @@ import ( "k8s.io/client-go/rest" ) -/* - Copyright 2019 Crunchy Data Solutions, 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. -*/ - type restorejobTemplateFields struct { JobName string ClusterName string diff --git a/operator/benchmark/benchmark.go b/operator/benchmark/benchmark.go index 05fd7e4ebc..1da4979502 100644 --- a/operator/benchmark/benchmark.go +++ b/operator/benchmark/benchmark.go @@ -1,7 +1,7 @@ package benchmark /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/cluster/clone.go b/operator/cluster/clone.go index df904acbf6..6d71be1943 100644 --- a/operator/cluster/clone.go +++ b/operator/cluster/clone.go @@ -1,7 +1,7 @@ package cluster /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/cluster/cluster.go b/operator/cluster/cluster.go index a57f682054..23f3d76b84 100644 --- a/operator/cluster/cluster.go +++ b/operator/cluster/cluster.go @@ -4,7 +4,7 @@ package cluster /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/cluster/clusterlogic.go b/operator/cluster/clusterlogic.go index c05f27212b..0611b1a574 100644 --- a/operator/cluster/clusterlogic.go +++ b/operator/cluster/clusterlogic.go @@ -4,7 +4,7 @@ package cluster /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/cluster/failover.go b/operator/cluster/failover.go index 3dc9b87573..c57888affc 100644 --- a/operator/cluster/failover.go +++ b/operator/cluster/failover.go @@ -4,7 +4,7 @@ package cluster /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/cluster/failoverlogic.go b/operator/cluster/failoverlogic.go index 7b8f3b42e8..1423e152ea 100644 --- a/operator/cluster/failoverlogic.go +++ b/operator/cluster/failoverlogic.go @@ -4,7 +4,7 @@ package cluster /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/cluster/pgbouncer.go b/operator/cluster/pgbouncer.go index fd2a63b77e..513cd49645 100644 --- a/operator/cluster/pgbouncer.go +++ b/operator/cluster/pgbouncer.go @@ -1,7 +1,7 @@ package cluster /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/cluster/replica.go b/operator/cluster/replica.go index 1707f37e5e..64fcb9b66c 100644 --- a/operator/cluster/replica.go +++ b/operator/cluster/replica.go @@ -4,7 +4,7 @@ package cluster /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/cluster/rmdata.go b/operator/cluster/rmdata.go index 2227fa01b8..3830ca32ab 100644 --- a/operator/cluster/rmdata.go +++ b/operator/cluster/rmdata.go @@ -4,7 +4,7 @@ package cluster /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/cluster/service.go b/operator/cluster/service.go index 151234a063..7c69beefc3 100644 --- a/operator/cluster/service.go +++ b/operator/cluster/service.go @@ -4,7 +4,7 @@ package cluster /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/cluster/upgrade.go b/operator/cluster/upgrade.go index e637c35399..180e7490c3 100644 --- a/operator/cluster/upgrade.go +++ b/operator/cluster/upgrade.go @@ -1,7 +1,7 @@ package cluster /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/clusterutilities.go b/operator/clusterutilities.go index d9c4416e00..7ca2d0b8a2 100644 --- a/operator/clusterutilities.go +++ b/operator/clusterutilities.go @@ -1,7 +1,7 @@ package operator /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/common.go b/operator/common.go index 33a65e248c..b6e70d1f53 100644 --- a/operator/common.go +++ b/operator/common.go @@ -1,7 +1,7 @@ package operator /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/operatorupgrade/upgrade.go b/operator/operatorupgrade/upgrade.go index cef55c0a38..84f1e56f3d 100644 --- a/operator/operatorupgrade/upgrade.go +++ b/operator/operatorupgrade/upgrade.go @@ -1,7 +1,7 @@ package operatorupgrade /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/pgdump/dump.go b/operator/pgdump/dump.go index c04010eb07..56c6209292 100644 --- a/operator/pgdump/dump.go +++ b/operator/pgdump/dump.go @@ -1,7 +1,7 @@ package pgdump /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/pgdump/restore.go b/operator/pgdump/restore.go index 5e204f7e64..eef11abd31 100644 --- a/operator/pgdump/restore.go +++ b/operator/pgdump/restore.go @@ -1,7 +1,7 @@ package pgdump /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/pvc/pvc.go b/operator/pvc/pvc.go index ecfc4169a6..01227e6abf 100644 --- a/operator/pvc/pvc.go +++ b/operator/pvc/pvc.go @@ -1,7 +1,7 @@ package pvc /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/task/applypolicies.go b/operator/task/applypolicies.go index 39cd5659e2..a636867be2 100644 --- a/operator/task/applypolicies.go +++ b/operator/task/applypolicies.go @@ -1,7 +1,7 @@ package task /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/task/pgbouncer.go b/operator/task/pgbouncer.go index b0c4d75a0e..90f8e0d5d2 100644 --- a/operator/task/pgbouncer.go +++ b/operator/task/pgbouncer.go @@ -1,7 +1,7 @@ package task /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/task/rmbackups.go b/operator/task/rmbackups.go index 9f70534d55..c0749c8c36 100644 --- a/operator/task/rmbackups.go +++ b/operator/task/rmbackups.go @@ -1,7 +1,7 @@ package task /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/task/rmdata.go b/operator/task/rmdata.go index 2db1a9f5f3..af5f1bba00 100644 --- a/operator/task/rmdata.go +++ b/operator/task/rmdata.go @@ -1,7 +1,7 @@ package task /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/operator/task/workflow.go b/operator/task/workflow.go index d28d284f02..942bd3d003 100644 --- a/operator/task/workflow.go +++ b/operator/task/workflow.go @@ -1,7 +1,7 @@ package task /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo-backrest/pgo-backrest.go b/pgo-backrest/pgo-backrest.go index 64d243ec38..dc18c30389 100644 --- a/pgo-backrest/pgo-backrest.go +++ b/pgo-backrest/pgo-backrest.go @@ -1,7 +1,7 @@ package main /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo-rmdata/pgo-rmdata.go b/pgo-rmdata/pgo-rmdata.go index 42ff00f8ca..4a753990fc 100644 --- a/pgo-rmdata/pgo-rmdata.go +++ b/pgo-rmdata/pgo-rmdata.go @@ -1,7 +1,7 @@ package main /* -Copyright 2019 Crunchy Data +Copyright 2019 - 2020 Crunchy Data 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 diff --git a/pgo-rmdata/rmdata/process.go b/pgo-rmdata/rmdata/process.go index bd6d40f9b3..aa0dedd380 100644 --- a/pgo-rmdata/rmdata/process.go +++ b/pgo-rmdata/rmdata/process.go @@ -1,7 +1,7 @@ package rmdata /* -Copyright 2019 Crunchy Data +Copyright 2019 - 2020 Crunchy Data 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 diff --git a/pgo-rmdata/rmdata/types.go b/pgo-rmdata/rmdata/types.go index b27ebd057e..e198eb423c 100644 --- a/pgo-rmdata/rmdata/types.go +++ b/pgo-rmdata/rmdata/types.go @@ -1,7 +1,7 @@ package rmdata /* -Copyright 2019 Crunchy Data +Copyright 2019 - 2020 Crunchy Data 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 diff --git a/pgo-scheduler/pgo-scheduler.go b/pgo-scheduler/pgo-scheduler.go index 13021eba14..612c48f4f5 100644 --- a/pgo-scheduler/pgo-scheduler.go +++ b/pgo-scheduler/pgo-scheduler.go @@ -1,7 +1,7 @@ package main /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo-scheduler/scheduler/pgbackrest.go b/pgo-scheduler/scheduler/pgbackrest.go index 1b4cc441ae..c6971b68b8 100644 --- a/pgo-scheduler/scheduler/pgbackrest.go +++ b/pgo-scheduler/scheduler/pgbackrest.go @@ -1,7 +1,7 @@ package scheduler /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo-scheduler/scheduler/pgbasebackup.go b/pgo-scheduler/scheduler/pgbasebackup.go index aa87e43e75..8aec463745 100644 --- a/pgo-scheduler/scheduler/pgbasebackup.go +++ b/pgo-scheduler/scheduler/pgbasebackup.go @@ -1,7 +1,7 @@ package scheduler /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo-scheduler/scheduler/policy.go b/pgo-scheduler/scheduler/policy.go index 36ea7d4fbd..0c9dcd30d0 100644 --- a/pgo-scheduler/scheduler/policy.go +++ b/pgo-scheduler/scheduler/policy.go @@ -1,7 +1,7 @@ package scheduler /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo-scheduler/scheduler/scheduler.go b/pgo-scheduler/scheduler/scheduler.go index 25e3d749ff..280564c58e 100644 --- a/pgo-scheduler/scheduler/scheduler.go +++ b/pgo-scheduler/scheduler/scheduler.go @@ -1,7 +1,7 @@ package scheduler /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo-scheduler/scheduler/tasks.go b/pgo-scheduler/scheduler/tasks.go index 721a907ea8..e16d35207c 100644 --- a/pgo-scheduler/scheduler/tasks.go +++ b/pgo-scheduler/scheduler/tasks.go @@ -1,7 +1,7 @@ package scheduler /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo-scheduler/scheduler/types.go b/pgo-scheduler/scheduler/types.go index 486dd96d71..b3cae5cb23 100644 --- a/pgo-scheduler/scheduler/types.go +++ b/pgo-scheduler/scheduler/types.go @@ -1,7 +1,7 @@ package scheduler /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo-scheduler/scheduler/validate.go b/pgo-scheduler/scheduler/validate.go index 2a2aef9b63..597cf76b8e 100644 --- a/pgo-scheduler/scheduler/validate.go +++ b/pgo-scheduler/scheduler/validate.go @@ -1,7 +1,7 @@ package scheduler /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo-scheduler/scheduler/validate_test.go b/pgo-scheduler/scheduler/validate_test.go index f3a258be3b..5765390031 100644 --- a/pgo-scheduler/scheduler/validate_test.go +++ b/pgo-scheduler/scheduler/validate_test.go @@ -1,7 +1,7 @@ package scheduler /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/backrest.go b/pgo/api/backrest.go index 94fcf95893..e7f9ead362 100644 --- a/pgo/api/backrest.go +++ b/pgo/api/backrest.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/backup.go b/pgo/api/backup.go index 1c17381772..233445959a 100644 --- a/pgo/api/backup.go +++ b/pgo/api/backup.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/benchmark.go b/pgo/api/benchmark.go index 4a57c70d44..4bc9199964 100644 --- a/pgo/api/benchmark.go +++ b/pgo/api/benchmark.go @@ -1,7 +1,7 @@ package api /* - Copyright 2017 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/cat.go b/pgo/api/cat.go index 285ecc441f..854bcfc5ce 100644 --- a/pgo/api/cat.go +++ b/pgo/api/cat.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/clone.go b/pgo/api/clone.go index e8baa1e436..8a979ee201 100644 --- a/pgo/api/clone.go +++ b/pgo/api/clone.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/cluster.go b/pgo/api/cluster.go index 85a711f947..bd178aa389 100644 --- a/pgo/api/cluster.go +++ b/pgo/api/cluster.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/common.go b/pgo/api/common.go index 8c04bc3e14..b31efb7e21 100644 --- a/pgo/api/common.go +++ b/pgo/api/common.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/config.go b/pgo/api/config.go index 1eabbb38b0..aed02df1e8 100644 --- a/pgo/api/config.go +++ b/pgo/api/config.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/df.go b/pgo/api/df.go index 88cf37e259..303a44a0be 100644 --- a/pgo/api/df.go +++ b/pgo/api/df.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/failover.go b/pgo/api/failover.go index c9679164cf..9aff9e34a2 100644 --- a/pgo/api/failover.go +++ b/pgo/api/failover.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/label.go b/pgo/api/label.go index 9d39390dca..34c819c4f1 100644 --- a/pgo/api/label.go +++ b/pgo/api/label.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/load.go b/pgo/api/load.go index 8f6124790c..23f9f7cb0d 100644 --- a/pgo/api/load.go +++ b/pgo/api/load.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/ls.go b/pgo/api/ls.go index 3ddc77c04c..1a42ff3984 100644 --- a/pgo/api/ls.go +++ b/pgo/api/ls.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/namespace.go b/pgo/api/namespace.go index 53006c6c9b..ae900129f7 100644 --- a/pgo/api/namespace.go +++ b/pgo/api/namespace.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/pgbouncer.go b/pgo/api/pgbouncer.go index 11268fe497..ec626161e4 100644 --- a/pgo/api/pgbouncer.go +++ b/pgo/api/pgbouncer.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/pgdump.go b/pgo/api/pgdump.go index 045f26eae5..129ed5f8f8 100644 --- a/pgo/api/pgdump.go +++ b/pgo/api/pgdump.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/pgorole.go b/pgo/api/pgorole.go index f958d67207..a5eae4509a 100644 --- a/pgo/api/pgorole.go +++ b/pgo/api/pgorole.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/pgouser.go b/pgo/api/pgouser.go index 369ec5a4bc..80115231e2 100644 --- a/pgo/api/pgouser.go +++ b/pgo/api/pgouser.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/policy.go b/pgo/api/policy.go index 03b63ccdc1..22c6ef0917 100644 --- a/pgo/api/policy.go +++ b/pgo/api/policy.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/pvc.go b/pgo/api/pvc.go index 1bedc6dae1..64ac270dab 100644 --- a/pgo/api/pvc.go +++ b/pgo/api/pvc.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/reload.go b/pgo/api/reload.go index fd6ccdd73e..91d9448359 100644 --- a/pgo/api/reload.go +++ b/pgo/api/reload.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/restore.go b/pgo/api/restore.go index 129fb6d1c4..a13a37ff5b 100644 --- a/pgo/api/restore.go +++ b/pgo/api/restore.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/restoreDump.go b/pgo/api/restoreDump.go index fb1737d254..9efdfee77e 100644 --- a/pgo/api/restoreDump.go +++ b/pgo/api/restoreDump.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/scale.go b/pgo/api/scale.go index 46769cdf0e..a72c525e10 100644 --- a/pgo/api/scale.go +++ b/pgo/api/scale.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/scaledown.go b/pgo/api/scaledown.go index fc5a222ab5..11960f8619 100644 --- a/pgo/api/scaledown.go +++ b/pgo/api/scaledown.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/schedule.go b/pgo/api/schedule.go index a3c0a0f33f..8c225fffc2 100644 --- a/pgo/api/schedule.go +++ b/pgo/api/schedule.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/status.go b/pgo/api/status.go index aa2f9e65a3..6e75456193 100644 --- a/pgo/api/status.go +++ b/pgo/api/status.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/test.go b/pgo/api/test.go index b576687f4b..8642abf0de 100644 --- a/pgo/api/test.go +++ b/pgo/api/test.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/upgrade.go b/pgo/api/upgrade.go index 15c3ecfb61..1f65758676 100644 --- a/pgo/api/upgrade.go +++ b/pgo/api/upgrade.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/user.go b/pgo/api/user.go index 3d84862670..6a140520db 100644 --- a/pgo/api/user.go +++ b/pgo/api/user.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/version.go b/pgo/api/version.go index d72e579e8e..ff640a8c7e 100644 --- a/pgo/api/version.go +++ b/pgo/api/version.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/api/workflow.go b/pgo/api/workflow.go index f2729d87a1..c6f89cce88 100644 --- a/pgo/api/workflow.go +++ b/pgo/api/workflow.go @@ -1,7 +1,7 @@ package api /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/auth.go b/pgo/cmd/auth.go index 5b8232ddbb..9bec31aaeb 100644 --- a/pgo/cmd/auth.go +++ b/pgo/cmd/auth.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/backrest.go b/pgo/cmd/backrest.go index 0dfd9b24d3..032c92f26c 100644 --- a/pgo/cmd/backrest.go +++ b/pgo/cmd/backrest.go @@ -2,7 +2,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/backup.go b/pgo/cmd/backup.go index d3c43290d1..e44ca70044 100644 --- a/pgo/cmd/backup.go +++ b/pgo/cmd/backup.go @@ -2,7 +2,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/benchmark.go b/pgo/cmd/benchmark.go index daecdf5f79..55fe4777b2 100644 --- a/pgo/cmd/benchmark.go +++ b/pgo/cmd/benchmark.go @@ -2,7 +2,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/cat.go b/pgo/cmd/cat.go index baa172fdf8..e0b8289aaa 100644 --- a/pgo/cmd/cat.go +++ b/pgo/cmd/cat.go @@ -2,7 +2,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/clone.go b/pgo/cmd/clone.go index 03e145eefa..4d24c38fb3 100644 --- a/pgo/cmd/clone.go +++ b/pgo/cmd/clone.go @@ -2,7 +2,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/cluster.go b/pgo/cmd/cluster.go index 19cf205644..80b5cdc139 100644 --- a/pgo/cmd/cluster.go +++ b/pgo/cmd/cluster.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/config.go b/pgo/cmd/config.go index 50b8d869e1..7c40b39c77 100644 --- a/pgo/cmd/config.go +++ b/pgo/cmd/config.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/create.go b/pgo/cmd/create.go index ea6e460879..9e35ab229f 100644 --- a/pgo/cmd/create.go +++ b/pgo/cmd/create.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/delete.go b/pgo/cmd/delete.go index 685ae04c6b..3b56ff231c 100644 --- a/pgo/cmd/delete.go +++ b/pgo/cmd/delete.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/df.go b/pgo/cmd/df.go index 426c1c5478..cad2f2fc13 100644 --- a/pgo/cmd/df.go +++ b/pgo/cmd/df.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/failover.go b/pgo/cmd/failover.go index bdba1eef80..da2c43da57 100644 --- a/pgo/cmd/failover.go +++ b/pgo/cmd/failover.go @@ -2,7 +2,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/flags.go b/pgo/cmd/flags.go index bf92af6323..24d1bd5341 100644 --- a/pgo/cmd/flags.go +++ b/pgo/cmd/flags.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/label.go b/pgo/cmd/label.go index d422b19a10..f31463163e 100644 --- a/pgo/cmd/label.go +++ b/pgo/cmd/label.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 @@ -34,7 +34,7 @@ var labelCmd = &cobra.Command{ Long: `LABEL allows you to add or remove a label on a set of clusters. For example: pgo label mycluster yourcluster --label=environment=prod - pgo label all --label=environment=prod + pgo label all --label=environment=prod pgo label --label=environment=prod --selector=name=mycluster pgo label --label=environment=prod --selector=status=final --dry-run`, Run: func(cmd *cobra.Command, args []string) { diff --git a/pgo/cmd/load.go b/pgo/cmd/load.go index 8698fb1ff4..770b213a67 100644 --- a/pgo/cmd/load.go +++ b/pgo/cmd/load.go @@ -2,7 +2,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/ls.go b/pgo/cmd/ls.go index f6fc0628f9..3d1844ebbd 100644 --- a/pgo/cmd/ls.go +++ b/pgo/cmd/ls.go @@ -2,7 +2,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/namespace.go b/pgo/cmd/namespace.go index 7440318c05..02383c2237 100644 --- a/pgo/cmd/namespace.go +++ b/pgo/cmd/namespace.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/pgbouncer.go b/pgo/cmd/pgbouncer.go index b5c5b81873..33deb6d7e6 100644 --- a/pgo/cmd/pgbouncer.go +++ b/pgo/cmd/pgbouncer.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/pgdump.go b/pgo/cmd/pgdump.go index 2c3e8e9780..9e0f1fec03 100644 --- a/pgo/cmd/pgdump.go +++ b/pgo/cmd/pgdump.go @@ -2,7 +2,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/pgorole.go b/pgo/cmd/pgorole.go index df367ef7e6..9df3b597dd 100644 --- a/pgo/cmd/pgorole.go +++ b/pgo/cmd/pgorole.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/pgouser.go b/pgo/cmd/pgouser.go index 686a0cc8b6..c738425cef 100644 --- a/pgo/cmd/pgouser.go +++ b/pgo/cmd/pgouser.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/policy.go b/pgo/cmd/policy.go index 2551d06dd1..5d71468bf0 100644 --- a/pgo/cmd/policy.go +++ b/pgo/cmd/policy.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/pvc.go b/pgo/cmd/pvc.go index 121ac34559..160dae57cf 100644 --- a/pgo/cmd/pvc.go +++ b/pgo/cmd/pvc.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/reload.go b/pgo/cmd/reload.go index 97d68470fc..6a98cb748e 100644 --- a/pgo/cmd/reload.go +++ b/pgo/cmd/reload.go @@ -2,7 +2,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/restore.go b/pgo/cmd/restore.go index 04c121505f..51cf68e493 100644 --- a/pgo/cmd/restore.go +++ b/pgo/cmd/restore.go @@ -2,7 +2,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/root.go b/pgo/cmd/root.go index 4e52eb00da..5cd41d1d58 100644 --- a/pgo/cmd/root.go +++ b/pgo/cmd/root.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 @@ -56,7 +56,7 @@ func init() { RED = color.New(color.FgRed).SprintFunc() // Go currently guarantees an error when attempting to load OS_TRUST for - // windows-based systems (see https://golang.org/issue/16736) + // windows-based systems (see https://golang.org/issue/16736) defExclOSTrust := (runtime.GOOS == "windows") RootCmd.PersistentFlags().StringVarP(&Namespace, "namespace", "n", "", "The namespace to use for pgo requests.") diff --git a/pgo/cmd/scale.go b/pgo/cmd/scale.go index 5b25b2b8ad..c65865216e 100644 --- a/pgo/cmd/scale.go +++ b/pgo/cmd/scale.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/scaledown.go b/pgo/cmd/scaledown.go index a7e8aa2deb..aeaaa3a9c5 100644 --- a/pgo/cmd/scaledown.go +++ b/pgo/cmd/scaledown.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/schedule.go b/pgo/cmd/schedule.go index 2aa2b4101a..8c890cac44 100644 --- a/pgo/cmd/schedule.go +++ b/pgo/cmd/schedule.go @@ -2,7 +2,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/show.go b/pgo/cmd/show.go index 7b942d02bd..9235d09495 100644 --- a/pgo/cmd/show.go +++ b/pgo/cmd/show.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/status.go b/pgo/cmd/status.go index 8d956131d5..989c0b5170 100644 --- a/pgo/cmd/status.go +++ b/pgo/cmd/status.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/test.go b/pgo/cmd/test.go index cba66c323b..126ff7eed8 100644 --- a/pgo/cmd/test.go +++ b/pgo/cmd/test.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/update.go b/pgo/cmd/update.go index 84a99bdaaa..0d3cd19178 100644 --- a/pgo/cmd/update.go +++ b/pgo/cmd/update.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/upgrade.go b/pgo/cmd/upgrade.go index 817c7f468a..4911194dbf 100644 --- a/pgo/cmd/upgrade.go +++ b/pgo/cmd/upgrade.go @@ -2,7 +2,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/user.go b/pgo/cmd/user.go index bed8e470c1..b33ea605d5 100644 --- a/pgo/cmd/user.go +++ b/pgo/cmd/user.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/version.go b/pgo/cmd/version.go index e9ac0e09b9..0eeb39a584 100644 --- a/pgo/cmd/version.go +++ b/pgo/cmd/version.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/watch.go b/pgo/cmd/watch.go index ffd59cfa7a..69d288a1d8 100644 --- a/pgo/cmd/watch.go +++ b/pgo/cmd/watch.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/cmd/workflow.go b/pgo/cmd/workflow.go index e7a8af1be8..c069473196 100644 --- a/pgo/cmd/workflow.go +++ b/pgo/cmd/workflow.go @@ -1,7 +1,7 @@ package cmd /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/generatedocs.go b/pgo/generatedocs.go index 5dad939426..daafa3224c 100644 --- a/pgo/generatedocs.go +++ b/pgo/generatedocs.go @@ -1,5 +1,20 @@ package main +/* + Copyright 2019 - 2020 Crunchy Data Solutions, 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. +*/ + import ( "fmt" "github.com/crunchydata/postgres-operator/pgo/cmd" diff --git a/pgo/pgo.go b/pgo/pgo.go index b03ffe2697..6895b7863a 100644 --- a/pgo/pgo.go +++ b/pgo/pgo.go @@ -1,7 +1,7 @@ package main /* - Copyright 2017 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/util/confirmation.go b/pgo/util/confirmation.go index 8ae543c8ea..c227055cb1 100644 --- a/pgo/util/confirmation.go +++ b/pgo/util/confirmation.go @@ -1,7 +1,7 @@ package util /* - Copyright 2018 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/util/pad.go b/pgo/util/pad.go index 64fec405f6..276469471a 100644 --- a/pgo/util/pad.go +++ b/pgo/util/pad.go @@ -1,7 +1,7 @@ package util /* - Copyright 2018 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pgo/util/validation.go b/pgo/util/validation.go index 00cd450467..8b024f1c83 100644 --- a/pgo/util/validation.go +++ b/pgo/util/validation.go @@ -1,7 +1,7 @@ package util /* - Copyright 2018 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/postgres-operator.go b/postgres-operator.go index cafd049941..9ce488cdc2 100644 --- a/postgres-operator.go +++ b/postgres-operator.go @@ -1,7 +1,7 @@ package main /* -Copyright 2019 Crunchy Data +Copyright 2017 - 2020 Crunchy Data 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 diff --git a/pv/create-pv-nfs-label.sh b/pv/create-pv-nfs-label.sh index 0c706b161a..b39c5f7f55 100755 --- a/pv/create-pv-nfs-label.sh +++ b/pv/create-pv-nfs-label.sh @@ -1,5 +1,6 @@ #!/bin/bash -# Copyright 2017 Crunchy Data Solutions, Inc. + +# Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/pv/create-pv-nfs-legacy.sh b/pv/create-pv-nfs-legacy.sh index 5924182c0e..c48b635305 100644 --- a/pv/create-pv-nfs-legacy.sh +++ b/pv/create-pv-nfs-legacy.sh @@ -1,5 +1,6 @@ #!/bin/bash -# Copyright 2017 Crunchy Data Solutions, Inc. + +# Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/pv/create-pv-nfs.sh b/pv/create-pv-nfs.sh index 92168c007e..3b5b96b31b 100755 --- a/pv/create-pv-nfs.sh +++ b/pv/create-pv-nfs.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2017-2020 Crunchy Data Solutions, Inc. +# Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/pv/create-pv.sh b/pv/create-pv.sh index 0ff0cb7815..2d2141243e 100755 --- a/pv/create-pv.sh +++ b/pv/create-pv.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2017 Crunchy Data Solutions, Inc. +# Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/pv/delete-pv.sh b/pv/delete-pv.sh index e0b1aaabc1..cd653a1778 100755 --- a/pv/delete-pv.sh +++ b/pv/delete-pv.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2017 Crunchy Data Solutions, Inc. +# Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/sshutil/sshutil.go b/sshutil/sshutil.go index 3f8bd24dc5..db91298922 100644 --- a/sshutil/sshutil.go +++ b/sshutil/sshutil.go @@ -1,5 +1,20 @@ package sshutil +/* + Copyright 2019 - 2020 Crunchy Data Solutions, 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. +*/ + import ( "bytes" "crypto/ed25519" @@ -114,11 +129,10 @@ func newPrivateKey(key ed25519.PrivateKey) ([]byte, error) { NumKeys: 1, PubKey: ssh.Marshal(public), PrivKeyBlock: ssh.Marshal(private), - } pemBlock := &pem.Block{ - Type: "OPENSSH PRIVATE KEY", + Type: "OPENSSH PRIVATE KEY", Bytes: append(append([]byte(authMagic), 0), ssh.Marshal(overall)...), } diff --git a/testing/events/event_test.go b/testing/events/event_test.go index fe359cd7ce..ae484846d7 100644 --- a/testing/events/event_test.go +++ b/testing/events/event_test.go @@ -1,5 +1,20 @@ package eventtest +/* + Copyright 2019 - 2020 Crunchy Data Solutions, 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. +*/ + import ( "github.com/crunchydata/postgres-operator/events" "testing" diff --git a/testing/events/reader/read_test.go b/testing/events/reader/read_test.go index df925ed697..a69b9a5ef1 100644 --- a/testing/events/reader/read_test.go +++ b/testing/events/reader/read_test.go @@ -1,5 +1,20 @@ package readtest +/* + Copyright 2019 - 2020 Crunchy Data Solutions, 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. +*/ + import ( "flag" "fmt" diff --git a/testing/events/setupkube.go b/testing/events/setupkube.go index 8e7ad1dfe1..d84f10761c 100644 --- a/testing/events/setupkube.go +++ b/testing/events/setupkube.go @@ -1,5 +1,20 @@ package eventtest +/* + Copyright 2019 - 2020 Crunchy Data Solutions, 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. +*/ + import ( "flag" //"fmt" diff --git a/testing/simple/backrest_backup_test.go b/testing/simple/backrest_backup_test.go index 9803a4710c..a903c41f14 100644 --- a/testing/simple/backrest_backup_test.go +++ b/testing/simple/backrest_backup_test.go @@ -1,5 +1,20 @@ package smoketest +/* + Copyright 2019 - 2020 Crunchy Data Solutions, 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. +*/ + import ( //meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "fmt" diff --git a/testing/simple/benchmark_test.go b/testing/simple/benchmark_test.go index 8eb434a06c..b1ff214a3e 100644 --- a/testing/simple/benchmark_test.go +++ b/testing/simple/benchmark_test.go @@ -1,5 +1,20 @@ package smoketest +/* + Copyright 2019 - 2020 Crunchy Data Solutions, 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. +*/ + import ( //meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" diff --git a/testing/simple/bouncer_test.go b/testing/simple/bouncer_test.go index 08244ed80d..3dfa8ed964 100644 --- a/testing/simple/bouncer_test.go +++ b/testing/simple/bouncer_test.go @@ -1,5 +1,20 @@ package smoketest +/* + Copyright 2019 - 2020 Crunchy Data Solutions, 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. +*/ + import ( //meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "github.com/crunchydata/postgres-operator/config" diff --git a/testing/simple/cluster_test.go b/testing/simple/cluster_test.go index b969eca1e4..aa97d32f2d 100644 --- a/testing/simple/cluster_test.go +++ b/testing/simple/cluster_test.go @@ -1,5 +1,20 @@ package smoketest +/* + Copyright 2019 - 2020 Crunchy Data Solutions, 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. +*/ + import ( //meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" //"k8s.io/client-go/kubernetes" diff --git a/testing/simple/label_test.go b/testing/simple/label_test.go index 039bab76d3..24e72efaf0 100644 --- a/testing/simple/label_test.go +++ b/testing/simple/label_test.go @@ -1,5 +1,20 @@ package smoketest +/* + Copyright 2019 - 2020 Crunchy Data Solutions, 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. +*/ + import ( "github.com/crunchydata/postgres-operator/config" "github.com/crunchydata/postgres-operator/kubeapi" diff --git a/testing/simple/lscat_test.go b/testing/simple/lscat_test.go index 72fc8070ff..64413ad8de 100644 --- a/testing/simple/lscat_test.go +++ b/testing/simple/lscat_test.go @@ -1,5 +1,20 @@ package smoketest +/* + Copyright 2019 - 2020 Crunchy Data Solutions, 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. +*/ + import ( //meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" diff --git a/testing/simple/pgotest_test.go b/testing/simple/pgotest_test.go index 56d18cbcca..b4e1af1556 100644 --- a/testing/simple/pgotest_test.go +++ b/testing/simple/pgotest_test.go @@ -1,5 +1,20 @@ package smoketest +/* + Copyright 2019 - 2020 Crunchy Data Solutions, 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. +*/ + import ( //meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" diff --git a/testing/simple/policy_test.go b/testing/simple/policy_test.go index de254bb173..063fef8d8e 100644 --- a/testing/simple/policy_test.go +++ b/testing/simple/policy_test.go @@ -1,5 +1,20 @@ package smoketest +/* + Copyright 2019 - 2020 Crunchy Data Solutions, 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. +*/ + import ( //meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" crv1 "github.com/crunchydata/postgres-operator/apis/cr/v1" diff --git a/testing/simple/run.sh b/testing/simple/run.sh index 86e2e29882..9c2a8a61c6 100755 --- a/testing/simple/run.sh +++ b/testing/simple/run.sh @@ -1,5 +1,6 @@ #!/bin/bash -# Copyright 2017 - 2019 Crunchy Data Solutions, Inc. + +# Copyright 2019 - 2020 Crunchy Data Solutions, 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 @@ -58,4 +59,3 @@ if [ $runme = "all" ]; then else go test -run ${TESTS[runme]} -v --kubeconfig=$HOME/.kube/config -clustername=foomatic -namespace=pgouser1 fi - diff --git a/testing/simple/scale_test.go b/testing/simple/scale_test.go index 69d3c2f820..53a39c2c53 100644 --- a/testing/simple/scale_test.go +++ b/testing/simple/scale_test.go @@ -1,5 +1,20 @@ package smoketest +/* + Copyright 2019 - 2020 Crunchy Data Solutions, 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. +*/ + import ( //meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "github.com/crunchydata/postgres-operator/config" diff --git a/testing/simple/setupkube.go b/testing/simple/setupkube.go index 572e49fc51..567debdc67 100644 --- a/testing/simple/setupkube.go +++ b/testing/simple/setupkube.go @@ -1,5 +1,20 @@ package smoketest +/* + Copyright 2019 - 2020 Crunchy Data Solutions, 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. +*/ + import ( "flag" "fmt" diff --git a/testing/simple/show_test.go b/testing/simple/show_test.go index 9d3888f13e..b22c14062a 100644 --- a/testing/simple/show_test.go +++ b/testing/simple/show_test.go @@ -1,5 +1,20 @@ package smoketest +/* + Copyright 2019 - 2020 Crunchy Data Solutions, 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. +*/ + import ( //meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" diff --git a/testing/simple/status_test.go b/testing/simple/status_test.go index ca7747cc33..687dcc59d2 100644 --- a/testing/simple/status_test.go +++ b/testing/simple/status_test.go @@ -1,5 +1,20 @@ package smoketest +/* + Copyright 2019 - 2020 Crunchy Data Solutions, 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. +*/ + import ( //meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" diff --git a/testing/simple/user_test.go b/testing/simple/user_test.go index 24ee195e29..ae637824fb 100644 --- a/testing/simple/user_test.go +++ b/testing/simple/user_test.go @@ -1,5 +1,20 @@ package smoketest +/* + Copyright 2019 - 2020 Crunchy Data Solutions, 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. +*/ + import ( //meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" diff --git a/testing/simple/version_test.go b/testing/simple/version_test.go index c1d785588d..f29735d0ff 100644 --- a/testing/simple/version_test.go +++ b/testing/simple/version_test.go @@ -1,5 +1,20 @@ package smoketest +/* + Copyright 2019 - 2020 Crunchy Data Solutions, 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. +*/ + import ( //meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" diff --git a/tlsutil/primitives.go b/tlsutil/primitives.go index 675b876479..03fb73f744 100644 --- a/tlsutil/primitives.go +++ b/tlsutil/primitives.go @@ -1,7 +1,7 @@ package tlsutil /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/tlsutil/primitives_test.go b/tlsutil/primitives_test.go index 2f2dbc4acb..22676e9fbc 100644 --- a/tlsutil/primitives_test.go +++ b/tlsutil/primitives_test.go @@ -1,7 +1,7 @@ package tlsutil /* -Copyright 2019 Crunchy Data Solutions, Inc. +Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/util/backrest.go b/util/backrest.go index fd2353fdaf..d19d1456d1 100644 --- a/util/backrest.go +++ b/util/backrest.go @@ -1,7 +1,7 @@ package util /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/util/clone.go b/util/clone.go index 92e6bb298e..351da0c28e 100644 --- a/util/clone.go +++ b/util/clone.go @@ -1,7 +1,7 @@ package util /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/util/cluster.go b/util/cluster.go index 5c924a2aac..c0b121b9d2 100644 --- a/util/cluster.go +++ b/util/cluster.go @@ -1,7 +1,7 @@ package util /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2019 - 2020 Crunchy Data Solutions, 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 diff --git a/util/failover.go b/util/failover.go index b59cfa1e1f..8e740b4860 100644 --- a/util/failover.go +++ b/util/failover.go @@ -1,7 +1,7 @@ package util /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2018 - 2020 Crunchy Data Solutions, 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 diff --git a/util/policy.go b/util/policy.go index 3eb68503d3..60ae02f797 100644 --- a/util/policy.go +++ b/util/policy.go @@ -1,7 +1,7 @@ package util /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/util/secrets.go b/util/secrets.go index c9ed23351f..6d829121d5 100644 --- a/util/secrets.go +++ b/util/secrets.go @@ -1,7 +1,7 @@ package util /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/util/util.go b/util/util.go index bce61ccc59..5a7ecdb92a 100644 --- a/util/util.go +++ b/util/util.go @@ -1,7 +1,7 @@ package util /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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 diff --git a/util/waituntil.go b/util/waituntil.go index 802086ffe5..0d269e65ca 100644 --- a/util/waituntil.go +++ b/util/waituntil.go @@ -1,7 +1,7 @@ package util /* - Copyright 2019 Crunchy Data Solutions, Inc. + Copyright 2017 - 2020 Crunchy Data Solutions, 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