mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 23:08:24 +02:00
fix: rename module to github.com/zalando/postgres-operator/v2 (#3156)
* fix: rename module to github.com/zalando/postgres-operator/v2 Upgrade performed using https://github.com/icholy/gomajor ``` gomajor path -version v2 ``` Signed-off-by: Benjamin Ritter <benjamin.ritter@x-cellent.com> * fix: make fmt Signed-off-by: Benjamin Ritter <benjamin.ritter@x-cellent.com> * fix: adjust codegen module name Signed-off-by: Benjamin Ritter <benjamin.ritter@x-cellent.com> --------- Signed-off-by: Benjamin Ritter <benjamin.ritter@x-cellent.com> Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
This commit is contained in:
committed by
Felix Kunde
co-authored by
Felix Kunde
parent
00f75115e0
commit
6138bc4a69
+13
-13
@@ -14,20 +14,20 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/sirupsen/logrus"
|
||||
acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1"
|
||||
zalandov1 "github.com/zalando/postgres-operator/pkg/apis/zalando.org/v1"
|
||||
acidv1 "github.com/zalando/postgres-operator/v2/pkg/apis/acid.zalan.do/v1"
|
||||
zalandov1 "github.com/zalando/postgres-operator/v2/pkg/apis/zalando.org/v1"
|
||||
|
||||
"github.com/zalando/postgres-operator/pkg/generated/clientset/versioned/scheme"
|
||||
"github.com/zalando/postgres-operator/pkg/spec"
|
||||
pgteams "github.com/zalando/postgres-operator/pkg/teams"
|
||||
"github.com/zalando/postgres-operator/pkg/util"
|
||||
"github.com/zalando/postgres-operator/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/pkg/util/patroni"
|
||||
"github.com/zalando/postgres-operator/pkg/util/teams"
|
||||
"github.com/zalando/postgres-operator/pkg/util/users"
|
||||
"github.com/zalando/postgres-operator/pkg/util/volumes"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/generated/clientset/versioned/scheme"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/spec"
|
||||
pgteams "github.com/zalando/postgres-operator/v2/pkg/teams"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/patroni"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/teams"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/users"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/volumes"
|
||||
appsv1 "k8s.io/api/apps/v1"
|
||||
batchv1 "k8s.io/api/batch/v1"
|
||||
v1 "k8s.io/api/core/v1"
|
||||
|
||||
@@ -11,15 +11,15 @@ import (
|
||||
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/stretchr/testify/assert"
|
||||
acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1"
|
||||
fakeacidv1 "github.com/zalando/postgres-operator/pkg/generated/clientset/versioned/fake"
|
||||
"github.com/zalando/postgres-operator/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/pkg/util"
|
||||
"github.com/zalando/postgres-operator/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/pkg/util/patroni"
|
||||
"github.com/zalando/postgres-operator/pkg/util/teams"
|
||||
acidv1 "github.com/zalando/postgres-operator/v2/pkg/apis/acid.zalan.do/v1"
|
||||
fakeacidv1 "github.com/zalando/postgres-operator/v2/pkg/generated/clientset/versioned/fake"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/patroni"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/teams"
|
||||
batchv1 "k8s.io/api/batch/v1"
|
||||
v1 "k8s.io/api/core/v1"
|
||||
"k8s.io/apimachinery/pkg/api/resource"
|
||||
|
||||
@@ -10,8 +10,8 @@ import (
|
||||
|
||||
"github.com/r3labs/diff"
|
||||
"github.com/sirupsen/logrus"
|
||||
acidzalando "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do"
|
||||
acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1"
|
||||
acidzalando "github.com/zalando/postgres-operator/v2/pkg/apis/acid.zalan.do"
|
||||
acidv1 "github.com/zalando/postgres-operator/v2/pkg/apis/acid.zalan.do/v1"
|
||||
appsv1 "k8s.io/api/apps/v1"
|
||||
v1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@@ -19,11 +19,11 @@ import (
|
||||
"k8s.io/apimachinery/pkg/types"
|
||||
"k8s.io/apimachinery/pkg/util/intstr"
|
||||
|
||||
"github.com/zalando/postgres-operator/pkg/util"
|
||||
"github.com/zalando/postgres-operator/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/pkg/util/retryutil"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/retryutil"
|
||||
)
|
||||
|
||||
var poolerRunAsUser = int64(100)
|
||||
|
||||
@@ -7,12 +7,12 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1"
|
||||
fakeacidv1 "github.com/zalando/postgres-operator/pkg/generated/clientset/versioned/fake"
|
||||
"github.com/zalando/postgres-operator/pkg/util"
|
||||
"github.com/zalando/postgres-operator/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/pkg/util/k8sutil"
|
||||
acidv1 "github.com/zalando/postgres-operator/v2/pkg/apis/acid.zalan.do/v1"
|
||||
fakeacidv1 "github.com/zalando/postgres-operator/v2/pkg/generated/clientset/versioned/fake"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/k8sutil"
|
||||
|
||||
appsv1 "k8s.io/api/apps/v1"
|
||||
v1 "k8s.io/api/core/v1"
|
||||
|
||||
@@ -11,10 +11,10 @@ import (
|
||||
|
||||
"github.com/lib/pq"
|
||||
|
||||
"github.com/zalando/postgres-operator/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/pkg/util/retryutil"
|
||||
"github.com/zalando/postgres-operator/pkg/util/users"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/retryutil"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/users"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
+2
-2
@@ -11,8 +11,8 @@ import (
|
||||
"k8s.io/client-go/kubernetes/scheme"
|
||||
"k8s.io/client-go/tools/remotecommand"
|
||||
|
||||
"github.com/zalando/postgres-operator/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/constants"
|
||||
)
|
||||
|
||||
// ExecCommand executes arbitrary command inside the pod
|
||||
|
||||
@@ -4,9 +4,9 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/zalando/postgres-operator/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/pkg/util/filesystems"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/filesystems"
|
||||
)
|
||||
|
||||
func (c *Cluster) getPostgresFilesystemInfo(podName *spec.NamespacedName) (device, fstype string, err error) {
|
||||
|
||||
@@ -24,14 +24,14 @@ import (
|
||||
"k8s.io/apimachinery/pkg/types"
|
||||
"k8s.io/apimachinery/pkg/util/intstr"
|
||||
|
||||
acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1"
|
||||
"github.com/zalando/postgres-operator/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/pkg/util"
|
||||
"github.com/zalando/postgres-operator/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/pkg/util/patroni"
|
||||
"github.com/zalando/postgres-operator/pkg/util/retryutil"
|
||||
acidv1 "github.com/zalando/postgres-operator/v2/pkg/apis/acid.zalan.do/v1"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/patroni"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/retryutil"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -9,13 +9,13 @@ import (
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1"
|
||||
fakeacidv1 "github.com/zalando/postgres-operator/pkg/generated/clientset/versioned/fake"
|
||||
"github.com/zalando/postgres-operator/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/pkg/util"
|
||||
"github.com/zalando/postgres-operator/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/pkg/util/k8sutil"
|
||||
acidv1 "github.com/zalando/postgres-operator/v2/pkg/apis/acid.zalan.do/v1"
|
||||
fakeacidv1 "github.com/zalando/postgres-operator/v2/pkg/generated/clientset/versioned/fake"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/k8sutil"
|
||||
|
||||
appsv1 "k8s.io/api/apps/v1"
|
||||
v1 "k8s.io/api/core/v1"
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/Masterminds/semver/v3"
|
||||
"github.com/zalando/postgres-operator/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/pkg/util"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util"
|
||||
v1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/types"
|
||||
|
||||
+5
-5
@@ -13,11 +13,11 @@ import (
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/types"
|
||||
|
||||
acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1"
|
||||
"github.com/zalando/postgres-operator/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/pkg/util"
|
||||
"github.com/zalando/postgres-operator/pkg/util/patroni"
|
||||
"github.com/zalando/postgres-operator/pkg/util/retryutil"
|
||||
acidv1 "github.com/zalando/postgres-operator/v2/pkg/apis/acid.zalan.do/v1"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/patroni"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/retryutil"
|
||||
)
|
||||
|
||||
func (c *Cluster) listPods() ([]v1.Pod, error) {
|
||||
|
||||
@@ -9,12 +9,12 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/golang/mock/gomock"
|
||||
"github.com/zalando/postgres-operator/mocks"
|
||||
acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1"
|
||||
"github.com/zalando/postgres-operator/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/pkg/util/patroni"
|
||||
"github.com/zalando/postgres-operator/v2/mocks"
|
||||
acidv1 "github.com/zalando/postgres-operator/v2/pkg/apis/acid.zalan.do/v1"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/patroni"
|
||||
v1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
@@ -13,9 +13,9 @@ import (
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/types"
|
||||
|
||||
"github.com/zalando/postgres-operator/pkg/util"
|
||||
"github.com/zalando/postgres-operator/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/pkg/util/retryutil"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/retryutil"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -8,11 +8,11 @@ import (
|
||||
"sort"
|
||||
"strings"
|
||||
|
||||
acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1"
|
||||
zalandov1 "github.com/zalando/postgres-operator/pkg/apis/zalando.org/v1"
|
||||
"github.com/zalando/postgres-operator/pkg/util"
|
||||
"github.com/zalando/postgres-operator/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/pkg/util/k8sutil"
|
||||
acidv1 "github.com/zalando/postgres-operator/v2/pkg/apis/acid.zalan.do/v1"
|
||||
zalandov1 "github.com/zalando/postgres-operator/v2/pkg/apis/zalando.org/v1"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/k8sutil"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/types"
|
||||
)
|
||||
|
||||
@@ -9,13 +9,13 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1"
|
||||
zalandov1 "github.com/zalando/postgres-operator/pkg/apis/zalando.org/v1"
|
||||
fakezalandov1 "github.com/zalando/postgres-operator/pkg/generated/clientset/versioned/fake"
|
||||
"github.com/zalando/postgres-operator/pkg/util"
|
||||
"github.com/zalando/postgres-operator/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/pkg/util/k8sutil"
|
||||
acidv1 "github.com/zalando/postgres-operator/v2/pkg/apis/acid.zalan.do/v1"
|
||||
zalandov1 "github.com/zalando/postgres-operator/v2/pkg/apis/zalando.org/v1"
|
||||
fakezalandov1 "github.com/zalando/postgres-operator/v2/pkg/generated/clientset/versioned/fake"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/k8sutil"
|
||||
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/types"
|
||||
|
||||
+5
-5
@@ -12,11 +12,11 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1"
|
||||
"github.com/zalando/postgres-operator/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/pkg/util"
|
||||
"github.com/zalando/postgres-operator/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/pkg/util/k8sutil"
|
||||
acidv1 "github.com/zalando/postgres-operator/v2/pkg/apis/acid.zalan.do/v1"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/k8sutil"
|
||||
batchv1 "k8s.io/api/batch/v1"
|
||||
v1 "k8s.io/api/core/v1"
|
||||
policyv1 "k8s.io/api/policy/v1"
|
||||
|
||||
@@ -20,15 +20,15 @@ import (
|
||||
"github.com/pkg/errors"
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/zalando/postgres-operator/mocks"
|
||||
acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1"
|
||||
fakeacidv1 "github.com/zalando/postgres-operator/pkg/generated/clientset/versioned/fake"
|
||||
"github.com/zalando/postgres-operator/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/pkg/util"
|
||||
"github.com/zalando/postgres-operator/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/pkg/util/patroni"
|
||||
"github.com/zalando/postgres-operator/v2/mocks"
|
||||
acidv1 "github.com/zalando/postgres-operator/v2/pkg/apis/acid.zalan.do/v1"
|
||||
fakeacidv1 "github.com/zalando/postgres-operator/v2/pkg/generated/clientset/versioned/fake"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/patroni"
|
||||
"k8s.io/client-go/kubernetes/fake"
|
||||
)
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ package cluster
|
||||
import (
|
||||
"time"
|
||||
|
||||
acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1"
|
||||
acidv1 "github.com/zalando/postgres-operator/v2/pkg/apis/acid.zalan.do/v1"
|
||||
appsv1 "k8s.io/api/apps/v1"
|
||||
v1 "k8s.io/api/core/v1"
|
||||
policyv1 "k8s.io/api/policy/v1"
|
||||
|
||||
+8
-8
@@ -20,14 +20,14 @@ import (
|
||||
"k8s.io/apimachinery/pkg/labels"
|
||||
|
||||
"github.com/sirupsen/logrus"
|
||||
acidzalando "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do"
|
||||
acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1"
|
||||
"github.com/zalando/postgres-operator/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/pkg/util"
|
||||
"github.com/zalando/postgres-operator/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/pkg/util/nicediff"
|
||||
"github.com/zalando/postgres-operator/pkg/util/retryutil"
|
||||
acidzalando "github.com/zalando/postgres-operator/v2/pkg/apis/acid.zalan.do"
|
||||
acidv1 "github.com/zalando/postgres-operator/v2/pkg/apis/acid.zalan.do/v1"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/nicediff"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/retryutil"
|
||||
)
|
||||
|
||||
// OAuthTokenGetter provides the method for fetching OAuth tokens
|
||||
|
||||
@@ -13,13 +13,13 @@ import (
|
||||
|
||||
"github.com/golang/mock/gomock"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/zalando/postgres-operator/mocks"
|
||||
acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1"
|
||||
fakeacidv1 "github.com/zalando/postgres-operator/pkg/generated/clientset/versioned/fake"
|
||||
"github.com/zalando/postgres-operator/pkg/util"
|
||||
"github.com/zalando/postgres-operator/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/pkg/util/patroni"
|
||||
"github.com/zalando/postgres-operator/v2/mocks"
|
||||
acidv1 "github.com/zalando/postgres-operator/v2/pkg/apis/acid.zalan.do/v1"
|
||||
fakeacidv1 "github.com/zalando/postgres-operator/v2/pkg/generated/clientset/versioned/fake"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/patroni"
|
||||
v1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/labels"
|
||||
|
||||
@@ -11,11 +11,11 @@ import (
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/types"
|
||||
|
||||
"github.com/zalando/postgres-operator/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/pkg/util/filesystems"
|
||||
"github.com/zalando/postgres-operator/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/pkg/util/volumes"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/spec"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/filesystems"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/volumes"
|
||||
)
|
||||
|
||||
func (c *Cluster) syncVolumes() error {
|
||||
|
||||
@@ -14,12 +14,12 @@ import (
|
||||
"github.com/aws/aws-sdk-go-v2/aws"
|
||||
"github.com/golang/mock/gomock"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/zalando/postgres-operator/mocks"
|
||||
acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1"
|
||||
"github.com/zalando/postgres-operator/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/pkg/util/volumes"
|
||||
"github.com/zalando/postgres-operator/v2/mocks"
|
||||
acidv1 "github.com/zalando/postgres-operator/v2/pkg/apis/acid.zalan.do/v1"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/config"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/k8sutil"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/volumes"
|
||||
"k8s.io/client-go/kubernetes/fake"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user