Skip to content

Commit

Permalink
moves kubeapi library folder into internal
Browse files Browse the repository at this point in the history
This library is being moved into internal as step toward
organizing the postgres-operator libraries. This reduces
clutter in the top level project directory and supports
future reorganization, refactoring, and movement to Go
modules where appropriate.

At this time, all internal libraries are believed to have
postgres-operator specific code and are not likely to be
dependencies of code outside of postgres-operator.

However, should this be in err, each library move is split into a
separate commit for easy reversion.
  • Loading branch information
wilybrace authored and cbandy committed Jun 11, 2020
1 parent f94577f commit 7b46435
Show file tree
Hide file tree
Showing 100 changed files with 79 additions and 79 deletions.
2 changes: 1 addition & 1 deletion internal/apiserver/backrestservice/backrestimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (

"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"
log "github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/catservice/catimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"
log "github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/cloneservice/cloneimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (

"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"
"github.com/crunchydata/postgres-operator/util"
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/clusterservice/clusterimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (

"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"
"github.com/crunchydata/postgres-operator/util"
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/clusterservice/scaleimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"
"github.com/crunchydata/postgres-operator/util"
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"strconv"

"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
log "github.com/sirupsen/logrus"
v1 "k8s.io/api/core/v1"
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/dfservice/dfimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"
log "github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/failoverservice/failoverimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (

"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"
"github.com/crunchydata/postgres-operator/util"
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/labelservice/labelimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"
"github.com/crunchydata/postgres-operator/pkg/events"
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/loadservice/loadimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/apiserver/policyservice"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
"github.com/crunchydata/postgres-operator/operator"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/namespaceservice/namespaceimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"fmt"

"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
"github.com/crunchydata/postgres-operator/ns"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"
log "github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/pgadminservice/pgadminimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (

"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
"github.com/crunchydata/postgres-operator/internal/pgadmin"
"github.com/crunchydata/postgres-operator/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"

Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/pgbouncerservice/pgbouncerimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
clusteroperator "github.com/crunchydata/postgres-operator/operator/cluster"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/pgdumpservice/pgdumpimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/apiserver/backupoptions"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"
log "github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/pgoroleservice/pgoroleimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/apiserver/pgouserservice"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"
"github.com/crunchydata/postgres-operator/pkg/events"
log "github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/pgouserservice/pgouserimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
"github.com/crunchydata/postgres-operator/ns"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"
"github.com/crunchydata/postgres-operator/pkg/events"
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/policyservice/policyimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/apiserver/labelservice"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"
"github.com/crunchydata/postgres-operator/pkg/events"
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/pvcservice/pvcimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (

"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"
log "github.com/sirupsen/logrus"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"time"

"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
"github.com/crunchydata/postgres-operator/ns"
pgov1 "github.com/crunchydata/postgres-operator/pkg/generated/clientset/versioned"
"github.com/crunchydata/postgres-operator/tlsutil"
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/scheduleservice/scheduleimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/apiserver/backupoptions"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"
"github.com/crunchydata/postgres-operator/util"
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/statusservice/statusimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"
log "github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/upgradeservice/upgradeimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (

"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"

Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/userservice/userimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ import (

"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
"github.com/crunchydata/postgres-operator/internal/pgadmin"
pgpassword "github.com/crunchydata/postgres-operator/internal/postgres/password"
"github.com/crunchydata/postgres-operator/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"
"github.com/crunchydata/postgres-operator/util"
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/workflowservice/workflowimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (

"github.com/crunchydata/postgres-operator/internal/apiserver"
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs"
log "github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion internal/config/pgoconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"strings"
"text/template"

"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"

log "github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/controllerutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"errors"

"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
log "github.com/sirupsen/logrus"
"k8s.io/client-go/rest"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/job/backresthandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/internal/controller"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
backrestoperator "github.com/crunchydata/postgres-operator/operator/backrest"
clusteroperator "github.com/crunchydata/postgres-operator/operator/cluster"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/job/reposynchandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"time"

"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
clusteroperator "github.com/crunchydata/postgres-operator/operator/cluster"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
"github.com/crunchydata/postgres-operator/pkg/events"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/job/rmdatahandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"time"

"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
"github.com/crunchydata/postgres-operator/operator/pvc"
log "github.com/sirupsen/logrus"
apiv1 "k8s.io/api/batch/v1"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/manager/controllermanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"github.com/crunchydata/postgres-operator/internal/controller/pgreplica"
"github.com/crunchydata/postgres-operator/internal/controller/pgtask"
"github.com/crunchydata/postgres-operator/internal/controller/pod"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
"github.com/crunchydata/postgres-operator/ns"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
informers "github.com/crunchydata/postgres-operator/pkg/generated/informers/externalversions"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/pgcluster/pgclustercontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"strings"

"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
backrestoperator "github.com/crunchydata/postgres-operator/operator/backrest"
clusteroperator "github.com/crunchydata/postgres-operator/operator/cluster"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/pgpolicy/pgpolicycontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"time"

"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
informers "github.com/crunchydata/postgres-operator/pkg/generated/informers/externalversions/crunchydata.com/v1"
log "github.com/sirupsen/logrus"
"k8s.io/client-go/kubernetes"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/pgreplica/pgreplicacontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"strings"

"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
clusteroperator "github.com/crunchydata/postgres-operator/operator/cluster"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
informers "github.com/crunchydata/postgres-operator/pkg/generated/informers/externalversions/crunchydata.com/v1"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/pgtask/pgtaskcontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"strings"

"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
backrestoperator "github.com/crunchydata/postgres-operator/operator/backrest"
clusteroperator "github.com/crunchydata/postgres-operator/operator/cluster"
pgdumpoperator "github.com/crunchydata/postgres-operator/operator/pgdump"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/pod/inithandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/internal/controller"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
"github.com/crunchydata/postgres-operator/operator"
"github.com/crunchydata/postgres-operator/operator/backrest"
backrestoperator "github.com/crunchydata/postgres-operator/operator/backrest"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/pod/podcontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"strings"

"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
"github.com/crunchydata/postgres-operator/util"

Expand Down
2 changes: 1 addition & 1 deletion internal/controller/pod/promotionhandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (

"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/internal/controller"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
"github.com/crunchydata/postgres-operator/operator/backrest"
clusteroperator "github.com/crunchydata/postgres-operator/operator/cluster"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion internal/patroni/patroni.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"k8s.io/client-go/rest"

"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
)

// dbContainerName is the name of the container containing the PG database in a PG (primary or
Expand Down
2 changes: 1 addition & 1 deletion internal/pgadmin/logic.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"strings"

"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"

log "github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion internal/pgadmin/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"strings"
"time"

"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"

log "github.com/sirupsen/logrus"
v1 "k8s.io/api/core/v1"
Expand Down
2 changes: 1 addition & 1 deletion ns/nslogic.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"time"

"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
"github.com/crunchydata/postgres-operator/pkg/events"

log "github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion operator/backrest/backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"time"

"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
"github.com/crunchydata/postgres-operator/operator"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
"github.com/crunchydata/postgres-operator/pkg/events"
Expand Down
2 changes: 1 addition & 1 deletion operator/backrest/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"os"

"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
"github.com/crunchydata/postgres-operator/operator"
"github.com/crunchydata/postgres-operator/operator/pvc"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
Expand Down
2 changes: 1 addition & 1 deletion operator/backrest/restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"time"

"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/kubeapi"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
"github.com/crunchydata/postgres-operator/operator"
"github.com/crunchydata/postgres-operator/operator/pvc"
crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1"
Expand Down
Loading

0 comments on commit 7b46435

Please sign in to comment.