From de2af096ba312ea743eb2a81816399e78710238d Mon Sep 17 00:00:00 2001 From: unknown <3126965574@qq.com> Date: Mon, 22 Jun 2020 17:22:49 +0800 Subject: [PATCH 1/2] modify yy mods --- go.mod | 39 +++++++ go.sum | 324 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 363 insertions(+) create mode 100644 go.mod create mode 100644 go.sum diff --git a/go.mod b/go.mod new file mode 100644 index 0000000000..4228982af0 --- /dev/null +++ b/go.mod @@ -0,0 +1,39 @@ +module github.com/crunchydata/postgres-operator/v4 + +go 1.13 + +require ( + github.com/docker/spdystream v0.0.0-20181023171402-6480d4af844c // indirect + github.com/evanphx/json-patch v0.0.0-20191220184958-bf22ed931162 + github.com/fatih/color v1.9.0 + github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect + github.com/golang/protobuf v1.3.5 // indirect + github.com/google/go-cmp v0.4.0 // indirect + github.com/googleapis/gnostic v0.4.0 // indirect + github.com/gorilla/mux v1.7.4 + github.com/hashicorp/golang-lru v0.5.4 // indirect + github.com/imdario/mergo v0.3.9 // indirect + github.com/json-iterator/go v1.1.9 // indirect + github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect + github.com/mattn/go-colorable v0.1.6 // indirect + github.com/nsqio/go-nsq v1.0.8 + github.com/robfig/cron v1.2.0 + github.com/robfig/cron/v3 v3.0.1 + github.com/sirupsen/logrus v1.5.0 + github.com/spf13/cobra v0.0.5 + github.com/spf13/pflag v1.0.5 + github.com/xdg/stringprep v1.0.0 + golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59 + golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e // indirect + golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d // indirect + golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a + golang.org/x/sys v0.0.0-20200331124033-c3d80250170d // indirect + golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect + google.golang.org/appengine v1.6.5 // indirect + k8s.io/api v0.17.7 + k8s.io/apimachinery v0.17.7 + k8s.io/client-go v0.17.7 + k8s.io/sample-controller v0.17.7 + k8s.io/utils v0.0.0-20200327001022-6496210b90e8 // indirect + sigs.k8s.io/yaml v1.2.0 +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000000..7992af8637 --- /dev/null +++ b/go.sum @@ -0,0 +1,324 @@ +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= +github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= +github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0= +github.com/Azure/go-autorest/autorest/date v0.1.0/go.mod h1:plvfp3oPSKwf2DNjlBjWF/7vwR+cUD/ELuzDCXwHUVA= +github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= +github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= +github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= +github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbtp2fGCgRFtBroKn4Dk= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= +github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= +github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= +github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= +github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= +github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= +github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= +github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/cpuguy83/go-md2man v1.0.10 h1:BSKMNlYxDvnunlTymqtgONjNnaRV1sTpcovwwjF22jk= +github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= +github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= +github.com/docker/spdystream v0.0.0-20181023171402-6480d4af844c h1:ZfSZ3P3BedhKGUhzj7BQlPSU4OvT6tfOKe3DVHzOA7s= +github.com/docker/spdystream v0.0.0-20181023171402-6480d4af844c/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= +github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= +github.com/elazarl/goproxy v0.0.0-20170405201442-c4fc26588b6e h1:p1yVGRW3nmb85p1Sh1ZJSDm4A4iKLS5QNbvUHMgGu/M= +github.com/elazarl/goproxy v0.0.0-20170405201442-c4fc26588b6e/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= +github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= +github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= +github.com/evanphx/json-patch v4.2.0+incompatible h1:fUDGZCv/7iAN7u0puUVhvKCcsR6vRfwrJatElLBEf0I= +github.com/evanphx/json-patch v4.2.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s= +github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= +github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I= +github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= +github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0= +github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg= +github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg= +github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc= +github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= +github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc= +github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo= +github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I= +github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= +github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= +github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d h1:3PaI8p3seN09VjbTYC/QWlUZdZ1qS1zGjy7LH2Wt07I= +github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e h1:1r7pUrabqp18hOBcwBwiTsbnFeTZHV9eER/QT5JVZxY= +github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/protobuf v0.0.0-20161109072736-4bd1920723d7/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.5 h1:F768QJ1E9tib+q5Sc8MkdJi1RxLTbRcTf8LJV56aRls= +github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= +github.com/golang/snappy v0.0.1 h1:Qgr9rKW7uDUkrbSmQeiDsGa8SjGyCOGtuasMWwvp2P4= +github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/gofuzz v1.0.0 h1:A8PeW59pxE9IoFRqBp37U+mSNaQoZ46F1f0f863XSXw= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY= +github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= +github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= +github.com/googleapis/gnostic v0.4.0 h1:BXDUo8p/DaxC+4FJY/SSx3gvnx9C1VdHNgaUkiEL5mk= +github.com/googleapis/gnostic v0.4.0/go.mod h1:on+2t9HRStVgn95RSsFWFz+6Q0Snyqv1awfrALZdbtU= +github.com/gophercloud/gophercloud v0.1.0/go.mod h1:vxM41WHh5uqHVBMZHzuwNOHh8XEoIEcSTewFxm1c5g8= +github.com/gorilla/mux v1.7.4 h1:VuZ8uybHlWmqV03+zRzdwKL4tUnIp1MAQtp1mIFE1bc= +github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= +github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= +github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= +github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= +github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= +github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= +github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= +github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= +github.com/imdario/mergo v0.3.9 h1:UauaLniWCFHWd+Jp9oCEkTBj8VO/9DKg3PV3VCNMDIg= +github.com/imdario/mergo v0.3.9/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= +github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= +github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.9 h1:9yzud/Ht36ygwatGx56VwCZtlI/2AD15T1X2sjSuGns= +github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= +github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/konsorten/go-windows-terminal-sequences v1.0.2 h1:DB17ag19krx9CFsz4o3enTrPXyIXCl+2iCXH/aMAp9s= +github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= +github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.7.0/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs= +github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= +github.com/mattn/go-colorable v0.1.6 h1:6Su7aK7lXmJ/U79bYtBjLNaha4Fs1Rg9plHpcH+vvnE= +github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= +github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= +github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= +github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.1 h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI= +github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= +github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= +github.com/nsqio/go-nsq v1.0.8 h1:3L2F8tNLlwXXlp2slDUrUWSBn2O3nMh8R1/KEDFTHPk= +github.com/nsqio/go-nsq v1.0.8/go.mod h1:vKq36oyeVXgsS5Q8YEO7WghqidAVXQlcFxzQbQTuDEY= +github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.10.1 h1:q/mM8GF/n0shIN8SaAZ0V+jnLPzen6WIVZdiwrRlMlo= +github.com/onsi/ginkgo v1.10.1/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= +github.com/onsi/gomega v1.7.0 h1:XPnZz8VVBHjVsy1vzJmRwIcSwiUO+JFfrv/xGiigmME= +github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= +github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/remyoudompheng/bigfft v0.0.0-20170806203942-52369c62f446/go.mod h1:uYEyJGbgTkfkS4+E/PavXkNJcbFIpEtjt2B0KDQ5+9M= +github.com/robfig/cron v1.2.0 h1:ZjScXvvxeQ63Dbyxy76Fj3AT3Ut0aKsyd2/tl3DTMuQ= +github.com/robfig/cron v1.2.0/go.mod h1:JGuDeoQd7Z6yL4zQhZ3OPEVHB7fL6Ka6skscFHfmt2k= +github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs= +github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro= +github.com/russross/blackfriday v1.5.2 h1:HyvC0ARfnZBqnXwABFeSZHpKvJHJJfPz81GNueLj0oo= +github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= +github.com/sirupsen/logrus v1.5.0 h1:1N5EYkVAPEywqZRJd7cwnRtCb6xJx7NH3T3WUTF980Q= +github.com/sirupsen/logrus v1.5.0/go.mod h1:+F7Ogzej0PZc/94MaYx/nvG9jOFMD2osvC3s+Squfpo= +github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= +github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= +github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/spf13/cobra v0.0.5 h1:f0B+LkLX6DtmRH1isoNA9VTtNUK9K8xYd28JNNfOv/s= +github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= +github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= +github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= +github.com/xdg/stringprep v1.0.0 h1:d9X0esnoa3dFsV0FG35rAT0RIhYFlPq7MiP+DW89La0= +github.com/xdg/stringprep v1.0.0/go.mod h1:Jhud4/sHMO4oL310DaZAKk9ZaJ08SJfe+sJh0HrGL1Y= +github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= +go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= +golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200220183623-bac4c82f6975/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59 h1:3zb4D3T4G8jdExgVU/95+vQXfpEPiMdCaZgmGVxjNHM= +golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190312203227-4b39c73a6495/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= +golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= +golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191004110552-13f9640d40b9/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e h1:3G+cUijn7XD+S4eJFddp53Pv7+slrESplyjG25HgL+k= +golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d h1:TzXSXBo42m9gQenoE3b9BGiEpg5IG2JkU5FkPIawgtw= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a h1:WXEvlFVvvGxCJLG6REjsT03iWnKLEWinaScsxF2Vm2o= +golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20170830134202-bb24a47a89ea/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190209173611-3b5209105503/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200331124033-c3d80250170d h1:nc5K6ox/4lTFbMVSL9WRR81ixkcwXThoiF6yf+R9scA= +golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20191024005414-555d28b269f0 h1:/5xXl8Y5W96D+TtHSlonuFqGHIWVuyCkGJLwGh9JJFs= +golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190920225731-5eefd052ad72/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +gonum.org/v1/gonum v0.0.0-20190331200053-3d26580ed485/go.mod h1:2ltnJ7xHfj0zHS40VVPYEAAMTa3ZGguvHGBSJeRWqE0= +gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= +gonum.org/v1/netlib v0.0.0-20190331212654-76723241ea4e/go.mod h1:kS+toOQn6AQKjmKJ7gzohV1XkqsFehRA2FbsbkopSuQ= +google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.6.5 h1:tycE03LOZYQNhDpS27tcQdAzLCVMaj7QT2SXxebnpCM= +google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= +gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= +gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= +gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= +gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +k8s.io/api v0.17.7 h1:mvPe3zP7J8d5iRnsv3B/ddkvR+o+uoQluSAIFn7ySYo= +k8s.io/api v0.17.7/go.mod h1:xL40O2BS4IEyvZVKVh6oaN4K5R5ndH8t42Rr7XL+C0k= +k8s.io/apimachinery v0.17.7 h1:1V+pxavZW+aYnjKzFi1yqvpdlDi396tnH6H7jkDgA20= +k8s.io/apimachinery v0.17.7/go.mod h1:Lg8zZ5iC/O8UjCqW6DNhcQG2m4TdjF9kwG3891OWbbA= +k8s.io/client-go v0.17.7 h1:FjZwwd3WpTa1C1ZNTLg80g5cEhxHcxAvA1zQ5i8BhjE= +k8s.io/client-go v0.17.7/go.mod h1:hfACB9JP8K4uxFeIUDlmF8OLDbIZ4chzZzNIiN6h9lA= +k8s.io/code-generator v0.17.7/go.mod h1:iiHz51+oTx+Z9D0vB3CH3O4HDDPWrvZyUgUYaIE9h9M= +k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= +k8s.io/gengo v0.0.0-20190822140433-26a664648505/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= +k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= +k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= +k8s.io/klog v1.0.0 h1:Pt+yjF5aB1xDSVbau4VsWe+dQNzA0qv1LlXdC2dF6Q8= +k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I= +k8s.io/kube-openapi v0.0.0-20200410145947-bcb3869e6f29 h1:NeQXVJ2XFSkRoPzRo8AId01ZER+j8oV4SZADT4iBOXQ= +k8s.io/kube-openapi v0.0.0-20200410145947-bcb3869e6f29/go.mod h1:F+5wygcW0wmRTnM3cOgIqGivxkwSWIWT5YdsDbeAOaU= +k8s.io/sample-controller v0.17.7 h1:NICAwBHSxC6rJ9ACFqn85C9VEhOb1Z1z847oX6mulPg= +k8s.io/sample-controller v0.17.7/go.mod h1:KLXZCzsb6bzFj0K/ADn1Nepmmbd4oVbAWTkw29tnBy0= +k8s.io/utils v0.0.0-20191114184206-e782cd3c129f/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew= +k8s.io/utils v0.0.0-20200327001022-6496210b90e8 h1:6JFbaLjRyBz8K2Jvt+pcT+N3vvwMZfg8MfVENwe9aag= +k8s.io/utils v0.0.0-20200327001022-6496210b90e8/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew= +modernc.org/cc v1.0.0/go.mod h1:1Sk4//wdnYJiUIxnW8ddKpaOJCF37yAdqYnkxUpaYxw= +modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk= +modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k= +modernc.org/strutil v1.0.0/go.mod h1:lstksw84oURvj9y3tn8lGvRxyRC1S2+g5uuIzNfIOBs= +modernc.org/xc v1.0.0/go.mod h1:mRNCo0bvLjGhHO9WsyuKVU4q0ceiDDDoEeWDJHrNx8I= +sigs.k8s.io/structured-merge-diff/v2 v2.0.1/go.mod h1:Wb7vfKAodbKgf6tn1Kl0VvGj7mRH6DGaRcixXEJXTsE= +sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= +sigs.k8s.io/yaml v1.2.0 h1:kr/MCeFWJWTwyaHoR9c8EjH9OumOmoF9YGiZd7lFm/Q= +sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= From 441f03811a7a7123bb1fafae96c74dcabaeb917e Mon Sep 17 00:00:00 2001 From: unknown <3126965574@qq.com> Date: Mon, 22 Jun 2020 17:42:32 +0800 Subject: [PATCH 2/2] modify mods --- Gopkg.lock | 1046 ----------------- Gopkg.toml | 74 -- apiserver.go | 8 +- bin/get-deps.sh | 7 - deploy/upgrade-pgo.sh | 5 +- docs/content/contributing/developer-setup.md | 4 - .../apiserver/backrestservice/backrestimpl.go | 16 +- .../backrestservice/backrestservice.go | 6 +- .../backupoptions/backupoptionsutil.go | 2 +- internal/apiserver/catservice/catimpl.go | 10 +- internal/apiserver/catservice/catservice.go | 4 +- internal/apiserver/cloneservice/cloneimpl.go | 12 +- .../apiserver/cloneservice/cloneservice.go | 4 +- .../apiserver/clusterservice/clusterimpl.go | 12 +- .../clusterservice/clusterservice.go | 4 +- .../apiserver/clusterservice/scaleimpl.go | 12 +- .../apiserver/clusterservice/scaleservice.go | 6 +- internal/apiserver/common.go | 6 +- .../apiserver/configservice/configimpl.go | 4 +- .../apiserver/configservice/configservice.go | 4 +- internal/apiserver/dfservice/dfimpl.go | 10 +- internal/apiserver/dfservice/dfservice.go | 4 +- .../apiserver/failoverservice/failoverimpl.go | 12 +- .../failoverservice/failoverservice.go | 4 +- internal/apiserver/labelservice/labelimpl.go | 12 +- .../apiserver/labelservice/labelservice.go | 4 +- internal/apiserver/loadservice/loadimpl.go | 16 +- internal/apiserver/loadservice/loadservice.go | 4 +- .../namespaceservice/namespaceimpl.go | 8 +- .../namespaceservice/namespaceservice.go | 6 +- .../apiserver/pgadminservice/pgadminimpl.go | 12 +- .../pgadminservice/pgadminservice.go | 4 +- .../pgbouncerservice/pgbouncerimpl.go | 14 +- .../pgbouncerservice/pgbouncerservice.go | 4 +- .../apiserver/pgdumpservice/pgdumpimpl.go | 12 +- .../apiserver/pgdumpservice/pgdumpservice.go | 6 +- .../apiserver/pgoroleservice/pgoroleimpl.go | 12 +- .../pgoroleservice/pgoroleservice.go | 4 +- .../apiserver/pgouserservice/pgouserimpl.go | 12 +- .../pgouserservice/pgouserservice.go | 4 +- .../apiserver/policyservice/policyimpl.go | 16 +- .../apiserver/policyservice/policyservice.go | 4 +- internal/apiserver/pvcservice/pvcimpl.go | 8 +- internal/apiserver/pvcservice/pvcservice.go | 4 +- .../apiserver/reloadservice/reloadimpl.go | 10 +- .../apiserver/reloadservice/reloadservice.go | 4 +- .../apiserver/restartservice/restartimpl.go | 10 +- .../restartservice/restartservice.go | 4 +- internal/apiserver/root.go | 10 +- internal/apiserver/routing/routes.go | 50 +- .../apiserver/scheduleservice/scheduleimpl.go | 14 +- .../scheduleservice/scheduleservice.go | 4 +- .../apiserver/statusservice/statusimpl.go | 10 +- .../apiserver/statusservice/statusservice.go | 4 +- .../apiserver/upgradeservice/upgradeimpl.go | 10 +- .../upgradeservice/upgradeservice.go | 4 +- internal/apiserver/userservice/userimpl.go | 16 +- .../apiserver/userservice/userimpl_test.go | 2 +- internal/apiserver/userservice/userservice.go | 4 +- .../apiserver/versionservice/versionimpl.go | 2 +- .../versionservice/versionservice.go | 2 +- .../apiserver/workflowservice/workflowimpl.go | 10 +- .../workflowservice/workflowservice.go | 4 +- internal/config/pgoconfig.go | 4 +- .../configmap/configmapcontroller.go | 6 +- internal/controller/configmap/synchandler.go | 6 +- internal/controller/controllerutil.go | 6 +- internal/controller/job/backresthandler.go | 16 +- internal/controller/job/jobcontroller.go | 2 +- internal/controller/job/jobevents.go | 2 +- internal/controller/job/pgdumphandler.go | 6 +- internal/controller/job/reposynchandler.go | 12 +- internal/controller/job/rmdatahandler.go | 6 +- .../controller/manager/controllermanager.go | 26 +- .../namespace/namespacecontroller.go | 2 +- .../pgcluster/pgclustercontroller.go | 14 +- .../controller/pgpolicy/pgpolicycontroller.go | 10 +- .../pgreplica/pgreplicacontroller.go | 10 +- .../controller/pgtask/pgtaskcontroller.go | 16 +- internal/controller/pod/inithandler.go | 20 +- internal/controller/pod/podcontroller.go | 8 +- internal/controller/pod/podevents.go | 6 +- internal/controller/pod/promotionhandler.go | 12 +- internal/kubeapi/client_config.go | 2 +- internal/kubeapi/pgcluster.go | 2 +- internal/kubeapi/pgpolicy.go | 2 +- internal/kubeapi/pgreplica.go | 2 +- internal/kubeapi/pgtask.go | 2 +- internal/logging/loglib.go | 2 +- internal/ns/nslogic.go | 6 +- internal/operator/backrest/backup.go | 12 +- internal/operator/backrest/repo.go | 12 +- internal/operator/backrest/restore.go | 14 +- internal/operator/backrest/stanza.go | 10 +- internal/operator/cluster/clone.go | 18 +- internal/operator/cluster/cluster.go | 14 +- internal/operator/cluster/clusterlogic.go | 14 +- internal/operator/cluster/failover.go | 8 +- internal/operator/cluster/failoverlogic.go | 10 +- internal/operator/cluster/pgadmin.go | 16 +- internal/operator/cluster/pgbouncer.go | 14 +- internal/operator/cluster/pgbouncer_test.go | 2 +- internal/operator/cluster/rmdata.go | 10 +- internal/operator/cluster/service.go | 6 +- internal/operator/cluster/standby.go | 16 +- internal/operator/cluster/upgrade.go | 12 +- internal/operator/clusterutilities.go | 8 +- internal/operator/clusterutilities_test.go | 2 +- internal/operator/common.go | 6 +- internal/operator/config/configutil.go | 2 +- internal/operator/config/dcs.go | 4 +- internal/operator/config/localdb.go | 6 +- .../operator/operatorupgrade/version-check.go | 8 +- internal/operator/pgdump/dump.go | 12 +- internal/operator/pgdump/restore.go | 12 +- internal/operator/pvc/pvc.go | 8 +- internal/operator/task/applypolicies.go | 6 +- internal/operator/task/rmbackups.go | 6 +- internal/operator/task/rmdata.go | 12 +- internal/operator/task/workflow.go | 4 +- internal/operator/wal.go | 2 +- internal/patroni/patroni.go | 4 +- internal/pgadmin/logic.go | 6 +- internal/pgadmin/runner.go | 2 +- internal/util/backrest.go | 2 +- internal/util/clone.go | 4 +- internal/util/cluster.go | 6 +- internal/util/failover.go | 4 +- internal/util/pgbouncer.go | 2 +- internal/util/policy.go | 6 +- internal/util/secrets.go | 6 +- internal/util/util.go | 6 +- pgo-backrest/pgo-backrest.go | 4 +- pgo-rmdata/pgo-rmdata.go | 6 +- pgo-rmdata/rmdata/process.go | 8 +- pgo-scheduler/pgo-scheduler.go | 16 +- pgo-scheduler/scheduler/controllermanager.go | 6 +- pgo-scheduler/scheduler/pgbackrest.go | 6 +- pgo-scheduler/scheduler/policy.go | 12 +- pgo-scheduler/scheduler/scheduler.go | 4 +- pgo-scheduler/scheduler/tasks.go | 4 +- pgo-scheduler/scheduler/types.go | 2 +- pgo/api/backrest.go | 2 +- pgo/api/cat.go | 2 +- pgo/api/clone.go | 2 +- pgo/api/cluster.go | 2 +- pgo/api/config.go | 2 +- pgo/api/df.go | 2 +- pgo/api/failover.go | 2 +- pgo/api/label.go | 2 +- pgo/api/load.go | 2 +- pgo/api/namespace.go | 2 +- pgo/api/pgadmin.go | 2 +- pgo/api/pgbouncer.go | 2 +- pgo/api/pgdump.go | 2 +- pgo/api/pgorole.go | 2 +- pgo/api/pgouser.go | 2 +- pgo/api/policy.go | 2 +- pgo/api/pvc.go | 2 +- pgo/api/reload.go | 2 +- pgo/api/restart.go | 2 +- pgo/api/restore.go | 2 +- pgo/api/restoreDump.go | 2 +- pgo/api/scale.go | 2 +- pgo/api/scaledown.go | 4 +- pgo/api/schedule.go | 2 +- pgo/api/status.go | 2 +- pgo/api/test.go | 2 +- pgo/api/upgrade.go | 2 +- pgo/api/user.go | 2 +- pgo/api/version.go | 2 +- pgo/api/workflow.go | 2 +- pgo/cmd/auth.go | 4 +- pgo/cmd/backrest.go | 4 +- pgo/cmd/backup.go | 2 +- pgo/cmd/cat.go | 4 +- pgo/cmd/clone.go | 4 +- pgo/cmd/cluster.go | 6 +- pgo/cmd/config.go | 4 +- pgo/cmd/delete.go | 2 +- pgo/cmd/df.go | 6 +- pgo/cmd/failover.go | 6 +- pgo/cmd/label.go | 4 +- pgo/cmd/load.go | 4 +- pgo/cmd/namespace.go | 6 +- pgo/cmd/pgadmin.go | 6 +- pgo/cmd/pgbouncer.go | 6 +- pgo/cmd/pgdump.go | 4 +- pgo/cmd/pgorole.go | 4 +- pgo/cmd/pgouser.go | 4 +- pgo/cmd/policy.go | 4 +- pgo/cmd/pvc.go | 4 +- pgo/cmd/reload.go | 6 +- pgo/cmd/restart.go | 6 +- pgo/cmd/restore.go | 10 +- pgo/cmd/scale.go | 6 +- pgo/cmd/scaledown.go | 6 +- pgo/cmd/schedule.go | 6 +- pgo/cmd/show.go | 2 +- pgo/cmd/status.go | 6 +- pgo/cmd/test.go | 4 +- pgo/cmd/update.go | 2 +- pgo/cmd/upgrade.go | 6 +- pgo/cmd/user.go | 8 +- pgo/cmd/version.go | 4 +- pgo/cmd/workflow.go | 6 +- pgo/generatedocs.go | 2 +- pgo/pgo.go | 2 +- pkg/apiservermsgs/clustermsgs.go | 2 +- pkg/apiservermsgs/configmsgs.go | 2 +- pkg/apiservermsgs/pgdumpmsgs.go | 2 +- pkg/apiservermsgs/policymsgs.go | 2 +- pkg/apiservermsgs/usermsgs.go | 2 +- pkg/apiservermsgs/usermsgs_test.go | 2 +- pkg/events/eventing.go | 2 +- .../clientset/versioned/clientset.go | 2 +- .../versioned/fake/clientset_generated.go | 6 +- .../clientset/versioned/fake/register.go | 2 +- .../clientset/versioned/scheme/register.go | 2 +- .../v1/crunchydata.com_client.go | 4 +- .../v1/fake/fake_crunchydata.com_client.go | 2 +- .../crunchydata.com/v1/fake/fake_pgcluster.go | 2 +- .../crunchydata.com/v1/fake/fake_pgpolicy.go | 2 +- .../crunchydata.com/v1/fake/fake_pgreplica.go | 2 +- .../crunchydata.com/v1/fake/fake_pgtask.go | 2 +- .../typed/crunchydata.com/v1/pgcluster.go | 4 +- .../typed/crunchydata.com/v1/pgpolicy.go | 4 +- .../typed/crunchydata.com/v1/pgreplica.go | 4 +- .../typed/crunchydata.com/v1/pgtask.go | 4 +- .../crunchydata.com/interface.go | 4 +- .../crunchydata.com/v1/interface.go | 2 +- .../crunchydata.com/v1/pgcluster.go | 8 +- .../crunchydata.com/v1/pgpolicy.go | 8 +- .../crunchydata.com/v1/pgreplica.go | 8 +- .../crunchydata.com/v1/pgtask.go | 8 +- .../informers/externalversions/factory.go | 6 +- .../informers/externalversions/generic.go | 2 +- .../internalinterfaces/factory_interfaces.go | 2 +- .../listers/crunchydata.com/v1/pgcluster.go | 2 +- .../listers/crunchydata.com/v1/pgpolicy.go | 2 +- .../listers/crunchydata.com/v1/pgreplica.go | 2 +- .../listers/crunchydata.com/v1/pgtask.go | 2 +- postgres-operator.go | 22 +- testing/pgo_cli/cluster_backup_test.go | 2 +- testing/pgo_cli/suite_helpers_test.go | 2 +- testing/pgo_cli/suite_test.go | 2 +- 246 files changed, 732 insertions(+), 1866 deletions(-) delete mode 100644 Gopkg.lock delete mode 100644 Gopkg.toml diff --git a/Gopkg.lock b/Gopkg.lock deleted file mode 100644 index 41758392f4..0000000000 --- a/Gopkg.lock +++ /dev/null @@ -1,1046 +0,0 @@ -# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. - - -[[projects]] - digest = "1:805922a698719105a020d35c21420478beab6505764348ab994cb443cdc1ac4b" - name = "cloud.google.com/go" - packages = ["compute/metadata"] - pruneopts = "UT" - revision = "69e77e66e59741e053c986d469791a983ee1d6a5" - version = "v0.56.0" - -[[projects]] - digest = "1:a2682518d905d662d984ef9959984ef87cecb777d379bfa9d9fe40e78069b3e4" - name = "github.com/PuerkitoBio/purell" - packages = ["."] - pruneopts = "UT" - revision = "44968752391892e1b0d0b821ee79e9a85fa13049" - version = "v1.1.1" - -[[projects]] - branch = "master" - digest = "1:c739832d67eb1e9cc478a19cc1a1ccd78df0397bf8a32978b759152e205f644b" - name = "github.com/PuerkitoBio/urlesc" - packages = ["."] - pruneopts = "UT" - revision = "de5bf2ad457846296e2031421a34e2568e304e35" - -[[projects]] - digest = "1:7cb4fdca4c251b3ef8027c90ea35f70c7b661a593b9eeae34753c65499098bb1" - name = "github.com/cpuguy83/go-md2man" - packages = ["md2man"] - pruneopts = "UT" - revision = "7762f7e404f8416dfa1d9bb6a8c192aa9acb4d19" - version = "v1.0.10" - -[[projects]] - digest = "1:ffe9824d294da03b391f44e1ae8281281b4afc1bdaa9588c9097785e3af10cec" - name = "github.com/davecgh/go-spew" - packages = ["spew"] - pruneopts = "UT" - revision = "8991bc29aa16c548c550c7ff78260e27b9ab7c73" - version = "v1.1.1" - -[[projects]] - branch = "master" - digest = "1:ecdc8e0fe3bc7d549af1c9c36acf3820523b707d6c071b6d0c3860882c6f7b42" - name = "github.com/docker/spdystream" - packages = [ - ".", - "spdy", - ] - pruneopts = "UT" - revision = "6480d4af844c189cf5dd913db24ddd339d3a4f85" - -[[projects]] - digest = "1:8bf756db54ad444d058320222daf307b2ce712b98a80af9a1c67285c9036b299" - name = "github.com/emicklei/go-restful" - packages = [ - ".", - "log", - ] - pruneopts = "UT" - revision = "7c2556bbbff7dc38dc0673ce61902903671c0b55" - version = "v2.12.0" - -[[projects]] - digest = "1:55672a73a23bb7e4f59691db22eb3939e748d410320fd63d3bfc328c0037ef70" - name = "github.com/evanphx/json-patch" - packages = ["."] - pruneopts = "UT" - revision = "63b09d42374be6de7cff01f036f467438066a6eb" - version = "v4.7.0" - -[[projects]] - digest = "1:bde2a1ce1de28312f165a88926c12f4acd19dc4d7da96a445dfa5a29eae07a93" - name = "github.com/fatih/color" - packages = ["."] - pruneopts = "UT" - revision = "daf2830f2741ebb735b21709a520c5f37d642d85" - version = "v1.9.0" - -[[projects]] - digest = "1:ed15647db08b6d63666bf9755d337725960c302bbfa5e23754b4b915a4797e42" - name = "github.com/go-openapi/jsonpointer" - packages = ["."] - pruneopts = "UT" - revision = "ed123515f087412cd7ef02e49b0b0a5e6a79a360" - version = "v0.19.3" - -[[projects]] - digest = "1:451fe53c19443c6941be5d4295edc973a3eb16baccb940efee94284024be03b0" - name = "github.com/go-openapi/jsonreference" - packages = ["."] - pruneopts = "UT" - revision = "82f31475a8f7a12bc26962f6e26ceade8ea6f66a" - version = "v0.19.3" - -[[projects]] - digest = "1:9e6992ea4c7005c711e3460e90d20e0c40cce6743bbdc65d12e8fe45e5b6beaf" - name = "github.com/go-openapi/spec" - packages = ["."] - pruneopts = "UT" - revision = "1297e9a4ddf9325269fe013d7c1300aac3985f92" - version = "v0.19.7" - -[[projects]] - digest = "1:8b59d79dc97889c333cdad6fcbd9c47d4d9abc19a5ec0683bfa40e5a36d1b1b7" - name = "github.com/go-openapi/swag" - packages = ["."] - pruneopts = "UT" - revision = "59a9232e9392613952a0a4c90523c40c99140043" - version = "v0.19.8" - -[[projects]] - digest = "1:582e25eccee928dc12416ea4c23b6dae8f3b5687730632aa1473ebebe80a2359" - name = "github.com/gogo/protobuf" - packages = [ - "proto", - "sortkeys", - ] - pruneopts = "UT" - revision = "5628607bb4c51c3157aacc3a50f0ab707582b805" - version = "v1.3.1" - -[[projects]] - digest = "1:ecd73c8c5c5e48f9079e042ae733c3f3ab021218d6c4da3411d82727fd5a412a" - name = "github.com/golang/protobuf" - packages = [ - "proto", - "ptypes", - "ptypes/any", - "ptypes/duration", - "ptypes/timestamp", - ] - pruneopts = "UT" - revision = "84668698ea25b64748563aa20726db66a6b8d299" - version = "v1.3.5" - -[[projects]] - digest = "1:e4f5819333ac698d294fe04dbf640f84719658d5c7ce195b10060cc37292ce79" - name = "github.com/golang/snappy" - packages = ["."] - pruneopts = "UT" - revision = "2a8bb927dd31d8daada140a5d09578521ce5c36a" - version = "v0.0.1" - -[[projects]] - digest = "1:0aeda02073125667ac6c9df50c7921cb22c08a4accdc54589c697a7e76be65c2" - name = "github.com/google/go-cmp" - packages = [ - "cmp", - "cmp/internal/diff", - "cmp/internal/flags", - "cmp/internal/function", - "cmp/internal/value", - ] - pruneopts = "UT" - revision = "5a6f75716e1203a923a78c9efb94089d857df0f6" - version = "v0.4.0" - -[[projects]] - digest = "1:a840b166971a2e76fcc4fbafaa181ea109b92d461e7f9b608a49b70be2765bac" - name = "github.com/google/gofuzz" - packages = ["."] - pruneopts = "UT" - revision = "db92cf7ae75e4a7a28abc005addab2b394362888" - version = "v1.1.0" - -[[projects]] - digest = "1:e35285db21b7d730a52b891a959783e567ca516ea64f2748070f1f917fbccd82" - name = "github.com/googleapis/gnostic" - packages = [ - "OpenAPIv2", - "compiler", - "extensions", - ] - pruneopts = "UT" - revision = "99384834bf8c58ce7ab88db353283bedcb53e1ca" - version = "v0.4.0" - -[[projects]] - digest = "1:25ebe6496abb289ef977c081b2d49f56dd97c32db4ca083d37f95923909ced02" - name = "github.com/gorilla/mux" - packages = ["."] - pruneopts = "UT" - revision = "75dcda0896e109a2a22c9315bca3bb21b87b2ba5" - version = "v1.7.4" - -[[projects]] - digest = "1:e631368e174090a276fc00b48283f92ac4ccfbbb1945bcfcee083f5f9210dc00" - name = "github.com/hashicorp/golang-lru" - packages = [ - ".", - "simplelru", - ] - pruneopts = "UT" - revision = "14eae340515388ca95aa8e7b86f0de668e981f54" - version = "v0.5.4" - -[[projects]] - digest = "1:1a7059d684f8972987e4b6f0703083f207d63f63da0ea19610ef2e6bb73db059" - name = "github.com/imdario/mergo" - packages = ["."] - pruneopts = "UT" - revision = "66f88b4ae75f5edcc556623b96ff32c06360fbb7" - version = "v0.3.9" - -[[projects]] - digest = "1:870d441fe217b8e689d7949fef6e43efbc787e50f200cb1e70dbca9204a1d6be" - name = "github.com/inconshreveable/mousetrap" - packages = ["."] - pruneopts = "UT" - revision = "76626ae9c91c4f2a10f34cad8ce83ea42c93bb75" - version = "v1.0" - -[[projects]] - digest = "1:7cd2924a44ecf80a319cfa2378529fabd348d011b739fb4eccc565f65e3296c4" - name = "github.com/json-iterator/go" - packages = ["."] - pruneopts = "UT" - revision = "acfec88f7a0d5140ace3dcdbee10184e3684a9e1" - version = "v1.1.9" - -[[projects]] - digest = "1:31e761d97c76151dde79e9d28964a812c46efc5baee4085b86f68f0c654450de" - name = "github.com/konsorten/go-windows-terminal-sequences" - packages = ["."] - pruneopts = "UT" - revision = "f55edac94c9bbba5d6182a4be46d86a2c9b5b50e" - version = "v1.0.2" - -[[projects]] - digest = "1:e1fc4a624e8497252148125a50cec64b416d69ef69afc2244498e0c9b73060d5" - name = "github.com/kubernetes/sample-controller" - packages = ["pkg/signals"] - pruneopts = "UT" - revision = "992aa503db6c707ce558a18ed155390e181f7edc" - version = "v0.18.0" - -[[projects]] - digest = "1:7bbccd3dd7998f2a180264ec1d12e362ed8e02f55ea7b82ac0d0f48ffa2d8888" - name = "github.com/mailru/easyjson" - packages = [ - "buffer", - "jlexer", - "jwriter", - ] - pruneopts = "UT" - revision = "8edcc4e51f39ddbd3505a3386aff3f435a7fd028" - version = "v0.7.1" - -[[projects]] - digest = "1:0109cf4321a15313ec895f42e723e1f76121c6975ea006abfa20012272ec0937" - name = "github.com/mattn/go-colorable" - packages = ["."] - pruneopts = "UT" - revision = "68e95eba382c972aafde02ead2cd2426a8a92480" - version = "v0.1.6" - -[[projects]] - digest = "1:0c58d31abe2a2ccb429c559b6292e7df89dcda675456fecc282fa90aa08273eb" - name = "github.com/mattn/go-isatty" - packages = ["."] - pruneopts = "UT" - revision = "7b513a986450394f7bbf1476909911b3aa3a55ce" - version = "v0.0.12" - -[[projects]] - digest = "1:33422d238f147d247752996a26574ac48dcf472976eda7f5134015f06bf16563" - name = "github.com/modern-go/concurrent" - packages = ["."] - pruneopts = "UT" - revision = "bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94" - version = "1.0.3" - -[[projects]] - digest = "1:e32bdbdb7c377a07a9a46378290059822efdce5c8d96fe71940d87cb4f918855" - name = "github.com/modern-go/reflect2" - packages = ["."] - pruneopts = "UT" - revision = "4b7aa43c6742a2c18fdef89dd197aaae7dac7ccd" - version = "1.0.1" - -[[projects]] - digest = "1:a20520c30001f1d49ca07e26eafe5d8612ce5d7dac5abbdab754e14bb83c1b4e" - name = "github.com/nsqio/go-nsq" - packages = ["."] - pruneopts = "UT" - revision = "d7acddb4babdf3329ad415cc02b605a239011b4b" - version = "v1.0.8" - -[[projects]] - digest = "1:9e1d37b58d17113ec3cb5608ac0382313c5b59470b94ed97d0976e69c7022314" - name = "github.com/pkg/errors" - packages = ["."] - pruneopts = "UT" - revision = "614d223910a179a466c1767a985424175c39b465" - version = "v0.9.1" - -[[projects]] - digest = "1:32db15a47b5be06a5d40e863ab0ebed107741845fd2d8676121f788284d26923" - name = "github.com/robfig/cron" - packages = ["."] - pruneopts = "UT" - revision = "ccba498c397bb90a9c84945bbb0f7af2d72b6309" - version = "v3.0.1" - -[[projects]] - digest = "1:b36a0ede02c4c2aef7df7f91cbbb7bb88a98b5d253509d4f997dda526e50c88c" - name = "github.com/russross/blackfriday" - packages = ["."] - pruneopts = "UT" - revision = "05f3235734ad95d0016f6a23902f06461fcf567a" - version = "v1.5.2" - -[[projects]] - digest = "1:0599141a8403114d34f1e546604ad6c5361b70dfa80e80c635f438cdbf71b43a" - name = "github.com/sirupsen/logrus" - packages = ["."] - pruneopts = "UT" - revision = "d417be0fe654de640a82370515129985b407c7e3" - version = "v1.5.0" - -[[projects]] - digest = "1:abe9f3f23399646a6263682cacc9e86969f6c7e768f0ef036449926aa24cbbef" - name = "github.com/spf13/cobra" - packages = [ - ".", - "doc", - ] - pruneopts = "UT" - revision = "f2b07da1e2c38d5f12845a4f607e2e1018cbb1f5" - version = "v0.0.5" - -[[projects]] - digest = "1:524b71991fc7d9246cc7dc2d9e0886ccb97648091c63e30eef619e6862c955dd" - name = "github.com/spf13/pflag" - packages = ["."] - pruneopts = "UT" - revision = "2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab" - version = "v1.0.5" - -[[projects]] - digest = "1:577b99fc55ee19cbf1ffd072808c91ced78cd732bd9d0517bec9b90e532069cb" - name = "github.com/xdg/stringprep" - packages = ["."] - pruneopts = "UT" - revision = "bd625b8dc1e3b0f57412280ccbcc317f0c69d8db" - version = "v1.0.0" - -[[projects]] - branch = "master" - digest = "1:17da86687c09ab43a342bf91c2b2e5feba1dda6b7cce9626d64201fbf0113264" - name = "golang.org/x/crypto" - packages = [ - "blowfish", - "chacha20", - "curve25519", - "ed25519", - "ed25519/internal/edwards25519", - "internal/subtle", - "pbkdf2", - "poly1305", - "ssh", - "ssh/internal/bcrypt_pbkdf", - "ssh/terminal", - ] - pruneopts = "UT" - revision = "0ec3e9974c59449edd84298612e9f16fa13368e8" - -[[projects]] - digest = "1:467bb8fb8fa786448b8d486cd0bb7c1a5577dcd7310441aa02a20110cd9f727d" - name = "golang.org/x/mod" - packages = [ - "module", - "semver", - ] - pruneopts = "UT" - revision = "ed3ec21bb8e252814c380df79a80f366440ddb2d" - version = "v0.2.0" - -[[projects]] - branch = "master" - digest = "1:1d07884b4c6e30ca158be7bb0190ebf35b9650f39b02848e66de3b40b46e7680" - name = "golang.org/x/net" - packages = [ - "context", - "context/ctxhttp", - "http/httpguts", - "http2", - "http2/hpack", - "idna", - ] - pruneopts = "UT" - revision = "d3edc9973b7eb1fb302b0ff2c62357091cea9a30" - -[[projects]] - branch = "master" - digest = "1:79edde3241bb55de9f4143d5083bfcff722e550c3cb8db94084eab50d0e440b5" - name = "golang.org/x/oauth2" - packages = [ - ".", - "google", - "internal", - "jws", - "jwt", - ] - pruneopts = "UT" - revision = "bf48bf16ab8d622ce64ec6ce98d2c98f916b6303" - -[[projects]] - branch = "master" - digest = "1:4692f916cb72b2c295f04841036d85a3f13e96d1cc9e8e4c2c30edebac518053" - name = "golang.org/x/sync" - packages = ["semaphore"] - pruneopts = "UT" - revision = "43a5402ce75a95522677f77c619865d66b8c57ab" - -[[projects]] - branch = "master" - digest = "1:3dcef1d66750aa78c2c57361b88e715b70a2486ab2a9f6c70a7cfb5e0712e9c3" - name = "golang.org/x/sys" - packages = [ - "cpu", - "unix", - "windows", - ] - pruneopts = "UT" - revision = "c3d80250170dec19bf61949c81233cede5ddaf61" - -[[projects]] - digest = "1:66a2f252a58b4fbbad0e4e180e1d85a83c222b6bce09c3dcdef3dc87c72eda7c" - name = "golang.org/x/text" - packages = [ - "collate", - "collate/build", - "internal/colltab", - "internal/gen", - "internal/language", - "internal/language/compact", - "internal/tag", - "internal/triegen", - "internal/ucd", - "language", - "secure/bidirule", - "transform", - "unicode/bidi", - "unicode/cldr", - "unicode/norm", - "unicode/rangetable", - "width", - ] - pruneopts = "UT" - revision = "342b2e1fbaa52c93f31447ad2c6abc048c63e475" - version = "v0.3.2" - -[[projects]] - branch = "master" - digest = "1:a2f668c709f9078828e99cb1768cb02e876cb81030545046a32b54b2ac2a9ea8" - name = "golang.org/x/time" - packages = ["rate"] - pruneopts = "UT" - revision = "555d28b269f0569763d25dbe1a237ae74c6bcc82" - -[[projects]] - branch = "master" - digest = "1:f09beeb593a009d70c55af474c713e5fdc13c0843896396db9e063c73fe572e4" - name = "golang.org/x/tools" - packages = [ - "go/ast/astutil", - "imports", - "internal/fastwalk", - "internal/gocommand", - "internal/gopathwalk", - "internal/imports", - ] - pruneopts = "UT" - revision = "69646383afec4980001de1c52d6a3a6f3073ff6a" - -[[projects]] - branch = "master" - digest = "1:918a46e4a2fb83df33f668f5a6bd51b2996775d073fce1800d3ec01b0a5ddd2b" - name = "golang.org/x/xerrors" - packages = [ - ".", - "internal", - ] - pruneopts = "UT" - revision = "9bdfabe68543c54f90421aeb9a60ef8061b5b544" - -[[projects]] - digest = "1:1db6b0636d0815e5cce3118bba811946c88c2c1b72a18021da3763c4181aeb06" - name = "gonum.org/v1/gonum" - packages = [ - "blas", - "blas/blas64", - "blas/cblas128", - "blas/gonum", - "floats", - "graph", - "graph/internal/linear", - "graph/internal/ordered", - "graph/internal/set", - "graph/internal/uid", - "graph/iterator", - "graph/simple", - "graph/topo", - "graph/traverse", - "internal/asm/c128", - "internal/asm/c64", - "internal/asm/f32", - "internal/asm/f64", - "internal/cmplx64", - "internal/math32", - "lapack", - "lapack/gonum", - "lapack/lapack64", - "mat", - ] - pruneopts = "UT" - revision = "960a37950cca5ec8d1efe76ed4eec9dfe3065bd6" - version = "v0.7.0" - -[[projects]] - digest = "1:3c03b58f57452764a4499c55c582346c0ee78c8a5033affe5bdfd9efd3da5bd1" - name = "google.golang.org/appengine" - packages = [ - ".", - "internal", - "internal/app_identity", - "internal/base", - "internal/datastore", - "internal/log", - "internal/modules", - "internal/remote_api", - "internal/urlfetch", - "urlfetch", - ] - pruneopts = "UT" - revision = "971852bfffca25b069c31162ae8f247a3dba083b" - version = "v1.6.5" - -[[projects]] - digest = "1:2d1fbdc6777e5408cabeb02bf336305e724b925ff4546ded0fa8715a7267922a" - name = "gopkg.in/inf.v0" - packages = ["."] - pruneopts = "UT" - revision = "d2d2541c53f18d2a059457998ce2876cc8e67cbf" - version = "v0.9.1" - -[[projects]] - digest = "1:55b110c99c5fdc4f14930747326acce56b52cfce60b24b1c03ef686ac0e46bb1" - name = "gopkg.in/yaml.v2" - packages = ["."] - pruneopts = "UT" - revision = "53403b58ad1b561927d19068c655246f2db79d48" - version = "v2.2.8" - -[[projects]] - digest = "1:cd7322a2669aba7fe506383dc31ece3881fc3e39ccac5334360c50f946a8ade4" - name = "k8s.io/api" - packages = [ - "admissionregistration/v1", - "admissionregistration/v1beta1", - "apps/v1", - "apps/v1beta1", - "apps/v1beta2", - "auditregistration/v1alpha1", - "authentication/v1", - "authentication/v1beta1", - "authorization/v1", - "authorization/v1beta1", - "autoscaling/v1", - "autoscaling/v2beta1", - "autoscaling/v2beta2", - "batch/v1", - "batch/v1beta1", - "batch/v2alpha1", - "certificates/v1beta1", - "coordination/v1", - "coordination/v1beta1", - "core/v1", - "discovery/v1alpha1", - "discovery/v1beta1", - "events/v1beta1", - "extensions/v1beta1", - "flowcontrol/v1alpha1", - "networking/v1", - "networking/v1beta1", - "node/v1alpha1", - "node/v1beta1", - "policy/v1beta1", - "rbac/v1", - "rbac/v1alpha1", - "rbac/v1beta1", - "scheduling/v1", - "scheduling/v1alpha1", - "scheduling/v1beta1", - "settings/v1alpha1", - "storage/v1", - "storage/v1alpha1", - "storage/v1beta1", - ] - pruneopts = "UT" - revision = "d3c87f2f52e31c74a4ccb065b706b688f4e6341d" - version = "v0.17.4" - -[[projects]] - digest = "1:7d4dfaca842f369949abcc68e5796ac218ace6b1960a884716d31f854241a41a" - name = "k8s.io/apimachinery" - packages = [ - "pkg/api/errors", - "pkg/api/meta", - "pkg/api/resource", - "pkg/apis/meta/internalversion", - "pkg/apis/meta/v1", - "pkg/apis/meta/v1/unstructured", - "pkg/apis/meta/v1beta1", - "pkg/conversion", - "pkg/conversion/queryparams", - "pkg/fields", - "pkg/labels", - "pkg/runtime", - "pkg/runtime/schema", - "pkg/runtime/serializer", - "pkg/runtime/serializer/json", - "pkg/runtime/serializer/protobuf", - "pkg/runtime/serializer/recognizer", - "pkg/runtime/serializer/streaming", - "pkg/runtime/serializer/versioning", - "pkg/selection", - "pkg/types", - "pkg/util/cache", - "pkg/util/clock", - "pkg/util/diff", - "pkg/util/errors", - "pkg/util/framer", - "pkg/util/httpstream", - "pkg/util/httpstream/spdy", - "pkg/util/intstr", - "pkg/util/json", - "pkg/util/mergepatch", - "pkg/util/naming", - "pkg/util/net", - "pkg/util/rand", - "pkg/util/remotecommand", - "pkg/util/runtime", - "pkg/util/sets", - "pkg/util/strategicpatch", - "pkg/util/validation", - "pkg/util/validation/field", - "pkg/util/wait", - "pkg/util/yaml", - "pkg/version", - "pkg/watch", - "third_party/forked/golang/json", - "third_party/forked/golang/netutil", - "third_party/forked/golang/reflect", - ] - pruneopts = "UT" - revision = "731dcecc205498f52a21b12e311af095efb4b188" - version = "v0.17.4" - -[[projects]] - digest = "1:001147e1be74745e35dd215ac066fe4c497249a7730ec9cee9faf8222cafbb2a" - name = "k8s.io/client-go" - packages = [ - "discovery", - "discovery/fake", - "informers", - "informers/admissionregistration", - "informers/admissionregistration/v1", - "informers/admissionregistration/v1beta1", - "informers/apps", - "informers/apps/v1", - "informers/apps/v1beta1", - "informers/apps/v1beta2", - "informers/auditregistration", - "informers/auditregistration/v1alpha1", - "informers/autoscaling", - "informers/autoscaling/v1", - "informers/autoscaling/v2beta1", - "informers/autoscaling/v2beta2", - "informers/batch", - "informers/batch/v1", - "informers/batch/v1beta1", - "informers/batch/v2alpha1", - "informers/certificates", - "informers/certificates/v1beta1", - "informers/coordination", - "informers/coordination/v1", - "informers/coordination/v1beta1", - "informers/core", - "informers/core/v1", - "informers/discovery", - "informers/discovery/v1alpha1", - "informers/discovery/v1beta1", - "informers/events", - "informers/events/v1beta1", - "informers/extensions", - "informers/extensions/v1beta1", - "informers/flowcontrol", - "informers/flowcontrol/v1alpha1", - "informers/internalinterfaces", - "informers/networking", - "informers/networking/v1", - "informers/networking/v1beta1", - "informers/node", - "informers/node/v1alpha1", - "informers/node/v1beta1", - "informers/policy", - "informers/policy/v1beta1", - "informers/rbac", - "informers/rbac/v1", - "informers/rbac/v1alpha1", - "informers/rbac/v1beta1", - "informers/scheduling", - "informers/scheduling/v1", - "informers/scheduling/v1alpha1", - "informers/scheduling/v1beta1", - "informers/settings", - "informers/settings/v1alpha1", - "informers/storage", - "informers/storage/v1", - "informers/storage/v1alpha1", - "informers/storage/v1beta1", - "kubernetes", - "kubernetes/fake", - "kubernetes/scheme", - "kubernetes/typed/admissionregistration/v1", - "kubernetes/typed/admissionregistration/v1/fake", - "kubernetes/typed/admissionregistration/v1beta1", - "kubernetes/typed/admissionregistration/v1beta1/fake", - "kubernetes/typed/apps/v1", - "kubernetes/typed/apps/v1/fake", - "kubernetes/typed/apps/v1beta1", - "kubernetes/typed/apps/v1beta1/fake", - "kubernetes/typed/apps/v1beta2", - "kubernetes/typed/apps/v1beta2/fake", - "kubernetes/typed/auditregistration/v1alpha1", - "kubernetes/typed/auditregistration/v1alpha1/fake", - "kubernetes/typed/authentication/v1", - "kubernetes/typed/authentication/v1/fake", - "kubernetes/typed/authentication/v1beta1", - "kubernetes/typed/authentication/v1beta1/fake", - "kubernetes/typed/authorization/v1", - "kubernetes/typed/authorization/v1/fake", - "kubernetes/typed/authorization/v1beta1", - "kubernetes/typed/authorization/v1beta1/fake", - "kubernetes/typed/autoscaling/v1", - "kubernetes/typed/autoscaling/v1/fake", - "kubernetes/typed/autoscaling/v2beta1", - "kubernetes/typed/autoscaling/v2beta1/fake", - "kubernetes/typed/autoscaling/v2beta2", - "kubernetes/typed/autoscaling/v2beta2/fake", - "kubernetes/typed/batch/v1", - "kubernetes/typed/batch/v1/fake", - "kubernetes/typed/batch/v1beta1", - "kubernetes/typed/batch/v1beta1/fake", - "kubernetes/typed/batch/v2alpha1", - "kubernetes/typed/batch/v2alpha1/fake", - "kubernetes/typed/certificates/v1beta1", - "kubernetes/typed/certificates/v1beta1/fake", - "kubernetes/typed/coordination/v1", - "kubernetes/typed/coordination/v1/fake", - "kubernetes/typed/coordination/v1beta1", - "kubernetes/typed/coordination/v1beta1/fake", - "kubernetes/typed/core/v1", - "kubernetes/typed/core/v1/fake", - "kubernetes/typed/discovery/v1alpha1", - "kubernetes/typed/discovery/v1alpha1/fake", - "kubernetes/typed/discovery/v1beta1", - "kubernetes/typed/discovery/v1beta1/fake", - "kubernetes/typed/events/v1beta1", - "kubernetes/typed/events/v1beta1/fake", - "kubernetes/typed/extensions/v1beta1", - "kubernetes/typed/extensions/v1beta1/fake", - "kubernetes/typed/flowcontrol/v1alpha1", - "kubernetes/typed/flowcontrol/v1alpha1/fake", - "kubernetes/typed/networking/v1", - "kubernetes/typed/networking/v1/fake", - "kubernetes/typed/networking/v1beta1", - "kubernetes/typed/networking/v1beta1/fake", - "kubernetes/typed/node/v1alpha1", - "kubernetes/typed/node/v1alpha1/fake", - "kubernetes/typed/node/v1beta1", - "kubernetes/typed/node/v1beta1/fake", - "kubernetes/typed/policy/v1beta1", - "kubernetes/typed/policy/v1beta1/fake", - "kubernetes/typed/rbac/v1", - "kubernetes/typed/rbac/v1/fake", - "kubernetes/typed/rbac/v1alpha1", - "kubernetes/typed/rbac/v1alpha1/fake", - "kubernetes/typed/rbac/v1beta1", - "kubernetes/typed/rbac/v1beta1/fake", - "kubernetes/typed/scheduling/v1", - "kubernetes/typed/scheduling/v1/fake", - "kubernetes/typed/scheduling/v1alpha1", - "kubernetes/typed/scheduling/v1alpha1/fake", - "kubernetes/typed/scheduling/v1beta1", - "kubernetes/typed/scheduling/v1beta1/fake", - "kubernetes/typed/settings/v1alpha1", - "kubernetes/typed/settings/v1alpha1/fake", - "kubernetes/typed/storage/v1", - "kubernetes/typed/storage/v1/fake", - "kubernetes/typed/storage/v1alpha1", - "kubernetes/typed/storage/v1alpha1/fake", - "kubernetes/typed/storage/v1beta1", - "kubernetes/typed/storage/v1beta1/fake", - "listers/admissionregistration/v1", - "listers/admissionregistration/v1beta1", - "listers/apps/v1", - "listers/apps/v1beta1", - "listers/apps/v1beta2", - "listers/auditregistration/v1alpha1", - "listers/autoscaling/v1", - "listers/autoscaling/v2beta1", - "listers/autoscaling/v2beta2", - "listers/batch/v1", - "listers/batch/v1beta1", - "listers/batch/v2alpha1", - "listers/certificates/v1beta1", - "listers/coordination/v1", - "listers/coordination/v1beta1", - "listers/core/v1", - "listers/discovery/v1alpha1", - "listers/discovery/v1beta1", - "listers/events/v1beta1", - "listers/extensions/v1beta1", - "listers/flowcontrol/v1alpha1", - "listers/networking/v1", - "listers/networking/v1beta1", - "listers/node/v1alpha1", - "listers/node/v1beta1", - "listers/policy/v1beta1", - "listers/rbac/v1", - "listers/rbac/v1alpha1", - "listers/rbac/v1beta1", - "listers/scheduling/v1", - "listers/scheduling/v1alpha1", - "listers/scheduling/v1beta1", - "listers/settings/v1alpha1", - "listers/storage/v1", - "listers/storage/v1alpha1", - "listers/storage/v1beta1", - "pkg/apis/clientauthentication", - "pkg/apis/clientauthentication/v1alpha1", - "pkg/apis/clientauthentication/v1beta1", - "pkg/version", - "plugin/pkg/client/auth/exec", - "plugin/pkg/client/auth/gcp", - "rest", - "rest/watch", - "testing", - "third_party/forked/golang/template", - "tools/auth", - "tools/cache", - "tools/clientcmd", - "tools/clientcmd/api", - "tools/clientcmd/api/latest", - "tools/clientcmd/api/v1", - "tools/metrics", - "tools/pager", - "tools/reference", - "tools/remotecommand", - "transport", - "transport/spdy", - "util/cert", - "util/connrotation", - "util/exec", - "util/flowcontrol", - "util/homedir", - "util/jsonpath", - "util/keyutil", - "util/retry", - "util/workqueue", - ] - pruneopts = "UT" - revision = "9927afa2880713c4332723b7f0865adee5e63a7b" - version = "v0.17.4" - -[[projects]] - digest = "1:956d50c8f39e1dc12669a7fe88986fd38dba7990e6b0d445939ea43de1d6ab25" - name = "k8s.io/code-generator" - packages = [ - ".", - "cmd/client-gen", - "cmd/client-gen/args", - "cmd/client-gen/generators", - "cmd/client-gen/generators/fake", - "cmd/client-gen/generators/scheme", - "cmd/client-gen/generators/util", - "cmd/client-gen/path", - "cmd/client-gen/types", - "cmd/conversion-gen", - "cmd/conversion-gen/args", - "cmd/conversion-gen/generators", - "cmd/deepcopy-gen", - "cmd/deepcopy-gen/args", - "cmd/defaulter-gen", - "cmd/defaulter-gen/args", - "cmd/go-to-protobuf", - "cmd/go-to-protobuf/protobuf", - "cmd/import-boss", - "cmd/informer-gen", - "cmd/informer-gen/args", - "cmd/informer-gen/generators", - "cmd/lister-gen", - "cmd/lister-gen/args", - "cmd/lister-gen/generators", - "cmd/openapi-gen", - "cmd/register-gen", - "cmd/register-gen/args", - "cmd/register-gen/generators", - "cmd/set-gen", - "pkg/namer", - "pkg/util", - "third_party/forked/golang/reflect", - ] - pruneopts = "UT" - revision = "4ae19cfe9b46bf48d232c065a9078d1dff3de06c" - version = "v0.17.4" - -[[projects]] - branch = "master" - digest = "1:e30d632a7bc319d28928972cd57cc24c2b7c614136e7c4d173951b3c36ad01fb" - name = "k8s.io/gengo" - packages = [ - "args", - "examples/deepcopy-gen/generators", - "examples/defaulter-gen/generators", - "examples/import-boss/generators", - "examples/set-gen/generators", - "examples/set-gen/sets", - "generator", - "namer", - "parser", - "types", - ] - pruneopts = "UT" - revision = "e0e292d8aa122d458174e1bef5f142b4d0a67a05" - -[[projects]] - digest = "1:93e82f25d75aba18436ad1ac042cb49493f096011f2541075721ed6f9e05c044" - name = "k8s.io/klog" - packages = ["."] - pruneopts = "UT" - revision = "2ca9ad30301bf30a8a6e0fa2110db6b8df699a91" - version = "v1.0.0" - -[[projects]] - branch = "release-1.17" - digest = "1:3f1b53acc37422a3481e5fd0980eaf41d69832c9566212083513165947d0b5b0" - name = "k8s.io/kube-openapi" - packages = [ - "cmd/openapi-gen/args", - "pkg/common", - "pkg/generators", - "pkg/generators/rules", - "pkg/util/proto", - "pkg/util/sets", - ] - pruneopts = "UT" - revision = "82d701f24f9def7a89b13f95b48f9375d96254c4" - -[[projects]] - branch = "master" - digest = "1:2d3f59daa4b479ff4e100a2e1d8fea6780040fdadc177869531fe4cc29407f55" - name = "k8s.io/utils" - packages = [ - "buffer", - "integer", - "trace", - ] - pruneopts = "UT" - revision = "6496210b90e852b26b227eaedea39b286063fae6" - -[[projects]] - digest = "1:36d2b2cb1fa6e4a731e38c3582c203213cdbc52c5f202af07db6dc6eeaec88dc" - name = "sigs.k8s.io/yaml" - packages = ["."] - pruneopts = "UT" - revision = "9fc95527decd95bb9d28cc2eab08179b2d0f6971" - version = "v1.2.0" - -[solve-meta] - analyzer-name = "dep" - analyzer-version = 1 - input-imports = [ - "github.com/evanphx/json-patch", - "github.com/fatih/color", - "github.com/gorilla/mux", - "github.com/kubernetes/sample-controller/pkg/signals", - "github.com/nsqio/go-nsq", - "github.com/robfig/cron", - "github.com/sirupsen/logrus", - "github.com/spf13/cobra", - "github.com/spf13/cobra/doc", - "github.com/spf13/pflag", - "github.com/xdg/stringprep", - "golang.org/x/crypto/pbkdf2", - "golang.org/x/crypto/ssh", - "golang.org/x/sync/semaphore", - "k8s.io/api/apps/v1", - "k8s.io/api/authorization/v1", - "k8s.io/api/batch/v1", - "k8s.io/api/core/v1", - "k8s.io/api/rbac/v1", - "k8s.io/api/storage/v1", - "k8s.io/apimachinery/pkg/api/errors", - "k8s.io/apimachinery/pkg/api/meta", - "k8s.io/apimachinery/pkg/api/resource", - "k8s.io/apimachinery/pkg/apis/meta/v1", - "k8s.io/apimachinery/pkg/fields", - "k8s.io/apimachinery/pkg/labels", - "k8s.io/apimachinery/pkg/runtime", - "k8s.io/apimachinery/pkg/runtime/schema", - "k8s.io/apimachinery/pkg/runtime/serializer", - "k8s.io/apimachinery/pkg/types", - "k8s.io/apimachinery/pkg/util/rand", - "k8s.io/apimachinery/pkg/util/runtime", - "k8s.io/apimachinery/pkg/util/validation", - "k8s.io/apimachinery/pkg/watch", - "k8s.io/client-go/discovery", - "k8s.io/client-go/discovery/fake", - "k8s.io/client-go/informers", - "k8s.io/client-go/informers/batch/v1", - "k8s.io/client-go/informers/core/v1", - "k8s.io/client-go/kubernetes", - "k8s.io/client-go/kubernetes/fake", - "k8s.io/client-go/kubernetes/scheme", - "k8s.io/client-go/listers/core/v1", - "k8s.io/client-go/plugin/pkg/client/auth/gcp", - "k8s.io/client-go/rest", - "k8s.io/client-go/testing", - "k8s.io/client-go/tools/cache", - "k8s.io/client-go/tools/clientcmd", - "k8s.io/client-go/tools/remotecommand", - "k8s.io/client-go/transport/spdy", - "k8s.io/client-go/util/flowcontrol", - "k8s.io/client-go/util/workqueue", - "k8s.io/code-generator", - "sigs.k8s.io/yaml", - ] - solver-name = "gps-cdcl" - solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml deleted file mode 100644 index 4040b2a12d..0000000000 --- a/Gopkg.toml +++ /dev/null @@ -1,74 +0,0 @@ -ignored = [ - # The following four packages are imported by the testing directory which is - # a separate Go module. - "github.com/jackc/pgx/v4/*", - "github.com/stretchr/testify/*", - "k8s.io/apiserver/pkg/storage/names", - "k8s.io/client-go/tools/portforward", -] - -required = [ - "k8s.io/code-generator", -] - -[[constraint]] - name = "github.com/evanphx/json-patch" - version = "4.6.0" - -[[constraint]] - name = "github.com/fatih/color" - version = "1.9.0" - -[[constraint]] - name = "github.com/gorilla/mux" - version = "1.7.4" - -[[constraint]] - name = "github.com/nsqio/go-nsq" - version = "1.0.8" - -[[constraint]] - name = "github.com/robfig/cron" - version = "3.0.1" - -[[constraint]] - name = "github.com/sirupsen/logrus" - version = "1.4.2" - -[[constraint]] - name = "github.com/spf13/cobra" - version = "0.0.5" - -[[constraint]] - name = "github.com/spf13/pflag" - version = "1.0.5" - -[[constraint]] - branch = "master" - name = "golang.org/x/crypto" - -[[constraint]] - name = "k8s.io/api" - version = "0.17.4" - -[[constraint]] - name = "k8s.io/apimachinery" - version = "0.17.4" - -[[constraint]] - name = "k8s.io/client-go" - version = "0.17.4" - -[[constraint]] - name = "k8s.io/code-generator" - version = "0.17.4" - -# The following override is for generating the docs using the -# "generatedocs" program in pgo -[[override]] - name = "github.com/russross/blackfriday" - version = "1.5.2" - -[prune] - go-tests = true - unused-packages = true diff --git a/apiserver.go b/apiserver.go index 2c3858bb63..9db2e4ce25 100644 --- a/apiserver.go +++ b/apiserver.go @@ -24,10 +24,10 @@ import ( "strings" "time" - "github.com/crunchydata/postgres-operator/internal/apiserver" - "github.com/crunchydata/postgres-operator/internal/apiserver/routing" - crunchylog "github.com/crunchydata/postgres-operator/internal/logging" - "github.com/crunchydata/postgres-operator/internal/tlsutil" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/routing" + crunchylog "github.com/crunchydata/postgres-operator/v4/internal/logging" + "github.com/crunchydata/postgres-operator/v4/internal/tlsutil" "github.com/gorilla/mux" log "github.com/sirupsen/logrus" diff --git a/bin/get-deps.sh b/bin/get-deps.sh index 7ce9cf7ad8..311cffb348 100755 --- a/bin/get-deps.sh +++ b/bin/get-deps.sh @@ -81,13 +81,6 @@ else fi fi -if which dep; then - echo -n " Found: " && (dep version | egrep '^ version') -else - echo "=== Installing dep ===" - curl -S https://raw.githubusercontent.com/golang/dep/master/install.sh | sh -fi - if which expenv; then echo " Found expenv" else diff --git a/deploy/upgrade-pgo.sh b/deploy/upgrade-pgo.sh index 66f61639eb..5927b4ba19 100755 --- a/deploy/upgrade-pgo.sh +++ b/deploy/upgrade-pgo.sh @@ -40,9 +40,6 @@ $DIR/install-rbac.sh # Deploy the new Operator $DIR/deploy.sh -# Run 'dep ensure' to update needed libraries -dep ensure - # Store the current location of the PGO client MYPGO=`which pgo` # Store the expected location of the PGO client @@ -53,7 +50,7 @@ if [ "$MYPGO" != "$BASHPGO" ]; then echo "Current location\(${MYPG}O\) does not match the expected location \(${BASHPGO}\). You will need to manually install the updated Posgres Operator client in your preferred location." else - # install the new PGO client + # install the new PGO client go install $PGOROOT/pgo/pgo.go cp $GOBIN/pgo $PGOROOT/bin/pgo fi diff --git a/docs/content/contributing/developer-setup.md b/docs/content/contributing/developer-setup.md index b95649fb2e..4346dfb290 100644 --- a/docs/content/contributing/developer-setup.md +++ b/docs/content/contributing/developer-setup.md @@ -63,7 +63,6 @@ The setup target ensures the presence of: * `GOPATH` and `PATH` as described in the prerequisites * EPEL yum repository * golang compiler -* `dep` dependency manager * NSQ messaging binaries * `docker` container tool * `buildah` OCI image building tool @@ -108,9 +107,6 @@ This assumes you have Docker installed and running on your development host. By default, the Makefile will use buildah to build the container images, to override this default to use docker to build the images, set the IMGBUILDER variable to `docker` - -The project uses the golang dep package manager to vendor all the golang source dependencies into the `vendor` directory. You typically do not need to run any `dep` commands unless you are adding new golang package dependencies into the project outside of what is within the project for a given release. - After a full compile, you will have a `pgo` binary in `$HOME/odev/bin` and the Operator images in your local Docker registry. # Deployment diff --git a/internal/apiserver/backrestservice/backrestimpl.go b/internal/apiserver/backrestservice/backrestimpl.go index 5272004c25..c32795358e 100644 --- a/internal/apiserver/backrestservice/backrestimpl.go +++ b/internal/apiserver/backrestservice/backrestimpl.go @@ -23,14 +23,14 @@ import ( "strings" "time" - "github.com/crunchydata/postgres-operator/internal/apiserver/backupoptions" - "github.com/crunchydata/postgres-operator/internal/util" - - "github.com/crunchydata/postgres-operator/internal/apiserver" - "github.com/crunchydata/postgres-operator/internal/config" - "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/v4/internal/apiserver/backupoptions" + "github.com/crunchydata/postgres-operator/v4/internal/util" + + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" v1 "k8s.io/api/core/v1" meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/internal/apiserver/backrestservice/backrestservice.go b/internal/apiserver/backrestservice/backrestservice.go index e436afb878..d0b9b208db 100644 --- a/internal/apiserver/backrestservice/backrestservice.go +++ b/internal/apiserver/backrestservice/backrestservice.go @@ -17,9 +17,9 @@ limitations under the License. import ( "encoding/json" - "github.com/crunchydata/postgres-operator/internal/apiserver" - "github.com/crunchydata/postgres-operator/internal/config" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" "github.com/gorilla/mux" log "github.com/sirupsen/logrus" "net/http" diff --git a/internal/apiserver/backupoptions/backupoptionsutil.go b/internal/apiserver/backupoptions/backupoptionsutil.go index 87a39fd290..07cdd8fe30 100644 --- a/internal/apiserver/backupoptions/backupoptionsutil.go +++ b/internal/apiserver/backupoptions/backupoptionsutil.go @@ -23,7 +23,7 @@ import ( "regexp" "strings" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" "github.com/spf13/pflag" ) diff --git a/internal/apiserver/catservice/catimpl.go b/internal/apiserver/catservice/catimpl.go index 5e45a7c0db..28a5fdd8a3 100644 --- a/internal/apiserver/catservice/catimpl.go +++ b/internal/apiserver/catservice/catimpl.go @@ -19,11 +19,11 @@ import ( "errors" "strings" - "github.com/crunchydata/postgres-operator/internal/apiserver" - "github.com/crunchydata/postgres-operator/internal/config" - "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/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" v1 "k8s.io/api/core/v1" "k8s.io/client-go/kubernetes" diff --git a/internal/apiserver/catservice/catservice.go b/internal/apiserver/catservice/catservice.go index 439274271e..f247456a5e 100644 --- a/internal/apiserver/catservice/catservice.go +++ b/internal/apiserver/catservice/catservice.go @@ -17,8 +17,8 @@ limitations under the License. import ( "encoding/json" - "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/internal/apiserver/cloneservice/cloneimpl.go b/internal/apiserver/cloneservice/cloneimpl.go index b095f45289..f1a83501e6 100644 --- a/internal/apiserver/cloneservice/cloneimpl.go +++ b/internal/apiserver/cloneservice/cloneimpl.go @@ -21,12 +21,12 @@ import ( "io/ioutil" "time" - "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/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/internal/apiserver/cloneservice/cloneservice.go b/internal/apiserver/cloneservice/cloneservice.go index f8724e6e0d..9a04ab0c09 100644 --- a/internal/apiserver/cloneservice/cloneservice.go +++ b/internal/apiserver/cloneservice/cloneservice.go @@ -19,8 +19,8 @@ import ( "encoding/json" "net/http" - "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/internal/apiserver/clusterservice/clusterimpl.go b/internal/apiserver/clusterservice/clusterimpl.go index bb52d0361e..c24300be15 100644 --- a/internal/apiserver/clusterservice/clusterimpl.go +++ b/internal/apiserver/clusterservice/clusterimpl.go @@ -23,12 +23,12 @@ import ( "strings" "time" - "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/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" v1 "k8s.io/api/core/v1" diff --git a/internal/apiserver/clusterservice/clusterservice.go b/internal/apiserver/clusterservice/clusterservice.go index e69aae067f..dab3f4550c 100644 --- a/internal/apiserver/clusterservice/clusterservice.go +++ b/internal/apiserver/clusterservice/clusterservice.go @@ -19,8 +19,8 @@ import ( "encoding/json" "net/http" - "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/internal/apiserver/clusterservice/scaleimpl.go b/internal/apiserver/clusterservice/scaleimpl.go index c55e18a404..4a777b23f0 100644 --- a/internal/apiserver/clusterservice/scaleimpl.go +++ b/internal/apiserver/clusterservice/scaleimpl.go @@ -20,12 +20,12 @@ import ( "strconv" "strings" - "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/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" kerrors "k8s.io/apimachinery/pkg/api/errors" diff --git a/internal/apiserver/clusterservice/scaleservice.go b/internal/apiserver/clusterservice/scaleservice.go index 92db853216..9a89e22804 100644 --- a/internal/apiserver/clusterservice/scaleservice.go +++ b/internal/apiserver/clusterservice/scaleservice.go @@ -20,9 +20,9 @@ import ( "net/http" "strconv" - "github.com/crunchydata/postgres-operator/internal/apiserver" - "github.com/crunchydata/postgres-operator/internal/config" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" "github.com/gorilla/mux" log "github.com/sirupsen/logrus" ) diff --git a/internal/apiserver/common.go b/internal/apiserver/common.go index e2d8dd0d13..39b134c3cc 100644 --- a/internal/apiserver/common.go +++ b/internal/apiserver/common.go @@ -20,9 +20,9 @@ import ( "fmt" "strconv" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" diff --git a/internal/apiserver/configservice/configimpl.go b/internal/apiserver/configservice/configimpl.go index 76d891d5ed..0ee198bca2 100644 --- a/internal/apiserver/configservice/configimpl.go +++ b/internal/apiserver/configservice/configimpl.go @@ -16,8 +16,8 @@ limitations under the License. */ import ( - "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/internal/apiserver/configservice/configservice.go b/internal/apiserver/configservice/configservice.go index 1f70934888..2ae16a6f61 100644 --- a/internal/apiserver/configservice/configservice.go +++ b/internal/apiserver/configservice/configservice.go @@ -17,8 +17,8 @@ limitations under the License. import ( "encoding/json" - "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/internal/apiserver/dfservice/dfimpl.go b/internal/apiserver/dfservice/dfimpl.go index 18d76c5818..c60f5a3fdf 100644 --- a/internal/apiserver/dfservice/dfimpl.go +++ b/internal/apiserver/dfservice/dfimpl.go @@ -19,11 +19,11 @@ import ( "fmt" "strings" - "github.com/crunchydata/postgres-operator/internal/apiserver" - "github.com/crunchydata/postgres-operator/internal/config" - "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/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" diff --git a/internal/apiserver/dfservice/dfservice.go b/internal/apiserver/dfservice/dfservice.go index 325e20257a..febda95424 100644 --- a/internal/apiserver/dfservice/dfservice.go +++ b/internal/apiserver/dfservice/dfservice.go @@ -19,8 +19,8 @@ import ( "encoding/json" "net/http" - "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/internal/apiserver/failoverservice/failoverimpl.go b/internal/apiserver/failoverservice/failoverimpl.go index 1b0fb3a898..de82395f3f 100644 --- a/internal/apiserver/failoverservice/failoverimpl.go +++ b/internal/apiserver/failoverservice/failoverimpl.go @@ -18,12 +18,12 @@ limitations under the License. import ( "errors" - "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/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" v1 "k8s.io/api/apps/v1" meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/internal/apiserver/failoverservice/failoverservice.go b/internal/apiserver/failoverservice/failoverservice.go index 164d7b1545..230eb5e49a 100644 --- a/internal/apiserver/failoverservice/failoverservice.go +++ b/internal/apiserver/failoverservice/failoverservice.go @@ -17,8 +17,8 @@ limitations under the License. import ( "encoding/json" - "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" "github.com/gorilla/mux" log "github.com/sirupsen/logrus" "net/http" diff --git a/internal/apiserver/labelservice/labelimpl.go b/internal/apiserver/labelservice/labelimpl.go index 0b19908336..9d0a2e3959 100644 --- a/internal/apiserver/labelservice/labelimpl.go +++ b/internal/apiserver/labelservice/labelimpl.go @@ -20,12 +20,12 @@ import ( "errors" "strings" - "github.com/crunchydata/postgres-operator/internal/apiserver" - "github.com/crunchydata/postgres-operator/internal/config" - "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" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pkg/events" jsonpatch "github.com/evanphx/json-patch" log "github.com/sirupsen/logrus" v1 "k8s.io/api/apps/v1" diff --git a/internal/apiserver/labelservice/labelservice.go b/internal/apiserver/labelservice/labelservice.go index f13054fd17..286a4b9031 100644 --- a/internal/apiserver/labelservice/labelservice.go +++ b/internal/apiserver/labelservice/labelservice.go @@ -17,8 +17,8 @@ limitations under the License. import ( "encoding/json" - "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/internal/apiserver/loadservice/loadimpl.go b/internal/apiserver/loadservice/loadimpl.go index 22d04c6e51..2ba1accb52 100644 --- a/internal/apiserver/loadservice/loadimpl.go +++ b/internal/apiserver/loadservice/loadimpl.go @@ -23,14 +23,14 @@ import ( "strings" "time" - "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/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator" - 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" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/policyservice" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pkg/events" log "github.com/sirupsen/logrus" v1batch "k8s.io/api/batch/v1" diff --git a/internal/apiserver/loadservice/loadservice.go b/internal/apiserver/loadservice/loadservice.go index 068821ea87..a4e5bedfe1 100644 --- a/internal/apiserver/loadservice/loadservice.go +++ b/internal/apiserver/loadservice/loadservice.go @@ -17,8 +17,8 @@ limitations under the License. import ( "encoding/json" - "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" //"github.com/gorilla/mux" "net/http" diff --git a/internal/apiserver/namespaceservice/namespaceimpl.go b/internal/apiserver/namespaceservice/namespaceimpl.go index 823b75372f..e75549fe30 100644 --- a/internal/apiserver/namespaceservice/namespaceimpl.go +++ b/internal/apiserver/namespaceservice/namespaceimpl.go @@ -18,10 +18,10 @@ limitations under the License. import ( "fmt" - "github.com/crunchydata/postgres-operator/internal/apiserver" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/ns" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/ns" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "k8s.io/client-go/kubernetes" ) diff --git a/internal/apiserver/namespaceservice/namespaceservice.go b/internal/apiserver/namespaceservice/namespaceservice.go index 1e27294c96..4e4f37891d 100644 --- a/internal/apiserver/namespaceservice/namespaceservice.go +++ b/internal/apiserver/namespaceservice/namespaceservice.go @@ -20,9 +20,9 @@ import ( "fmt" "net/http" - "github.com/crunchydata/postgres-operator/internal/apiserver" - "github.com/crunchydata/postgres-operator/internal/ns" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/ns" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/internal/apiserver/pgadminservice/pgadminimpl.go b/internal/apiserver/pgadminservice/pgadminimpl.go index 51c4c3e950..2fbb950c1e 100644 --- a/internal/apiserver/pgadminservice/pgadminimpl.go +++ b/internal/apiserver/pgadminservice/pgadminimpl.go @@ -18,12 +18,12 @@ limitations under the License. import ( "fmt" - "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" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/pgadmin" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/internal/apiserver/pgadminservice/pgadminservice.go b/internal/apiserver/pgadminservice/pgadminservice.go index 90378868ca..21ba072881 100644 --- a/internal/apiserver/pgadminservice/pgadminservice.go +++ b/internal/apiserver/pgadminservice/pgadminservice.go @@ -19,8 +19,8 @@ import ( "encoding/json" "net/http" - "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/internal/apiserver/pgbouncerservice/pgbouncerimpl.go b/internal/apiserver/pgbouncerservice/pgbouncerimpl.go index cbc3584923..dc3588f8b2 100644 --- a/internal/apiserver/pgbouncerservice/pgbouncerimpl.go +++ b/internal/apiserver/pgbouncerservice/pgbouncerimpl.go @@ -19,13 +19,13 @@ import ( "fmt" "strings" - "github.com/crunchydata/postgres-operator/internal/apiserver" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - clusteroperator "github.com/crunchydata/postgres-operator/internal/operator/cluster" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + clusteroperator "github.com/crunchydata/postgres-operator/v4/internal/operator/cluster" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" v1 "k8s.io/api/core/v1" diff --git a/internal/apiserver/pgbouncerservice/pgbouncerservice.go b/internal/apiserver/pgbouncerservice/pgbouncerservice.go index 969aabd205..f6268114eb 100644 --- a/internal/apiserver/pgbouncerservice/pgbouncerservice.go +++ b/internal/apiserver/pgbouncerservice/pgbouncerservice.go @@ -17,8 +17,8 @@ limitations under the License. import ( "encoding/json" - "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/internal/apiserver/pgdumpservice/pgdumpimpl.go b/internal/apiserver/pgdumpservice/pgdumpimpl.go index e1cbdd80fc..5721b04e38 100644 --- a/internal/apiserver/pgdumpservice/pgdumpimpl.go +++ b/internal/apiserver/pgdumpservice/pgdumpimpl.go @@ -21,12 +21,12 @@ import ( "strconv" "strings" - "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/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/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/backupoptions" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" v1 "k8s.io/api/core/v1" kerrors "k8s.io/apimachinery/pkg/api/errors" diff --git a/internal/apiserver/pgdumpservice/pgdumpservice.go b/internal/apiserver/pgdumpservice/pgdumpservice.go index 755a9bbd98..624ad818a8 100644 --- a/internal/apiserver/pgdumpservice/pgdumpservice.go +++ b/internal/apiserver/pgdumpservice/pgdumpservice.go @@ -17,9 +17,9 @@ limitations under the License. import ( "encoding/json" - "github.com/crunchydata/postgres-operator/internal/apiserver" - "github.com/crunchydata/postgres-operator/internal/config" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" "github.com/gorilla/mux" log "github.com/sirupsen/logrus" "net/http" diff --git a/internal/apiserver/pgoroleservice/pgoroleimpl.go b/internal/apiserver/pgoroleservice/pgoroleimpl.go index 0079fb032a..c740a8fef4 100644 --- a/internal/apiserver/pgoroleservice/pgoroleimpl.go +++ b/internal/apiserver/pgoroleservice/pgoroleimpl.go @@ -17,12 +17,12 @@ limitations under the License. import ( "errors" - "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/internal/kubeapi" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" - "github.com/crunchydata/postgres-operator/pkg/events" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/pgouserservice" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pkg/events" log "github.com/sirupsen/logrus" "k8s.io/api/core/v1" "k8s.io/client-go/kubernetes" diff --git a/internal/apiserver/pgoroleservice/pgoroleservice.go b/internal/apiserver/pgoroleservice/pgoroleservice.go index b3e3413e09..d9d50a9083 100644 --- a/internal/apiserver/pgoroleservice/pgoroleservice.go +++ b/internal/apiserver/pgoroleservice/pgoroleservice.go @@ -17,8 +17,8 @@ limitations under the License. import ( "encoding/json" - apiserver "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + apiserver "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "k8s.io/apimachinery/pkg/util/validation" "net/http" diff --git a/internal/apiserver/pgouserservice/pgouserimpl.go b/internal/apiserver/pgouserservice/pgouserimpl.go index 6e7528c6e6..5a55bf823b 100644 --- a/internal/apiserver/pgouserservice/pgouserimpl.go +++ b/internal/apiserver/pgouserservice/pgouserimpl.go @@ -20,12 +20,12 @@ import ( "strings" "time" - "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/ns" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" - "github.com/crunchydata/postgres-operator/pkg/events" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/ns" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pkg/events" log "github.com/sirupsen/logrus" v1 "k8s.io/api/core/v1" "k8s.io/client-go/kubernetes" diff --git a/internal/apiserver/pgouserservice/pgouserservice.go b/internal/apiserver/pgouserservice/pgouserservice.go index ccf1b1ce8f..c8b5c112a4 100644 --- a/internal/apiserver/pgouserservice/pgouserservice.go +++ b/internal/apiserver/pgouserservice/pgouserservice.go @@ -17,8 +17,8 @@ limitations under the License. import ( "encoding/json" - apiserver "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + apiserver "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "k8s.io/apimachinery/pkg/util/validation" "net/http" diff --git a/internal/apiserver/policyservice/policyimpl.go b/internal/apiserver/policyservice/policyimpl.go index 98225aa245..fc67f123b9 100644 --- a/internal/apiserver/policyservice/policyimpl.go +++ b/internal/apiserver/policyservice/policyimpl.go @@ -20,14 +20,14 @@ import ( "strings" "time" - "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/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/util" - 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" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/labelservice" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pkg/events" log "github.com/sirupsen/logrus" v1 "k8s.io/api/apps/v1" meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/internal/apiserver/policyservice/policyservice.go b/internal/apiserver/policyservice/policyservice.go index 35917a64c9..f6f643d41d 100644 --- a/internal/apiserver/policyservice/policyservice.go +++ b/internal/apiserver/policyservice/policyservice.go @@ -17,8 +17,8 @@ limitations under the License. import ( "encoding/json" - apiserver "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + apiserver "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "k8s.io/apimachinery/pkg/util/validation" "net/http" diff --git a/internal/apiserver/pvcservice/pvcimpl.go b/internal/apiserver/pvcservice/pvcimpl.go index 05c93d73a2..3e2ef9cd63 100644 --- a/internal/apiserver/pvcservice/pvcimpl.go +++ b/internal/apiserver/pvcservice/pvcimpl.go @@ -18,10 +18,10 @@ limitations under the License. import ( "fmt" - "github.com/crunchydata/postgres-operator/internal/apiserver" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/internal/apiserver/pvcservice/pvcservice.go b/internal/apiserver/pvcservice/pvcservice.go index 3143cf183b..810be190ee 100644 --- a/internal/apiserver/pvcservice/pvcservice.go +++ b/internal/apiserver/pvcservice/pvcservice.go @@ -17,8 +17,8 @@ limitations under the License. import ( "encoding/json" - "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/internal/apiserver/reloadservice/reloadimpl.go b/internal/apiserver/reloadservice/reloadimpl.go index 5268147602..d48ef6f0e6 100644 --- a/internal/apiserver/reloadservice/reloadimpl.go +++ b/internal/apiserver/reloadservice/reloadimpl.go @@ -20,11 +20,11 @@ import ( "strings" "time" - "github.com/crunchydata/postgres-operator/internal/apiserver" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/patroni" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" - "github.com/crunchydata/postgres-operator/pkg/events" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/patroni" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pkg/events" log "github.com/sirupsen/logrus" kerrors "k8s.io/apimachinery/pkg/api/errors" diff --git a/internal/apiserver/reloadservice/reloadservice.go b/internal/apiserver/reloadservice/reloadservice.go index 9d1096c3c9..634eb01102 100644 --- a/internal/apiserver/reloadservice/reloadservice.go +++ b/internal/apiserver/reloadservice/reloadservice.go @@ -17,8 +17,8 @@ limitations under the License. import ( "encoding/json" - "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/internal/apiserver/restartservice/restartimpl.go b/internal/apiserver/restartservice/restartimpl.go index 9b72f673a1..1b8bda683b 100644 --- a/internal/apiserver/restartservice/restartimpl.go +++ b/internal/apiserver/restartservice/restartimpl.go @@ -18,11 +18,11 @@ limitations under the License. import ( "fmt" - "github.com/crunchydata/postgres-operator/internal/apiserver" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/patroni" - "github.com/crunchydata/postgres-operator/internal/util" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/patroni" + "github.com/crunchydata/postgres-operator/v4/internal/util" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/internal/apiserver/restartservice/restartservice.go b/internal/apiserver/restartservice/restartservice.go index a1bfb97194..fa9ce8ed62 100644 --- a/internal/apiserver/restartservice/restartservice.go +++ b/internal/apiserver/restartservice/restartservice.go @@ -19,8 +19,8 @@ import ( "encoding/json" "net/http" - "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" "github.com/gorilla/mux" log "github.com/sirupsen/logrus" ) diff --git a/internal/apiserver/root.go b/internal/apiserver/root.go index c2f87fa753..6f6d62e59f 100644 --- a/internal/apiserver/root.go +++ b/internal/apiserver/root.go @@ -27,11 +27,11 @@ import ( "strings" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/ns" - "github.com/crunchydata/postgres-operator/internal/tlsutil" - pgov1 "github.com/crunchydata/postgres-operator/pkg/generated/clientset/versioned" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/ns" + "github.com/crunchydata/postgres-operator/v4/internal/tlsutil" + pgov1 "github.com/crunchydata/postgres-operator/v4/pkg/generated/clientset/versioned" log "github.com/sirupsen/logrus" corev1 "k8s.io/api/core/v1" v1 "k8s.io/api/core/v1" diff --git a/internal/apiserver/routing/routes.go b/internal/apiserver/routing/routes.go index c98848b6c9..7d578493bf 100644 --- a/internal/apiserver/routing/routes.go +++ b/internal/apiserver/routing/routes.go @@ -16,31 +16,31 @@ limitations under the License. */ import ( - "github.com/crunchydata/postgres-operator/internal/apiserver/backrestservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/catservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/cloneservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/clusterservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/configservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/dfservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/failoverservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/labelservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/loadservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/namespaceservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/pgadminservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/pgbouncerservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/pgdumpservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/pgoroleservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/pgouserservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/policyservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/pvcservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/reloadservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/restartservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/scheduleservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/statusservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/upgradeservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/userservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/versionservice" - "github.com/crunchydata/postgres-operator/internal/apiserver/workflowservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/backrestservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/catservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/cloneservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/clusterservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/configservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/dfservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/failoverservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/labelservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/loadservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/namespaceservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/pgadminservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/pgbouncerservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/pgdumpservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/pgoroleservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/pgouserservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/policyservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/pvcservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/reloadservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/restartservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/scheduleservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/statusservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/upgradeservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/userservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/versionservice" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/workflowservice" "github.com/gorilla/mux" ) diff --git a/internal/apiserver/scheduleservice/scheduleimpl.go b/internal/apiserver/scheduleservice/scheduleimpl.go index c82d893aae..1117a70e2b 100644 --- a/internal/apiserver/scheduleservice/scheduleimpl.go +++ b/internal/apiserver/scheduleservice/scheduleimpl.go @@ -20,13 +20,13 @@ import ( "fmt" "time" - "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/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver/backupoptions" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" v1 "k8s.io/api/core/v1" diff --git a/internal/apiserver/scheduleservice/scheduleservice.go b/internal/apiserver/scheduleservice/scheduleservice.go index b88fa16d7e..8f11f000cf 100644 --- a/internal/apiserver/scheduleservice/scheduleservice.go +++ b/internal/apiserver/scheduleservice/scheduleservice.go @@ -19,8 +19,8 @@ import ( "encoding/json" "net/http" - "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/internal/apiserver/statusservice/statusimpl.go b/internal/apiserver/statusservice/statusimpl.go index 057b6b1f63..f992bf9edc 100644 --- a/internal/apiserver/statusservice/statusimpl.go +++ b/internal/apiserver/statusservice/statusimpl.go @@ -19,11 +19,11 @@ import ( "fmt" "sort" - "github.com/crunchydata/postgres-operator/internal/apiserver" - "github.com/crunchydata/postgres-operator/internal/config" - "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/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" diff --git a/internal/apiserver/statusservice/statusservice.go b/internal/apiserver/statusservice/statusservice.go index ecab0047c2..cacb31b734 100644 --- a/internal/apiserver/statusservice/statusservice.go +++ b/internal/apiserver/statusservice/statusservice.go @@ -17,8 +17,8 @@ limitations under the License. import ( "encoding/json" - "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" //"github.com/gorilla/mux" "net/http" diff --git a/internal/apiserver/upgradeservice/upgradeimpl.go b/internal/apiserver/upgradeservice/upgradeimpl.go index 3f5da7e648..1be19178de 100644 --- a/internal/apiserver/upgradeservice/upgradeimpl.go +++ b/internal/apiserver/upgradeservice/upgradeimpl.go @@ -22,11 +22,11 @@ import ( "strconv" "time" - "github.com/crunchydata/postgres-operator/internal/apiserver" - "github.com/crunchydata/postgres-operator/internal/config" - "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/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/internal/apiserver/upgradeservice/upgradeservice.go b/internal/apiserver/upgradeservice/upgradeservice.go index dee9c68dc2..5363c4349d 100644 --- a/internal/apiserver/upgradeservice/upgradeservice.go +++ b/internal/apiserver/upgradeservice/upgradeservice.go @@ -19,8 +19,8 @@ import ( "encoding/json" "net/http" - "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/internal/apiserver/userservice/userimpl.go b/internal/apiserver/userservice/userimpl.go index 6309527b18..5a55124ff7 100644 --- a/internal/apiserver/userservice/userimpl.go +++ b/internal/apiserver/userservice/userimpl.go @@ -22,14 +22,14 @@ import ( "strings" "time" - "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/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/pgadmin" + pgpassword "github.com/crunchydata/postgres-operator/v4/internal/postgres/password" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" v1 "k8s.io/api/core/v1" diff --git a/internal/apiserver/userservice/userimpl_test.go b/internal/apiserver/userservice/userimpl_test.go index 71d3aa5fcf..09f911764a 100644 --- a/internal/apiserver/userservice/userimpl_test.go +++ b/internal/apiserver/userservice/userimpl_test.go @@ -19,7 +19,7 @@ import ( "strings" "testing" - pgpassword "github.com/crunchydata/postgres-operator/internal/postgres/password" + pgpassword "github.com/crunchydata/postgres-operator/v4/internal/postgres/password" ) func TestGeneratePassword(t *testing.T) { diff --git a/internal/apiserver/userservice/userservice.go b/internal/apiserver/userservice/userservice.go index 83994c90fa..d16859520a 100644 --- a/internal/apiserver/userservice/userservice.go +++ b/internal/apiserver/userservice/userservice.go @@ -17,8 +17,8 @@ limitations under the License. import ( "encoding/json" - "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/internal/apiserver/versionservice/versionimpl.go b/internal/apiserver/versionservice/versionimpl.go index d2341d4e93..1d6c7a0c17 100644 --- a/internal/apiserver/versionservice/versionimpl.go +++ b/internal/apiserver/versionservice/versionimpl.go @@ -16,7 +16,7 @@ limitations under the License. */ import ( - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" ) // Version ... diff --git a/internal/apiserver/versionservice/versionservice.go b/internal/apiserver/versionservice/versionservice.go index 49735dff1a..30cc3f32b8 100644 --- a/internal/apiserver/versionservice/versionservice.go +++ b/internal/apiserver/versionservice/versionservice.go @@ -17,7 +17,7 @@ limitations under the License. import ( "encoding/json" - "github.com/crunchydata/postgres-operator/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/internal/apiserver/workflowservice/workflowimpl.go b/internal/apiserver/workflowservice/workflowimpl.go index 2c588183af..371985dd45 100644 --- a/internal/apiserver/workflowservice/workflowimpl.go +++ b/internal/apiserver/workflowservice/workflowimpl.go @@ -18,11 +18,11 @@ limitations under the License. import ( "errors" - "github.com/crunchydata/postgres-operator/internal/apiserver" - "github.com/crunchydata/postgres-operator/internal/config" - "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/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/internal/apiserver/workflowservice/workflowservice.go b/internal/apiserver/workflowservice/workflowservice.go index 81aea9ff98..7e40321dcb 100644 --- a/internal/apiserver/workflowservice/workflowservice.go +++ b/internal/apiserver/workflowservice/workflowservice.go @@ -17,8 +17,8 @@ limitations under the License. import ( "encoding/json" - "github.com/crunchydata/postgres-operator/internal/apiserver" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" "github.com/gorilla/mux" log "github.com/sirupsen/logrus" "net/http" diff --git a/internal/config/pgoconfig.go b/internal/config/pgoconfig.go index d7570bf4e1..38085ff02b 100644 --- a/internal/config/pgoconfig.go +++ b/internal/config/pgoconfig.go @@ -24,8 +24,8 @@ import ( "strings" "text/template" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" v1 "k8s.io/api/core/v1" diff --git a/internal/controller/configmap/configmapcontroller.go b/internal/controller/configmap/configmapcontroller.go index d2a4cbd664..e2785f101b 100644 --- a/internal/controller/configmap/configmapcontroller.go +++ b/internal/controller/configmap/configmapcontroller.go @@ -16,9 +16,9 @@ limitations under the License. */ import ( - "github.com/crunchydata/postgres-operator/internal/config" - pgoinformers "github.com/crunchydata/postgres-operator/pkg/generated/informers/externalversions/crunchydata.com/v1" - pgolisters "github.com/crunchydata/postgres-operator/pkg/generated/listers/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + pgoinformers "github.com/crunchydata/postgres-operator/v4/pkg/generated/informers/externalversions/crunchydata.com/v1" + pgolisters "github.com/crunchydata/postgres-operator/v4/pkg/generated/listers/crunchydata.com/v1" log "github.com/sirupsen/logrus" diff --git a/internal/controller/configmap/synchandler.go b/internal/controller/configmap/synchandler.go index ff45f17048..534196e058 100644 --- a/internal/controller/configmap/synchandler.go +++ b/internal/controller/configmap/synchandler.go @@ -23,9 +23,9 @@ import ( kerrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/client-go/tools/cache" - "github.com/crunchydata/postgres-operator/internal/config" - cfg "github.com/crunchydata/postgres-operator/internal/operator/config" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + cfg "github.com/crunchydata/postgres-operator/v4/internal/operator/config" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" ) // handleConfigMapSync is responsible for syncing a configMap resource that has obtained from diff --git a/internal/controller/controllerutil.go b/internal/controller/controllerutil.go index ce0df82510..5c349020df 100644 --- a/internal/controller/controllerutil.go +++ b/internal/controller/controllerutil.go @@ -18,9 +18,9 @@ limitations under the License. import ( "errors" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" "k8s.io/client-go/rest" ) diff --git a/internal/controller/job/backresthandler.go b/internal/controller/job/backresthandler.go index 1c1cf51802..9ec95f88b7 100644 --- a/internal/controller/job/backresthandler.go +++ b/internal/controller/job/backresthandler.go @@ -19,14 +19,14 @@ import ( "fmt" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/controller" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - backrestoperator "github.com/crunchydata/postgres-operator/internal/operator/backrest" - clusteroperator "github.com/crunchydata/postgres-operator/internal/operator/cluster" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - "github.com/crunchydata/postgres-operator/pkg/events" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/controller" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + backrestoperator "github.com/crunchydata/postgres-operator/v4/internal/operator/backrest" + clusteroperator "github.com/crunchydata/postgres-operator/v4/internal/operator/cluster" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/pkg/events" log "github.com/sirupsen/logrus" apiv1 "k8s.io/api/batch/v1" ) diff --git a/internal/controller/job/jobcontroller.go b/internal/controller/job/jobcontroller.go index d1e4ddb471..83b629dc47 100644 --- a/internal/controller/job/jobcontroller.go +++ b/internal/controller/job/jobcontroller.go @@ -16,7 +16,7 @@ limitations under the License. */ import ( - "github.com/crunchydata/postgres-operator/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/config" log "github.com/sirupsen/logrus" apiv1 "k8s.io/api/batch/v1" batchinformers "k8s.io/client-go/informers/batch/v1" diff --git a/internal/controller/job/jobevents.go b/internal/controller/job/jobevents.go index ef4f1a1760..f645fe1d50 100644 --- a/internal/controller/job/jobevents.go +++ b/internal/controller/job/jobevents.go @@ -18,7 +18,7 @@ limitations under the License. import ( "time" - "github.com/crunchydata/postgres-operator/pkg/events" + "github.com/crunchydata/postgres-operator/v4/pkg/events" log "github.com/sirupsen/logrus" ) diff --git a/internal/controller/job/pgdumphandler.go b/internal/controller/job/pgdumphandler.go index 9025426491..641499d467 100644 --- a/internal/controller/job/pgdumphandler.go +++ b/internal/controller/job/pgdumphandler.go @@ -16,9 +16,9 @@ limitations under the License. */ import ( - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" apiv1 "k8s.io/api/batch/v1" ) diff --git a/internal/controller/job/reposynchandler.go b/internal/controller/job/reposynchandler.go index dbf56f89a1..dc33292104 100644 --- a/internal/controller/job/reposynchandler.go +++ b/internal/controller/job/reposynchandler.go @@ -19,12 +19,12 @@ import ( "fmt" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - clusteroperator "github.com/crunchydata/postgres-operator/internal/operator/cluster" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - "github.com/crunchydata/postgres-operator/pkg/events" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + clusteroperator "github.com/crunchydata/postgres-operator/v4/internal/operator/cluster" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/pkg/events" log "github.com/sirupsen/logrus" apiv1 "k8s.io/api/batch/v1" ) diff --git a/internal/controller/job/rmdatahandler.go b/internal/controller/job/rmdatahandler.go index 82b03000b2..5a970f4e2c 100644 --- a/internal/controller/job/rmdatahandler.go +++ b/internal/controller/job/rmdatahandler.go @@ -19,9 +19,9 @@ import ( "fmt" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator/pvc" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator/pvc" log "github.com/sirupsen/logrus" apiv1 "k8s.io/api/batch/v1" ) diff --git a/internal/controller/manager/controllermanager.go b/internal/controller/manager/controllermanager.go index 44ab22cefe..231fdbf929 100644 --- a/internal/controller/manager/controllermanager.go +++ b/internal/controller/manager/controllermanager.go @@ -21,19 +21,19 @@ import ( "sync" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/controller" - "github.com/crunchydata/postgres-operator/internal/controller/configmap" - "github.com/crunchydata/postgres-operator/internal/controller/job" - "github.com/crunchydata/postgres-operator/internal/controller/pgcluster" - "github.com/crunchydata/postgres-operator/internal/controller/pgpolicy" - "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/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/ns" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - informers "github.com/crunchydata/postgres-operator/pkg/generated/informers/externalversions" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/controller" + "github.com/crunchydata/postgres-operator/v4/internal/controller/configmap" + "github.com/crunchydata/postgres-operator/v4/internal/controller/job" + "github.com/crunchydata/postgres-operator/v4/internal/controller/pgcluster" + "github.com/crunchydata/postgres-operator/v4/internal/controller/pgpolicy" + "github.com/crunchydata/postgres-operator/v4/internal/controller/pgreplica" + "github.com/crunchydata/postgres-operator/v4/internal/controller/pgtask" + "github.com/crunchydata/postgres-operator/v4/internal/controller/pod" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/ns" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + informers "github.com/crunchydata/postgres-operator/v4/pkg/generated/informers/externalversions" log "github.com/sirupsen/logrus" "golang.org/x/sync/semaphore" diff --git a/internal/controller/namespace/namespacecontroller.go b/internal/controller/namespace/namespacecontroller.go index 25f85e3dd8..05c3f08224 100644 --- a/internal/controller/namespace/namespacecontroller.go +++ b/internal/controller/namespace/namespacecontroller.go @@ -16,7 +16,7 @@ limitations under the License. */ import ( - "github.com/crunchydata/postgres-operator/internal/controller" + "github.com/crunchydata/postgres-operator/v4/internal/controller" log "github.com/sirupsen/logrus" corev1 "k8s.io/api/core/v1" diff --git a/internal/controller/pgcluster/pgclustercontroller.go b/internal/controller/pgcluster/pgclustercontroller.go index d55b15fd55..c795f92da5 100644 --- a/internal/controller/pgcluster/pgclustercontroller.go +++ b/internal/controller/pgcluster/pgclustercontroller.go @@ -21,13 +21,13 @@ import ( "strconv" "strings" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - backrestoperator "github.com/crunchydata/postgres-operator/internal/operator/backrest" - clusteroperator "github.com/crunchydata/postgres-operator/internal/operator/cluster" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - informers "github.com/crunchydata/postgres-operator/pkg/generated/informers/externalversions/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + backrestoperator "github.com/crunchydata/postgres-operator/v4/internal/operator/backrest" + clusteroperator "github.com/crunchydata/postgres-operator/v4/internal/operator/cluster" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + informers "github.com/crunchydata/postgres-operator/v4/pkg/generated/informers/externalversions/crunchydata.com/v1" log "github.com/sirupsen/logrus" "k8s.io/client-go/kubernetes" diff --git a/internal/controller/pgpolicy/pgpolicycontroller.go b/internal/controller/pgpolicy/pgpolicycontroller.go index 5b6d30df30..509a228279 100644 --- a/internal/controller/pgpolicy/pgpolicycontroller.go +++ b/internal/controller/pgpolicy/pgpolicycontroller.go @@ -18,16 +18,16 @@ limitations under the License. import ( "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - informers "github.com/crunchydata/postgres-operator/pkg/generated/informers/externalversions/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + informers "github.com/crunchydata/postgres-operator/v4/pkg/generated/informers/externalversions/crunchydata.com/v1" log "github.com/sirupsen/logrus" "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" "k8s.io/client-go/tools/cache" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - "github.com/crunchydata/postgres-operator/pkg/events" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/pkg/events" ) // Controller holds connections for the controller diff --git a/internal/controller/pgreplica/pgreplicacontroller.go b/internal/controller/pgreplica/pgreplicacontroller.go index 3b66395db0..2dea955b5e 100644 --- a/internal/controller/pgreplica/pgreplicacontroller.go +++ b/internal/controller/pgreplica/pgreplicacontroller.go @@ -18,11 +18,11 @@ limitations under the License. import ( "strings" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - clusteroperator "github.com/crunchydata/postgres-operator/internal/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" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + clusteroperator "github.com/crunchydata/postgres-operator/v4/internal/operator/cluster" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + informers "github.com/crunchydata/postgres-operator/v4/pkg/generated/informers/externalversions/crunchydata.com/v1" log "github.com/sirupsen/logrus" "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" diff --git a/internal/controller/pgtask/pgtaskcontroller.go b/internal/controller/pgtask/pgtaskcontroller.go index 430e32924a..ad2c3982d1 100644 --- a/internal/controller/pgtask/pgtaskcontroller.go +++ b/internal/controller/pgtask/pgtaskcontroller.go @@ -18,14 +18,14 @@ limitations under the License. import ( "strings" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - backrestoperator "github.com/crunchydata/postgres-operator/internal/operator/backrest" - clusteroperator "github.com/crunchydata/postgres-operator/internal/operator/cluster" - pgdumpoperator "github.com/crunchydata/postgres-operator/internal/operator/pgdump" - taskoperator "github.com/crunchydata/postgres-operator/internal/operator/task" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - informers "github.com/crunchydata/postgres-operator/pkg/generated/informers/externalversions/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + backrestoperator "github.com/crunchydata/postgres-operator/v4/internal/operator/backrest" + clusteroperator "github.com/crunchydata/postgres-operator/v4/internal/operator/cluster" + pgdumpoperator "github.com/crunchydata/postgres-operator/v4/internal/operator/pgdump" + taskoperator "github.com/crunchydata/postgres-operator/v4/internal/operator/task" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + informers "github.com/crunchydata/postgres-operator/v4/pkg/generated/informers/externalversions/crunchydata.com/v1" log "github.com/sirupsen/logrus" "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" diff --git a/internal/controller/pod/inithandler.go b/internal/controller/pod/inithandler.go index 395494af3d..0106e0e47b 100644 --- a/internal/controller/pod/inithandler.go +++ b/internal/controller/pod/inithandler.go @@ -19,16 +19,16 @@ import ( "fmt" "strconv" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/controller" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator" - "github.com/crunchydata/postgres-operator/internal/operator/backrest" - backrestoperator "github.com/crunchydata/postgres-operator/internal/operator/backrest" - clusteroperator "github.com/crunchydata/postgres-operator/internal/operator/cluster" - taskoperator "github.com/crunchydata/postgres-operator/internal/operator/task" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/controller" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator" + "github.com/crunchydata/postgres-operator/v4/internal/operator/backrest" + backrestoperator "github.com/crunchydata/postgres-operator/v4/internal/operator/backrest" + clusteroperator "github.com/crunchydata/postgres-operator/v4/internal/operator/cluster" + taskoperator "github.com/crunchydata/postgres-operator/v4/internal/operator/task" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" apiv1 "k8s.io/api/core/v1" kerrors "k8s.io/apimachinery/pkg/api/errors" diff --git a/internal/controller/pod/podcontroller.go b/internal/controller/pod/podcontroller.go index 2e066e78c6..940a5b1dbc 100644 --- a/internal/controller/pod/podcontroller.go +++ b/internal/controller/pod/podcontroller.go @@ -18,10 +18,10 @@ limitations under the License. import ( "strings" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" apiv1 "k8s.io/api/core/v1" diff --git a/internal/controller/pod/podevents.go b/internal/controller/pod/podevents.go index dc0b53766b..a919c1239f 100644 --- a/internal/controller/pod/podevents.go +++ b/internal/controller/pod/podevents.go @@ -18,9 +18,9 @@ limitations under the License. import ( "time" - "github.com/crunchydata/postgres-operator/internal/config" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - "github.com/crunchydata/postgres-operator/pkg/events" + "github.com/crunchydata/postgres-operator/v4/internal/config" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/pkg/events" log "github.com/sirupsen/logrus" ) diff --git a/internal/controller/pod/promotionhandler.go b/internal/controller/pod/promotionhandler.go index be905bcdf4..c0ccde3faf 100644 --- a/internal/controller/pod/promotionhandler.go +++ b/internal/controller/pod/promotionhandler.go @@ -21,12 +21,12 @@ import ( "strings" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/controller" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator/backrest" - clusteroperator "github.com/crunchydata/postgres-operator/internal/operator/cluster" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/controller" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator/backrest" + clusteroperator "github.com/crunchydata/postgres-operator/v4/internal/operator/cluster" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" apiv1 "k8s.io/api/core/v1" "k8s.io/client-go/kubernetes" diff --git a/internal/kubeapi/client_config.go b/internal/kubeapi/client_config.go index 64a544c3bc..0ca1bc202a 100644 --- a/internal/kubeapi/client_config.go +++ b/internal/kubeapi/client_config.go @@ -16,7 +16,7 @@ package kubeapi */ import ( - clientset "github.com/crunchydata/postgres-operator/pkg/generated/clientset/versioned" + clientset "github.com/crunchydata/postgres-operator/v4/pkg/generated/clientset/versioned" "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" "k8s.io/client-go/tools/clientcmd" diff --git a/internal/kubeapi/pgcluster.go b/internal/kubeapi/pgcluster.go index 983138fdd4..0521da0b2c 100644 --- a/internal/kubeapi/pgcluster.go +++ b/internal/kubeapi/pgcluster.go @@ -18,7 +18,7 @@ package kubeapi import ( "encoding/json" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" jsonpatch "github.com/evanphx/json-patch" log "github.com/sirupsen/logrus" kerrors "k8s.io/apimachinery/pkg/api/errors" diff --git a/internal/kubeapi/pgpolicy.go b/internal/kubeapi/pgpolicy.go index 5d9bc30029..43aa4fefdc 100644 --- a/internal/kubeapi/pgpolicy.go +++ b/internal/kubeapi/pgpolicy.go @@ -18,7 +18,7 @@ package kubeapi import ( "encoding/json" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" jsonpatch "github.com/evanphx/json-patch" log "github.com/sirupsen/logrus" kerrors "k8s.io/apimachinery/pkg/api/errors" diff --git a/internal/kubeapi/pgreplica.go b/internal/kubeapi/pgreplica.go index baef5b6ae4..1599bff1a1 100644 --- a/internal/kubeapi/pgreplica.go +++ b/internal/kubeapi/pgreplica.go @@ -18,7 +18,7 @@ package kubeapi import ( "encoding/json" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" jsonpatch "github.com/evanphx/json-patch" log "github.com/sirupsen/logrus" kerrors "k8s.io/apimachinery/pkg/api/errors" diff --git a/internal/kubeapi/pgtask.go b/internal/kubeapi/pgtask.go index d507d047bd..1565d8fc39 100644 --- a/internal/kubeapi/pgtask.go +++ b/internal/kubeapi/pgtask.go @@ -19,7 +19,7 @@ import ( "encoding/json" "time" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" jsonpatch "github.com/evanphx/json-patch" log "github.com/sirupsen/logrus" kerrors "k8s.io/apimachinery/pkg/api/errors" diff --git a/internal/logging/loglib.go b/internal/logging/loglib.go index c109d435f5..3b3b17c7b5 100644 --- a/internal/logging/loglib.go +++ b/internal/logging/loglib.go @@ -22,7 +22,7 @@ import ( "regexp" "runtime" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/internal/ns/nslogic.go b/internal/ns/nslogic.go index a74ece2153..5415a92cc3 100644 --- a/internal/ns/nslogic.go +++ b/internal/ns/nslogic.go @@ -26,9 +26,9 @@ import ( "text/template" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/pkg/events" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/pkg/events" log "github.com/sirupsen/logrus" authorizationapi "k8s.io/api/authorization/v1" diff --git a/internal/operator/backrest/backup.go b/internal/operator/backrest/backup.go index 0d5f3c5f9c..cdac0e91a4 100644 --- a/internal/operator/backrest/backup.go +++ b/internal/operator/backrest/backup.go @@ -24,12 +24,12 @@ import ( "strings" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - "github.com/crunchydata/postgres-operator/pkg/events" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/pkg/events" log "github.com/sirupsen/logrus" v1batch "k8s.io/api/batch/v1" v1 "k8s.io/api/core/v1" diff --git a/internal/operator/backrest/repo.go b/internal/operator/backrest/repo.go index d6295dd671..aed16c3ab0 100644 --- a/internal/operator/backrest/repo.go +++ b/internal/operator/backrest/repo.go @@ -21,12 +21,12 @@ import ( "fmt" "os" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator" - "github.com/crunchydata/postgres-operator/internal/operator/pvc" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator" + "github.com/crunchydata/postgres-operator/v4/internal/operator/pvc" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" appsv1 "k8s.io/api/apps/v1" diff --git a/internal/operator/backrest/restore.go b/internal/operator/backrest/restore.go index 9a74b7c72c..3b33138381 100644 --- a/internal/operator/backrest/restore.go +++ b/internal/operator/backrest/restore.go @@ -23,13 +23,13 @@ import ( "strings" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator" - "github.com/crunchydata/postgres-operator/internal/operator/pvc" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - "github.com/crunchydata/postgres-operator/pkg/events" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator" + "github.com/crunchydata/postgres-operator/v4/internal/operator/pvc" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/pkg/events" log "github.com/sirupsen/logrus" appsv1 "k8s.io/api/apps/v1" v1batch "k8s.io/api/batch/v1" diff --git a/internal/operator/backrest/stanza.go b/internal/operator/backrest/stanza.go index 9a6827779f..ac3cfacb4c 100644 --- a/internal/operator/backrest/stanza.go +++ b/internal/operator/backrest/stanza.go @@ -18,11 +18,11 @@ package backrest import ( "strings" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" diff --git a/internal/operator/cluster/clone.go b/internal/operator/cluster/clone.go index eaac50443e..c1edb32bf3 100644 --- a/internal/operator/cluster/clone.go +++ b/internal/operator/cluster/clone.go @@ -23,15 +23,15 @@ import ( "strings" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator" - "github.com/crunchydata/postgres-operator/internal/operator/backrest" - "github.com/crunchydata/postgres-operator/internal/operator/pvc" - "github.com/crunchydata/postgres-operator/internal/util" - 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" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator" + "github.com/crunchydata/postgres-operator/v4/internal/operator/backrest" + "github.com/crunchydata/postgres-operator/v4/internal/operator/pvc" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pkg/events" log "github.com/sirupsen/logrus" batch_v1 "k8s.io/api/batch/v1" v1 "k8s.io/api/core/v1" diff --git a/internal/operator/cluster/cluster.go b/internal/operator/cluster/cluster.go index 093137d35b..4f365447e9 100644 --- a/internal/operator/cluster/cluster.go +++ b/internal/operator/cluster/cluster.go @@ -23,13 +23,13 @@ import ( "strconv" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator" - "github.com/crunchydata/postgres-operator/internal/operator/pvc" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - "github.com/crunchydata/postgres-operator/pkg/events" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator" + "github.com/crunchydata/postgres-operator/v4/internal/operator/pvc" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/pkg/events" log "github.com/sirupsen/logrus" apps_v1 "k8s.io/api/apps/v1" diff --git a/internal/operator/cluster/clusterlogic.go b/internal/operator/cluster/clusterlogic.go index 109cb7fb33..9d8a0e6566 100644 --- a/internal/operator/cluster/clusterlogic.go +++ b/internal/operator/cluster/clusterlogic.go @@ -25,13 +25,13 @@ import ( "os" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator" - "github.com/crunchydata/postgres-operator/internal/operator/backrest" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - "github.com/crunchydata/postgres-operator/pkg/events" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator" + "github.com/crunchydata/postgres-operator/v4/internal/operator/backrest" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/pkg/events" log "github.com/sirupsen/logrus" appsv1 "k8s.io/api/apps/v1" v1 "k8s.io/api/core/v1" diff --git a/internal/operator/cluster/failover.go b/internal/operator/cluster/failover.go index 1715811ec8..85fb51db4b 100644 --- a/internal/operator/cluster/failover.go +++ b/internal/operator/cluster/failover.go @@ -22,10 +22,10 @@ import ( "encoding/json" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - "github.com/crunchydata/postgres-operator/pkg/events" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/pkg/events" jsonpatch "github.com/evanphx/json-patch" log "github.com/sirupsen/logrus" "k8s.io/apimachinery/pkg/types" diff --git a/internal/operator/cluster/failoverlogic.go b/internal/operator/cluster/failoverlogic.go index 71ddc67901..79cd027819 100644 --- a/internal/operator/cluster/failoverlogic.go +++ b/internal/operator/cluster/failoverlogic.go @@ -22,11 +22,11 @@ import ( "fmt" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - "github.com/crunchydata/postgres-operator/pkg/events" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/pkg/events" log "github.com/sirupsen/logrus" appsv1 "k8s.io/api/apps/v1" v1 "k8s.io/api/core/v1" diff --git a/internal/operator/cluster/pgadmin.go b/internal/operator/cluster/pgadmin.go index 3d1ae8dbf8..8c65514452 100644 --- a/internal/operator/cluster/pgadmin.go +++ b/internal/operator/cluster/pgadmin.go @@ -24,14 +24,14 @@ import ( "os" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator" - "github.com/crunchydata/postgres-operator/internal/operator/pvc" - "github.com/crunchydata/postgres-operator/internal/pgadmin" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - "github.com/crunchydata/postgres-operator/pkg/events" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator" + "github.com/crunchydata/postgres-operator/v4/internal/operator/pvc" + "github.com/crunchydata/postgres-operator/v4/internal/pgadmin" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/pkg/events" log "github.com/sirupsen/logrus" appsv1 "k8s.io/api/apps/v1" diff --git a/internal/operator/cluster/pgbouncer.go b/internal/operator/cluster/pgbouncer.go index f9646edb86..e69cccf241 100644 --- a/internal/operator/cluster/pgbouncer.go +++ b/internal/operator/cluster/pgbouncer.go @@ -26,13 +26,13 @@ import ( "strings" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator" - pgpassword "github.com/crunchydata/postgres-operator/internal/postgres/password" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - "github.com/crunchydata/postgres-operator/pkg/events" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator" + pgpassword "github.com/crunchydata/postgres-operator/v4/internal/postgres/password" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/pkg/events" log "github.com/sirupsen/logrus" appsv1 "k8s.io/api/apps/v1" diff --git a/internal/operator/cluster/pgbouncer_test.go b/internal/operator/cluster/pgbouncer_test.go index 06ff30d8b6..9fac15cd46 100644 --- a/internal/operator/cluster/pgbouncer_test.go +++ b/internal/operator/cluster/pgbouncer_test.go @@ -18,7 +18,7 @@ package cluster import ( "testing" - pgpassword "github.com/crunchydata/postgres-operator/internal/postgres/password" + pgpassword "github.com/crunchydata/postgres-operator/v4/internal/postgres/password" ) func TestMakePostgresPassword(t *testing.T) { diff --git a/internal/operator/cluster/rmdata.go b/internal/operator/cluster/rmdata.go index 9334c21374..8904185b9e 100644 --- a/internal/operator/cluster/rmdata.go +++ b/internal/operator/cluster/rmdata.go @@ -24,11 +24,11 @@ import ( "os" "strconv" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" v1batch "k8s.io/api/batch/v1" "k8s.io/client-go/kubernetes" diff --git a/internal/operator/cluster/service.go b/internal/operator/cluster/service.go index d1818215fa..b59d3b1ad3 100644 --- a/internal/operator/cluster/service.go +++ b/internal/operator/cluster/service.go @@ -21,9 +21,9 @@ package cluster import ( "bytes" "encoding/json" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator" log "github.com/sirupsen/logrus" "k8s.io/api/core/v1" "k8s.io/client-go/kubernetes" diff --git a/internal/operator/cluster/standby.go b/internal/operator/cluster/standby.go index 305f2b4d88..a2cd73e7ca 100644 --- a/internal/operator/cluster/standby.go +++ b/internal/operator/cluster/standby.go @@ -24,16 +24,16 @@ import ( kerrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/types" - "github.com/crunchydata/postgres-operator/internal/operator" - "github.com/crunchydata/postgres-operator/internal/operator/pvc" - "github.com/crunchydata/postgres-operator/internal/util" - "github.com/crunchydata/postgres-operator/pkg/events" + "github.com/crunchydata/postgres-operator/v4/internal/operator" + "github.com/crunchydata/postgres-operator/v4/internal/operator/pvc" + "github.com/crunchydata/postgres-operator/v4/internal/util" + "github.com/crunchydata/postgres-operator/v4/pkg/events" log "github.com/sirupsen/logrus" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - cfg "github.com/crunchydata/postgres-operator/internal/operator/config" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + cfg "github.com/crunchydata/postgres-operator/v4/internal/operator/config" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" ) diff --git a/internal/operator/cluster/upgrade.go b/internal/operator/cluster/upgrade.go index 7758a907fd..cdf62acdd1 100644 --- a/internal/operator/cluster/upgrade.go +++ b/internal/operator/cluster/upgrade.go @@ -22,12 +22,12 @@ import ( "strconv" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - "github.com/crunchydata/postgres-operator/pkg/events" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/pkg/events" log "github.com/sirupsen/logrus" diff --git a/internal/operator/clusterutilities.go b/internal/operator/clusterutilities.go index 3df3d8fd8e..1b09e136ec 100644 --- a/internal/operator/clusterutilities.go +++ b/internal/operator/clusterutilities.go @@ -23,10 +23,10 @@ import ( "strconv" "strings" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" apps_v1 "k8s.io/api/apps/v1" diff --git a/internal/operator/clusterutilities_test.go b/internal/operator/clusterutilities_test.go index 499719343e..7b81487cba 100644 --- a/internal/operator/clusterutilities_test.go +++ b/internal/operator/clusterutilities_test.go @@ -19,7 +19,7 @@ import ( "fmt" "testing" - "github.com/crunchydata/postgres-operator/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/config" v1 "k8s.io/api/core/v1" ) diff --git a/internal/operator/common.go b/internal/operator/common.go index a1069c6832..6996e799bb 100644 --- a/internal/operator/common.go +++ b/internal/operator/common.go @@ -21,9 +21,9 @@ import ( "os" "strings" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/ns" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/ns" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" v1 "k8s.io/api/core/v1" diff --git a/internal/operator/config/configutil.go b/internal/operator/config/configutil.go index af6bc62f35..7b51d1e4a6 100644 --- a/internal/operator/config/configutil.go +++ b/internal/operator/config/configutil.go @@ -20,7 +20,7 @@ import ( "errors" "fmt" - "github.com/crunchydata/postgres-operator/internal/util" + "github.com/crunchydata/postgres-operator/v4/internal/util" corev1 "k8s.io/api/core/v1" "k8s.io/client-go/kubernetes" diff --git a/internal/operator/config/dcs.go b/internal/operator/config/dcs.go index 7b5c721c5f..5910a8d938 100644 --- a/internal/operator/config/dcs.go +++ b/internal/operator/config/dcs.go @@ -21,8 +21,8 @@ import ( "fmt" "reflect" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/util" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/util" log "github.com/sirupsen/logrus" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/internal/operator/config/localdb.go b/internal/operator/config/localdb.go index e483423280..871b957899 100644 --- a/internal/operator/config/localdb.go +++ b/internal/operator/config/localdb.go @@ -22,9 +22,9 @@ import ( "strings" "sync" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/util" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/util" log "github.com/sirupsen/logrus" corev1 "k8s.io/api/core/v1" diff --git a/internal/operator/operatorupgrade/version-check.go b/internal/operator/operatorupgrade/version-check.go index 16f653cd60..3b781ecfb2 100644 --- a/internal/operator/operatorupgrade/version-check.go +++ b/internal/operator/operatorupgrade/version-check.go @@ -16,10 +16,10 @@ package operatorupgrade */ import ( - "github.com/crunchydata/postgres-operator/internal/config" - "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/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" diff --git a/internal/operator/pgdump/dump.go b/internal/operator/pgdump/dump.go index c89d527157..a66b109eff 100644 --- a/internal/operator/pgdump/dump.go +++ b/internal/operator/pgdump/dump.go @@ -20,12 +20,12 @@ import ( "encoding/json" "os" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator" - "github.com/crunchydata/postgres-operator/internal/operator/pvc" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator" + "github.com/crunchydata/postgres-operator/v4/internal/operator/pvc" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" v1batch "k8s.io/api/batch/v1" "k8s.io/client-go/kubernetes" diff --git a/internal/operator/pgdump/restore.go b/internal/operator/pgdump/restore.go index 17661c6ba5..b68c8c5ada 100644 --- a/internal/operator/pgdump/restore.go +++ b/internal/operator/pgdump/restore.go @@ -20,12 +20,12 @@ import ( "encoding/json" "os" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator" - "github.com/crunchydata/postgres-operator/internal/operator/pvc" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator" + "github.com/crunchydata/postgres-operator/v4/internal/operator/pvc" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" v1batch "k8s.io/api/batch/v1" "k8s.io/client-go/kubernetes" diff --git a/internal/operator/pvc/pvc.go b/internal/operator/pvc/pvc.go index 3cf0546ffa..c7213e994d 100644 --- a/internal/operator/pvc/pvc.go +++ b/internal/operator/pvc/pvc.go @@ -22,10 +22,10 @@ import ( "os" "strings" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" v1 "k8s.io/api/core/v1" "k8s.io/client-go/kubernetes" diff --git a/internal/operator/task/applypolicies.go b/internal/operator/task/applypolicies.go index 361480d8c0..6b71abe6e7 100644 --- a/internal/operator/task/applypolicies.go +++ b/internal/operator/task/applypolicies.go @@ -19,9 +19,9 @@ import ( "encoding/json" "strings" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" jsonpatch "github.com/evanphx/json-patch" log "github.com/sirupsen/logrus" "k8s.io/apimachinery/pkg/types" diff --git a/internal/operator/task/rmbackups.go b/internal/operator/task/rmbackups.go index f664982ef7..a82871a16e 100644 --- a/internal/operator/task/rmbackups.go +++ b/internal/operator/task/rmbackups.go @@ -16,9 +16,9 @@ package task */ import ( - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" "k8s.io/client-go/kubernetes" ) diff --git a/internal/operator/task/rmdata.go b/internal/operator/task/rmdata.go index e596b2c2f2..f3021e159c 100644 --- a/internal/operator/task/rmdata.go +++ b/internal/operator/task/rmdata.go @@ -21,12 +21,12 @@ import ( "os" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - "github.com/crunchydata/postgres-operator/pkg/events" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/pkg/events" jsonpatch "github.com/evanphx/json-patch" log "github.com/sirupsen/logrus" v1batch "k8s.io/api/batch/v1" diff --git a/internal/operator/task/workflow.go b/internal/operator/task/workflow.go index d4016bd70f..4189b8dab5 100644 --- a/internal/operator/task/workflow.go +++ b/internal/operator/task/workflow.go @@ -16,8 +16,8 @@ package task */ import ( - "github.com/crunchydata/postgres-operator/internal/kubeapi" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" diff --git a/internal/operator/wal.go b/internal/operator/wal.go index 1b679755fb..4ac84cad97 100644 --- a/internal/operator/wal.go +++ b/internal/operator/wal.go @@ -16,7 +16,7 @@ package operator */ import ( - "github.com/crunchydata/postgres-operator/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/config" core_v1 "k8s.io/api/core/v1" ) diff --git a/internal/patroni/patroni.go b/internal/patroni/patroni.go index e1bc58a01a..393e01cb3b 100644 --- a/internal/patroni/patroni.go +++ b/internal/patroni/patroni.go @@ -25,8 +25,8 @@ import ( "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" ) // dbContainerName is the name of the container containing the PG database in a PG (primary or diff --git a/internal/pgadmin/logic.go b/internal/pgadmin/logic.go index aebc7f05cd..5127ede086 100644 --- a/internal/pgadmin/logic.go +++ b/internal/pgadmin/logic.go @@ -19,9 +19,9 @@ import ( "fmt" "strings" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" v1 "k8s.io/api/core/v1" diff --git a/internal/pgadmin/runner.go b/internal/pgadmin/runner.go index acaeeb2679..f7164935e5 100644 --- a/internal/pgadmin/runner.go +++ b/internal/pgadmin/runner.go @@ -20,7 +20,7 @@ import ( "strings" "time" - "github.com/crunchydata/postgres-operator/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" log "github.com/sirupsen/logrus" v1 "k8s.io/api/core/v1" diff --git a/internal/util/backrest.go b/internal/util/backrest.go index 8a6911f88d..eea6f2a085 100644 --- a/internal/util/backrest.go +++ b/internal/util/backrest.go @@ -20,7 +20,7 @@ import ( "fmt" "strings" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" ) const ( diff --git a/internal/util/clone.go b/internal/util/clone.go index a1d563262c..2e4fb3bbc2 100644 --- a/internal/util/clone.go +++ b/internal/util/clone.go @@ -19,8 +19,8 @@ import ( "fmt" "time" - "github.com/crunchydata/postgres-operator/internal/config" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/internal/util/cluster.go b/internal/util/cluster.go index ec10428a8a..f98cc29d02 100644 --- a/internal/util/cluster.go +++ b/internal/util/cluster.go @@ -21,9 +21,9 @@ import ( "strconv" "strings" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" v1 "k8s.io/api/core/v1" diff --git a/internal/util/failover.go b/internal/util/failover.go index c77d94b4ea..c96139cd8f 100644 --- a/internal/util/failover.go +++ b/internal/util/failover.go @@ -20,8 +20,8 @@ import ( "errors" "fmt" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" log "github.com/sirupsen/logrus" v1 "k8s.io/api/core/v1" diff --git a/internal/util/pgbouncer.go b/internal/util/pgbouncer.go index a31ecd3a9c..70c89b2cac 100644 --- a/internal/util/pgbouncer.go +++ b/internal/util/pgbouncer.go @@ -18,7 +18,7 @@ package util import ( "fmt" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" ) // pgBouncerSecretFormat is the name of the Kubernetes Secret that pgBouncer diff --git a/internal/util/policy.go b/internal/util/policy.go index daff3c493f..6ae44bc38f 100644 --- a/internal/util/policy.go +++ b/internal/util/policy.go @@ -22,9 +22,9 @@ import ( "net/http" "strings" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" "io/ioutil" diff --git a/internal/util/secrets.go b/internal/util/secrets.go index 3fb79770a3..54639795e0 100644 --- a/internal/util/secrets.go +++ b/internal/util/secrets.go @@ -22,9 +22,9 @@ import ( "strconv" "strings" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" v1 "k8s.io/api/core/v1" "k8s.io/client-go/kubernetes" diff --git a/internal/util/util.go b/internal/util/util.go index f0c6ee9494..ba58375ba6 100644 --- a/internal/util/util.go +++ b/internal/util/util.go @@ -23,9 +23,9 @@ import ( "strings" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" jsonpatch "github.com/evanphx/json-patch" log "github.com/sirupsen/logrus" diff --git a/pgo-backrest/pgo-backrest.go b/pgo-backrest/pgo-backrest.go index d1fd577033..18e13c52dd 100644 --- a/pgo-backrest/pgo-backrest.go +++ b/pgo-backrest/pgo-backrest.go @@ -20,8 +20,8 @@ import ( "strconv" "strings" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" ) diff --git a/pgo-rmdata/pgo-rmdata.go b/pgo-rmdata/pgo-rmdata.go index eb8f29b0b7..56b0f84b74 100644 --- a/pgo-rmdata/pgo-rmdata.go +++ b/pgo-rmdata/pgo-rmdata.go @@ -19,9 +19,9 @@ import ( "flag" "os" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - crunchylog "github.com/crunchydata/postgres-operator/internal/logging" - "github.com/crunchydata/postgres-operator/pgo-rmdata/rmdata" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crunchylog "github.com/crunchydata/postgres-operator/v4/internal/logging" + "github.com/crunchydata/postgres-operator/v4/pgo-rmdata/rmdata" log "github.com/sirupsen/logrus" "k8s.io/client-go/kubernetes" ) diff --git a/pgo-rmdata/rmdata/process.go b/pgo-rmdata/rmdata/process.go index d935eddd32..6801cba7e0 100644 --- a/pgo-rmdata/rmdata/process.go +++ b/pgo-rmdata/rmdata/process.go @@ -20,10 +20,10 @@ import ( "fmt" "strings" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" kerror "k8s.io/apimachinery/pkg/api/errors" diff --git a/pgo-scheduler/pgo-scheduler.go b/pgo-scheduler/pgo-scheduler.go index c5a3db8ee4..f0d3d8fdae 100644 --- a/pgo-scheduler/pgo-scheduler.go +++ b/pgo-scheduler/pgo-scheduler.go @@ -24,14 +24,14 @@ import ( "syscall" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/controller" - nscontroller "github.com/crunchydata/postgres-operator/internal/controller/namespace" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - crunchylog "github.com/crunchydata/postgres-operator/internal/logging" - "github.com/crunchydata/postgres-operator/internal/ns" - "github.com/crunchydata/postgres-operator/pgo-scheduler/scheduler" - sched "github.com/crunchydata/postgres-operator/pgo-scheduler/scheduler" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/controller" + nscontroller "github.com/crunchydata/postgres-operator/v4/internal/controller/namespace" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crunchylog "github.com/crunchydata/postgres-operator/v4/internal/logging" + "github.com/crunchydata/postgres-operator/v4/internal/ns" + "github.com/crunchydata/postgres-operator/v4/pgo-scheduler/scheduler" + sched "github.com/crunchydata/postgres-operator/v4/pgo-scheduler/scheduler" log "github.com/sirupsen/logrus" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" kubeinformers "k8s.io/client-go/informers" diff --git a/pgo-scheduler/scheduler/controllermanager.go b/pgo-scheduler/scheduler/controllermanager.go index cc9219d968..e4f150c0e7 100644 --- a/pgo-scheduler/scheduler/controllermanager.go +++ b/pgo-scheduler/scheduler/controllermanager.go @@ -20,9 +20,9 @@ import ( "fmt" "sync" - "github.com/crunchydata/postgres-operator/internal/controller" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/ns" + "github.com/crunchydata/postgres-operator/v4/internal/controller" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/ns" log "github.com/sirupsen/logrus" "golang.org/x/sync/semaphore" diff --git a/pgo-scheduler/scheduler/pgbackrest.go b/pgo-scheduler/scheduler/pgbackrest.go index 8902567c63..8263ce0b8f 100644 --- a/pgo-scheduler/scheduler/pgbackrest.go +++ b/pgo-scheduler/scheduler/pgbackrest.go @@ -19,9 +19,9 @@ import ( "fmt" "time" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" kerrors "k8s.io/apimachinery/pkg/api/errors" ) diff --git a/pgo-scheduler/scheduler/policy.go b/pgo-scheduler/scheduler/policy.go index b9b5c3b711..50696bccb8 100644 --- a/pgo-scheduler/scheduler/policy.go +++ b/pgo-scheduler/scheduler/policy.go @@ -21,12 +21,12 @@ import ( "fmt" "time" - "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/operator" - "github.com/crunchydata/postgres-operator/internal/util" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator" + "github.com/crunchydata/postgres-operator/v4/internal/util" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" log "github.com/sirupsen/logrus" v1batch "k8s.io/api/batch/v1" v1 "k8s.io/api/core/v1" diff --git a/pgo-scheduler/scheduler/scheduler.go b/pgo-scheduler/scheduler/scheduler.go index cfd4ce2fc3..e5b96d59e9 100644 --- a/pgo-scheduler/scheduler/scheduler.go +++ b/pgo-scheduler/scheduler/scheduler.go @@ -22,10 +22,10 @@ import ( "io/ioutil" "time" - "github.com/crunchydata/postgres-operator/internal/apiserver" + "github.com/crunchydata/postgres-operator/v4/internal/apiserver" log "github.com/sirupsen/logrus" - cv2 "github.com/robfig/cron" + cv2 "github.com/robfig/cron/v3" v1 "k8s.io/api/core/v1" "k8s.io/client-go/kubernetes" ) diff --git a/pgo-scheduler/scheduler/tasks.go b/pgo-scheduler/scheduler/tasks.go index a2c715d3be..0d1778aeda 100644 --- a/pgo-scheduler/scheduler/tasks.go +++ b/pgo-scheduler/scheduler/tasks.go @@ -18,8 +18,8 @@ package scheduler import ( "fmt" - "github.com/crunchydata/postgres-operator/internal/config" - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/internal/config" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/pgo-scheduler/scheduler/types.go b/pgo-scheduler/scheduler/types.go index 3a4b7458b7..7188d8817e 100644 --- a/pgo-scheduler/scheduler/types.go +++ b/pgo-scheduler/scheduler/types.go @@ -21,7 +21,7 @@ import ( "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" - cv2 "github.com/robfig/cron" + cv2 "github.com/robfig/cron/v3" ) var kubeClient *kubernetes.Clientset diff --git a/pgo/api/backrest.go b/pgo/api/backrest.go index 13e2ff702b..4d23e49b68 100644 --- a/pgo/api/backrest.go +++ b/pgo/api/backrest.go @@ -21,7 +21,7 @@ import ( "fmt" "net/http" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/pgo/api/cat.go b/pgo/api/cat.go index 00d17c7fb6..5913fd2532 100644 --- a/pgo/api/cat.go +++ b/pgo/api/cat.go @@ -18,7 +18,7 @@ package api import ( "bytes" "encoding/json" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/pgo/api/clone.go b/pgo/api/clone.go index 2e7ebfccba..43c114708f 100644 --- a/pgo/api/clone.go +++ b/pgo/api/clone.go @@ -18,7 +18,7 @@ package api import ( "bytes" "encoding/json" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/pgo/api/cluster.go b/pgo/api/cluster.go index 74407c0dbc..bf91262d82 100644 --- a/pgo/api/cluster.go +++ b/pgo/api/cluster.go @@ -21,7 +21,7 @@ import ( "fmt" "net/http" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/pgo/api/config.go b/pgo/api/config.go index 90848edcfd..81703cac2f 100644 --- a/pgo/api/config.go +++ b/pgo/api/config.go @@ -18,7 +18,7 @@ package api import ( "encoding/json" "fmt" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/pgo/api/df.go b/pgo/api/df.go index fa993051aa..de26b5e6ff 100644 --- a/pgo/api/df.go +++ b/pgo/api/df.go @@ -21,7 +21,7 @@ import ( "fmt" "net/http" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/pgo/api/failover.go b/pgo/api/failover.go index 4ebbab9471..d38eb04b24 100644 --- a/pgo/api/failover.go +++ b/pgo/api/failover.go @@ -19,7 +19,7 @@ import ( "bytes" "encoding/json" "fmt" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/pgo/api/label.go b/pgo/api/label.go index e083f998a8..dd025cd551 100644 --- a/pgo/api/label.go +++ b/pgo/api/label.go @@ -18,7 +18,7 @@ package api import ( "bytes" "encoding/json" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/pgo/api/load.go b/pgo/api/load.go index 8d8f1a8bd8..8ecacb117e 100644 --- a/pgo/api/load.go +++ b/pgo/api/load.go @@ -18,7 +18,7 @@ package api import ( "bytes" "encoding/json" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/pgo/api/namespace.go b/pgo/api/namespace.go index 96f10ba8d7..1f107e3f63 100644 --- a/pgo/api/namespace.go +++ b/pgo/api/namespace.go @@ -19,7 +19,7 @@ import ( "bytes" "encoding/json" "fmt" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/pgo/api/pgadmin.go b/pgo/api/pgadmin.go index 0d410355cd..fc6e6c0d6e 100644 --- a/pgo/api/pgadmin.go +++ b/pgo/api/pgadmin.go @@ -21,7 +21,7 @@ import ( "io/ioutil" "net/http" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/pgo/api/pgbouncer.go b/pgo/api/pgbouncer.go index efee86ca53..9ab865bc15 100644 --- a/pgo/api/pgbouncer.go +++ b/pgo/api/pgbouncer.go @@ -18,7 +18,7 @@ package api import ( "bytes" "encoding/json" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/pgo/api/pgdump.go b/pgo/api/pgdump.go index 3bc0804c7b..ddace84220 100644 --- a/pgo/api/pgdump.go +++ b/pgo/api/pgdump.go @@ -21,7 +21,7 @@ import ( "fmt" "net/http" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/pgo/api/pgorole.go b/pgo/api/pgorole.go index 804f0c1eb2..e7fb9048fb 100644 --- a/pgo/api/pgorole.go +++ b/pgo/api/pgorole.go @@ -19,7 +19,7 @@ import ( "bytes" "encoding/json" "fmt" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/pgo/api/pgouser.go b/pgo/api/pgouser.go index e0026d20ca..471ab3954b 100644 --- a/pgo/api/pgouser.go +++ b/pgo/api/pgouser.go @@ -19,7 +19,7 @@ import ( "bytes" "encoding/json" "fmt" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/pgo/api/policy.go b/pgo/api/policy.go index b7e9cf5d6f..19a1e0c72f 100644 --- a/pgo/api/policy.go +++ b/pgo/api/policy.go @@ -19,7 +19,7 @@ import ( "bytes" "encoding/json" "fmt" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/pgo/api/pvc.go b/pgo/api/pvc.go index f4fac4ceb4..b1ed79bbb0 100644 --- a/pgo/api/pvc.go +++ b/pgo/api/pvc.go @@ -19,7 +19,7 @@ import ( "bytes" "encoding/json" "fmt" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/pgo/api/reload.go b/pgo/api/reload.go index 9235cc1ea9..6e8220f8d4 100644 --- a/pgo/api/reload.go +++ b/pgo/api/reload.go @@ -18,7 +18,7 @@ package api import ( "bytes" "encoding/json" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/pgo/api/restart.go b/pgo/api/restart.go index 13dc205972..c49d0fbd31 100644 --- a/pgo/api/restart.go +++ b/pgo/api/restart.go @@ -21,7 +21,7 @@ import ( "fmt" "net/http" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/pgo/api/restore.go b/pgo/api/restore.go index e22cea904b..3f92e1be1e 100644 --- a/pgo/api/restore.go +++ b/pgo/api/restore.go @@ -18,7 +18,7 @@ package api import ( "bytes" "encoding/json" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/pgo/api/restoreDump.go b/pgo/api/restoreDump.go index bd911c1b75..644a9fd17b 100644 --- a/pgo/api/restoreDump.go +++ b/pgo/api/restoreDump.go @@ -18,7 +18,7 @@ package api import ( "bytes" "encoding/json" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/pgo/api/scale.go b/pgo/api/scale.go index 6defb09127..a1dadb34b6 100644 --- a/pgo/api/scale.go +++ b/pgo/api/scale.go @@ -21,7 +21,7 @@ import ( "net/http" "strconv" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/pgo/api/scaledown.go b/pgo/api/scaledown.go index 1cc6691b72..6f28235c11 100644 --- a/pgo/api/scaledown.go +++ b/pgo/api/scaledown.go @@ -21,8 +21,8 @@ import ( "net/http" "strconv" - "github.com/crunchydata/postgres-operator/internal/config" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/config" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/pgo/api/schedule.go b/pgo/api/schedule.go index 4007e77e1b..99f3b26a81 100644 --- a/pgo/api/schedule.go +++ b/pgo/api/schedule.go @@ -21,7 +21,7 @@ import ( "fmt" "net/http" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/pgo/api/status.go b/pgo/api/status.go index ad70bd2f96..af30ef49bc 100644 --- a/pgo/api/status.go +++ b/pgo/api/status.go @@ -18,7 +18,7 @@ package api import ( "encoding/json" "fmt" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/pgo/api/test.go b/pgo/api/test.go index 887d67b056..ff80164474 100644 --- a/pgo/api/test.go +++ b/pgo/api/test.go @@ -19,7 +19,7 @@ import ( "bytes" "encoding/json" "fmt" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/pgo/api/upgrade.go b/pgo/api/upgrade.go index 6079a29023..9a1b546de3 100644 --- a/pgo/api/upgrade.go +++ b/pgo/api/upgrade.go @@ -20,7 +20,7 @@ import ( "encoding/json" "net/http" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/pgo/api/user.go b/pgo/api/user.go index 38424ab17b..bf673d23ad 100644 --- a/pgo/api/user.go +++ b/pgo/api/user.go @@ -19,7 +19,7 @@ import ( "bytes" "encoding/json" "fmt" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/pgo/api/version.go b/pgo/api/version.go index 9ca743add1..541c60ee4b 100644 --- a/pgo/api/version.go +++ b/pgo/api/version.go @@ -18,7 +18,7 @@ package api import ( "encoding/json" "fmt" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/pgo/api/workflow.go b/pgo/api/workflow.go index 3289329aa1..db57defd8a 100644 --- a/pgo/api/workflow.go +++ b/pgo/api/workflow.go @@ -18,7 +18,7 @@ package api import ( "encoding/json" "fmt" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "net/http" ) diff --git a/pgo/cmd/auth.go b/pgo/cmd/auth.go index 322e5f5e9c..1c2776adee 100644 --- a/pgo/cmd/auth.go +++ b/pgo/cmd/auth.go @@ -27,8 +27,8 @@ import ( "strings" "time" - "github.com/crunchydata/postgres-operator/internal/tlsutil" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/tlsutil" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/pgo/cmd/backrest.go b/pgo/cmd/backrest.go index a0a183fa86..e28914916f 100644 --- a/pgo/cmd/backrest.go +++ b/pgo/cmd/backrest.go @@ -22,8 +22,8 @@ import ( "strings" "time" - "github.com/crunchydata/postgres-operator/pgo/api" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/pgo/cmd/backup.go b/pgo/cmd/backup.go index aa9b036698..81519cf9b3 100644 --- a/pgo/cmd/backup.go +++ b/pgo/cmd/backup.go @@ -19,7 +19,7 @@ package cmd import ( "fmt" - "github.com/crunchydata/postgres-operator/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/config" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) diff --git a/pgo/cmd/cat.go b/pgo/cmd/cat.go index e97301d40d..6945def6c4 100644 --- a/pgo/cmd/cat.go +++ b/pgo/cmd/cat.go @@ -18,8 +18,8 @@ package cmd import ( "fmt" - "github.com/crunchydata/postgres-operator/pgo/api" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" "os" diff --git a/pgo/cmd/clone.go b/pgo/cmd/clone.go index 0f86b5a07a..7737ec7941 100644 --- a/pgo/cmd/clone.go +++ b/pgo/cmd/clone.go @@ -20,8 +20,8 @@ import ( "fmt" "os" - "github.com/crunchydata/postgres-operator/pgo/api" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) diff --git a/pgo/cmd/cluster.go b/pgo/cmd/cluster.go index f49fdc9ca1..1448505785 100644 --- a/pgo/cmd/cluster.go +++ b/pgo/cmd/cluster.go @@ -23,9 +23,9 @@ import ( "github.com/spf13/cobra" - "github.com/crunchydata/postgres-operator/pgo/api" - "github.com/crunchydata/postgres-operator/pgo/util" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + "github.com/crunchydata/postgres-operator/v4/pgo/util" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/pgo/cmd/config.go b/pgo/cmd/config.go index 16a29d0603..16dfd19368 100644 --- a/pgo/cmd/config.go +++ b/pgo/cmd/config.go @@ -20,8 +20,8 @@ import ( "fmt" "os" - "github.com/crunchydata/postgres-operator/pgo/api" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "sigs.k8s.io/yaml" diff --git a/pgo/cmd/delete.go b/pgo/cmd/delete.go index d29341355e..64da518e37 100644 --- a/pgo/cmd/delete.go +++ b/pgo/cmd/delete.go @@ -18,7 +18,7 @@ package cmd import ( "fmt" - "github.com/crunchydata/postgres-operator/pgo/util" + "github.com/crunchydata/postgres-operator/v4/pgo/util" "github.com/spf13/cobra" ) diff --git a/pgo/cmd/df.go b/pgo/cmd/df.go index 576376d1bc..7301c6cc94 100644 --- a/pgo/cmd/df.go +++ b/pgo/cmd/df.go @@ -22,9 +22,9 @@ import ( "sort" "strings" - "github.com/crunchydata/postgres-operator/pgo/api" - "github.com/crunchydata/postgres-operator/pgo/util" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + "github.com/crunchydata/postgres-operator/v4/pgo/util" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) diff --git a/pgo/cmd/failover.go b/pgo/cmd/failover.go index 4a667429a7..f89f035125 100644 --- a/pgo/cmd/failover.go +++ b/pgo/cmd/failover.go @@ -20,9 +20,9 @@ import ( "fmt" "os" - "github.com/crunchydata/postgres-operator/pgo/api" - "github.com/crunchydata/postgres-operator/pgo/util" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + "github.com/crunchydata/postgres-operator/v4/pgo/util" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) diff --git a/pgo/cmd/label.go b/pgo/cmd/label.go index 3a888663b6..4d22b43912 100644 --- a/pgo/cmd/label.go +++ b/pgo/cmd/label.go @@ -17,8 +17,8 @@ package cmd import ( "fmt" - "github.com/crunchydata/postgres-operator/pgo/api" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" "os" diff --git a/pgo/cmd/load.go b/pgo/cmd/load.go index 3cf808835f..3cdbe42020 100644 --- a/pgo/cmd/load.go +++ b/pgo/cmd/load.go @@ -18,8 +18,8 @@ package cmd import ( "fmt" - "github.com/crunchydata/postgres-operator/pgo/api" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" "io/ioutil" diff --git a/pgo/cmd/namespace.go b/pgo/cmd/namespace.go index 1065193ad8..dc2e0892c5 100644 --- a/pgo/cmd/namespace.go +++ b/pgo/cmd/namespace.go @@ -20,9 +20,9 @@ import ( "fmt" "os" - "github.com/crunchydata/postgres-operator/pgo/api" - "github.com/crunchydata/postgres-operator/pgo/util" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + "github.com/crunchydata/postgres-operator/v4/pgo/util" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/pgo/cmd/pgadmin.go b/pgo/cmd/pgadmin.go index 52412324d4..8ec25337f2 100644 --- a/pgo/cmd/pgadmin.go +++ b/pgo/cmd/pgadmin.go @@ -20,9 +20,9 @@ import ( "os" "strings" - "github.com/crunchydata/postgres-operator/pgo/api" - "github.com/crunchydata/postgres-operator/pgo/util" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + "github.com/crunchydata/postgres-operator/v4/pgo/util" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" ) // showPgAdminTextPadding contains the values for what the text padding should be diff --git a/pgo/cmd/pgbouncer.go b/pgo/cmd/pgbouncer.go index 9d302a8cdb..ce4291ef55 100644 --- a/pgo/cmd/pgbouncer.go +++ b/pgo/cmd/pgbouncer.go @@ -20,9 +20,9 @@ import ( "os" "strings" - "github.com/crunchydata/postgres-operator/pgo/api" - "github.com/crunchydata/postgres-operator/pgo/util" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + "github.com/crunchydata/postgres-operator/v4/pgo/util" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" ) // showPgBouncerTextPadding contains the values for what the text padding should be diff --git a/pgo/cmd/pgdump.go b/pgo/cmd/pgdump.go index e40f784e4f..ed7c45f80e 100644 --- a/pgo/cmd/pgdump.go +++ b/pgo/cmd/pgdump.go @@ -18,8 +18,8 @@ package cmd import ( "fmt" - "github.com/crunchydata/postgres-operator/pgo/api" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "os" ) diff --git a/pgo/cmd/pgorole.go b/pgo/cmd/pgorole.go index 171b03e401..8c2d974a3d 100644 --- a/pgo/cmd/pgorole.go +++ b/pgo/cmd/pgorole.go @@ -17,8 +17,8 @@ package cmd import ( "fmt" - "github.com/crunchydata/postgres-operator/pgo/api" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "os" ) diff --git a/pgo/cmd/pgouser.go b/pgo/cmd/pgouser.go index 2ccc72d970..785375c73a 100644 --- a/pgo/cmd/pgouser.go +++ b/pgo/cmd/pgouser.go @@ -17,8 +17,8 @@ package cmd import ( "fmt" - "github.com/crunchydata/postgres-operator/pgo/api" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "os" ) diff --git a/pgo/cmd/policy.go b/pgo/cmd/policy.go index 3afa306923..68c7029040 100644 --- a/pgo/cmd/policy.go +++ b/pgo/cmd/policy.go @@ -17,8 +17,8 @@ package cmd import ( "fmt" - "github.com/crunchydata/postgres-operator/pgo/api" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" "io/ioutil" diff --git a/pgo/cmd/pvc.go b/pgo/cmd/pvc.go index 47bc481cb0..5a1adc25ad 100644 --- a/pgo/cmd/pvc.go +++ b/pgo/cmd/pvc.go @@ -17,8 +17,8 @@ package cmd import ( "fmt" - "github.com/crunchydata/postgres-operator/pgo/api" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "os" ) diff --git a/pgo/cmd/reload.go b/pgo/cmd/reload.go index cf6c5b647c..5a393a33a0 100644 --- a/pgo/cmd/reload.go +++ b/pgo/cmd/reload.go @@ -20,9 +20,9 @@ import ( "fmt" "os" - "github.com/crunchydata/postgres-operator/pgo/api" - "github.com/crunchydata/postgres-operator/pgo/util" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + "github.com/crunchydata/postgres-operator/v4/pgo/util" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) diff --git a/pgo/cmd/restart.go b/pgo/cmd/restart.go index c3274e96f2..2d9098b8da 100644 --- a/pgo/cmd/restart.go +++ b/pgo/cmd/restart.go @@ -21,9 +21,9 @@ import ( "fmt" "os" - "github.com/crunchydata/postgres-operator/pgo/api" - "github.com/crunchydata/postgres-operator/pgo/util" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + "github.com/crunchydata/postgres-operator/v4/pgo/util" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) diff --git a/pgo/cmd/restore.go b/pgo/cmd/restore.go index 23e223ff11..859ce14ce9 100644 --- a/pgo/cmd/restore.go +++ b/pgo/cmd/restore.go @@ -20,11 +20,11 @@ import ( "fmt" "os" - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/util" - "github.com/crunchydata/postgres-operator/pgo/api" - pgoutil "github.com/crunchydata/postgres-operator/pgo/util" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/util" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + pgoutil "github.com/crunchydata/postgres-operator/v4/pgo/util" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) diff --git a/pgo/cmd/scale.go b/pgo/cmd/scale.go index 831ec2ddf9..f89f8d25c7 100644 --- a/pgo/cmd/scale.go +++ b/pgo/cmd/scale.go @@ -19,9 +19,9 @@ import ( "fmt" "os" - "github.com/crunchydata/postgres-operator/pgo/api" - "github.com/crunchydata/postgres-operator/pgo/util" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + "github.com/crunchydata/postgres-operator/v4/pgo/util" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) diff --git a/pgo/cmd/scaledown.go b/pgo/cmd/scaledown.go index fbea9523be..e2680f59a8 100644 --- a/pgo/cmd/scaledown.go +++ b/pgo/cmd/scaledown.go @@ -19,9 +19,9 @@ import ( "fmt" "os" - "github.com/crunchydata/postgres-operator/pgo/api" - "github.com/crunchydata/postgres-operator/pgo/util" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + "github.com/crunchydata/postgres-operator/v4/pgo/util" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) diff --git a/pgo/cmd/schedule.go b/pgo/cmd/schedule.go index 5413001efb..d74dffe28f 100644 --- a/pgo/cmd/schedule.go +++ b/pgo/cmd/schedule.go @@ -21,11 +21,11 @@ import ( "os" "strings" - "github.com/crunchydata/postgres-operator/pgo-scheduler/scheduler" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo-scheduler/scheduler" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" - "github.com/crunchydata/postgres-operator/pgo/api" + "github.com/crunchydata/postgres-operator/v4/pgo/api" ) type schedule struct { diff --git a/pgo/cmd/show.go b/pgo/cmd/show.go index b42ba2a7d9..782089785e 100644 --- a/pgo/cmd/show.go +++ b/pgo/cmd/show.go @@ -18,7 +18,7 @@ package cmd import ( "fmt" - "github.com/crunchydata/postgres-operator/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/config" "github.com/spf13/cobra" ) diff --git a/pgo/cmd/status.go b/pgo/cmd/status.go index 681ad08d6c..521ba22512 100644 --- a/pgo/cmd/status.go +++ b/pgo/cmd/status.go @@ -20,9 +20,9 @@ import ( "fmt" "os" - "github.com/crunchydata/postgres-operator/pgo/api" - "github.com/crunchydata/postgres-operator/pgo/util" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + "github.com/crunchydata/postgres-operator/v4/pgo/util" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) diff --git a/pgo/cmd/test.go b/pgo/cmd/test.go index 111475fbed..1e05936fa4 100644 --- a/pgo/cmd/test.go +++ b/pgo/cmd/test.go @@ -20,8 +20,8 @@ import ( "fmt" "os" - "github.com/crunchydata/postgres-operator/pgo/api" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" diff --git a/pgo/cmd/update.go b/pgo/cmd/update.go index f24bf8b9d2..499956e43e 100644 --- a/pgo/cmd/update.go +++ b/pgo/cmd/update.go @@ -19,7 +19,7 @@ import ( "fmt" "os" - "github.com/crunchydata/postgres-operator/pgo/util" + "github.com/crunchydata/postgres-operator/v4/pgo/util" "github.com/spf13/cobra" ) diff --git a/pgo/cmd/upgrade.go b/pgo/cmd/upgrade.go index d0b06564c7..2b110277ab 100644 --- a/pgo/cmd/upgrade.go +++ b/pgo/cmd/upgrade.go @@ -20,9 +20,9 @@ import ( "fmt" "os" - "github.com/crunchydata/postgres-operator/pgo/api" - "github.com/crunchydata/postgres-operator/pgo/util" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + "github.com/crunchydata/postgres-operator/v4/pgo/util" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) diff --git a/pgo/cmd/user.go b/pgo/cmd/user.go index 7216ce9e1d..7129e671b8 100644 --- a/pgo/cmd/user.go +++ b/pgo/cmd/user.go @@ -20,10 +20,10 @@ import ( "os" "strings" - utiloperator "github.com/crunchydata/postgres-operator/internal/util" - "github.com/crunchydata/postgres-operator/pgo/api" - "github.com/crunchydata/postgres-operator/pgo/util" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + utiloperator "github.com/crunchydata/postgres-operator/v4/internal/util" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + "github.com/crunchydata/postgres-operator/v4/pgo/util" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" ) diff --git a/pgo/cmd/version.go b/pgo/cmd/version.go index 25e6253767..6f76bb393e 100644 --- a/pgo/cmd/version.go +++ b/pgo/cmd/version.go @@ -17,8 +17,8 @@ package cmd import ( "fmt" - "github.com/crunchydata/postgres-operator/pgo/api" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" "os" diff --git a/pgo/cmd/workflow.go b/pgo/cmd/workflow.go index 239fcd6ef2..ebc42bac60 100644 --- a/pgo/cmd/workflow.go +++ b/pgo/cmd/workflow.go @@ -17,9 +17,9 @@ package cmd import ( "fmt" - "github.com/crunchydata/postgres-operator/pgo/api" - "github.com/crunchydata/postgres-operator/pgo/util" - msgs "github.com/crunchydata/postgres-operator/pkg/apiservermsgs" + "github.com/crunchydata/postgres-operator/v4/pgo/api" + "github.com/crunchydata/postgres-operator/v4/pgo/util" + msgs "github.com/crunchydata/postgres-operator/v4/pkg/apiservermsgs" log "github.com/sirupsen/logrus" "os" ) diff --git a/pgo/generatedocs.go b/pgo/generatedocs.go index daafa3224c..8379ed308b 100644 --- a/pgo/generatedocs.go +++ b/pgo/generatedocs.go @@ -17,7 +17,7 @@ package main import ( "fmt" - "github.com/crunchydata/postgres-operator/pgo/cmd" + "github.com/crunchydata/postgres-operator/v4/pgo/cmd" log "github.com/sirupsen/logrus" "github.com/spf13/cobra/doc" "path" diff --git a/pgo/pgo.go b/pgo/pgo.go index 6895b7863a..30a06ae76d 100644 --- a/pgo/pgo.go +++ b/pgo/pgo.go @@ -17,7 +17,7 @@ package main import ( "fmt" - "github.com/crunchydata/postgres-operator/pgo/cmd" + "github.com/crunchydata/postgres-operator/v4/pgo/cmd" "os" ) diff --git a/pkg/apiservermsgs/clustermsgs.go b/pkg/apiservermsgs/clustermsgs.go index 804b6d0e46..8df53bfc42 100644 --- a/pkg/apiservermsgs/clustermsgs.go +++ b/pkg/apiservermsgs/clustermsgs.go @@ -16,7 +16,7 @@ limitations under the License. */ import ( - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" ) // ShowClusterRequest shows cluster diff --git a/pkg/apiservermsgs/configmsgs.go b/pkg/apiservermsgs/configmsgs.go index 06ed680008..8e62def4a1 100644 --- a/pkg/apiservermsgs/configmsgs.go +++ b/pkg/apiservermsgs/configmsgs.go @@ -16,7 +16,7 @@ limitations under the License. */ import ( - "github.com/crunchydata/postgres-operator/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/config" ) // ShowConfigResponse ... diff --git a/pkg/apiservermsgs/pgdumpmsgs.go b/pkg/apiservermsgs/pgdumpmsgs.go index 855a8b9d47..e20df2c9bb 100644 --- a/pkg/apiservermsgs/pgdumpmsgs.go +++ b/pkg/apiservermsgs/pgdumpmsgs.go @@ -1,7 +1,7 @@ package apiservermsgs import ( - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" ) /* diff --git a/pkg/apiservermsgs/policymsgs.go b/pkg/apiservermsgs/policymsgs.go index ec3e7cf2f9..af7bdb7822 100644 --- a/pkg/apiservermsgs/policymsgs.go +++ b/pkg/apiservermsgs/policymsgs.go @@ -16,7 +16,7 @@ limitations under the License. */ import ( - crv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + crv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" ) // ShowPolicyRequest ... diff --git a/pkg/apiservermsgs/usermsgs.go b/pkg/apiservermsgs/usermsgs.go index 1f0ba56295..702ffdc9b3 100644 --- a/pkg/apiservermsgs/usermsgs.go +++ b/pkg/apiservermsgs/usermsgs.go @@ -18,7 +18,7 @@ limitations under the License. import ( "errors" - pgpassword "github.com/crunchydata/postgres-operator/internal/postgres/password" + pgpassword "github.com/crunchydata/postgres-operator/v4/internal/postgres/password" ) type UpdateClusterLoginState int diff --git a/pkg/apiservermsgs/usermsgs_test.go b/pkg/apiservermsgs/usermsgs_test.go index d2f70388fc..571af6a875 100644 --- a/pkg/apiservermsgs/usermsgs_test.go +++ b/pkg/apiservermsgs/usermsgs_test.go @@ -18,7 +18,7 @@ package apiservermsgs import ( "testing" - pgpassword "github.com/crunchydata/postgres-operator/internal/postgres/password" + pgpassword "github.com/crunchydata/postgres-operator/v4/internal/postgres/password" ) func TestGetPasswordType(t *testing.T) { diff --git a/pkg/events/eventing.go b/pkg/events/eventing.go index 66fc353117..6644970f6c 100644 --- a/pkg/events/eventing.go +++ b/pkg/events/eventing.go @@ -19,7 +19,7 @@ import ( "encoding/json" "errors" "fmt" - crunchylog "github.com/crunchydata/postgres-operator/internal/logging" + crunchylog "github.com/crunchydata/postgres-operator/v4/internal/logging" "github.com/nsqio/go-nsq" log "github.com/sirupsen/logrus" "os" diff --git a/pkg/generated/clientset/versioned/clientset.go b/pkg/generated/clientset/versioned/clientset.go index 7c5e89774a..c4c1854952 100644 --- a/pkg/generated/clientset/versioned/clientset.go +++ b/pkg/generated/clientset/versioned/clientset.go @@ -20,7 +20,7 @@ package versioned import ( "fmt" - crunchydatav1 "github.com/crunchydata/postgres-operator/pkg/generated/clientset/versioned/typed/crunchydata.com/v1" + crunchydatav1 "github.com/crunchydata/postgres-operator/v4/pkg/generated/clientset/versioned/typed/crunchydata.com/v1" discovery "k8s.io/client-go/discovery" rest "k8s.io/client-go/rest" flowcontrol "k8s.io/client-go/util/flowcontrol" diff --git a/pkg/generated/clientset/versioned/fake/clientset_generated.go b/pkg/generated/clientset/versioned/fake/clientset_generated.go index 384d0e7737..dc3e103114 100644 --- a/pkg/generated/clientset/versioned/fake/clientset_generated.go +++ b/pkg/generated/clientset/versioned/fake/clientset_generated.go @@ -18,9 +18,9 @@ limitations under the License. package fake import ( - clientset "github.com/crunchydata/postgres-operator/pkg/generated/clientset/versioned" - crunchydatav1 "github.com/crunchydata/postgres-operator/pkg/generated/clientset/versioned/typed/crunchydata.com/v1" - fakecrunchydatav1 "github.com/crunchydata/postgres-operator/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake" + clientset "github.com/crunchydata/postgres-operator/v4/pkg/generated/clientset/versioned" + crunchydatav1 "github.com/crunchydata/postgres-operator/v4/pkg/generated/clientset/versioned/typed/crunchydata.com/v1" + fakecrunchydatav1 "github.com/crunchydata/postgres-operator/v4/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/discovery" diff --git a/pkg/generated/clientset/versioned/fake/register.go b/pkg/generated/clientset/versioned/fake/register.go index 26c69c1594..9e733a6ca3 100644 --- a/pkg/generated/clientset/versioned/fake/register.go +++ b/pkg/generated/clientset/versioned/fake/register.go @@ -18,7 +18,7 @@ limitations under the License. package fake import ( - crunchydatav1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + crunchydatav1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/generated/clientset/versioned/scheme/register.go b/pkg/generated/clientset/versioned/scheme/register.go index 4850f74045..fa669107e9 100644 --- a/pkg/generated/clientset/versioned/scheme/register.go +++ b/pkg/generated/clientset/versioned/scheme/register.go @@ -18,7 +18,7 @@ limitations under the License. package scheme import ( - crunchydatav1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + crunchydatav1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/crunchydata.com_client.go b/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/crunchydata.com_client.go index aac71b2aa3..06f1ed74fb 100644 --- a/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/crunchydata.com_client.go +++ b/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/crunchydata.com_client.go @@ -18,8 +18,8 @@ limitations under the License. package v1 import ( - v1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - "github.com/crunchydata/postgres-operator/pkg/generated/clientset/versioned/scheme" + v1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + "github.com/crunchydata/postgres-operator/v4/pkg/generated/clientset/versioned/scheme" rest "k8s.io/client-go/rest" ) diff --git a/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake/fake_crunchydata.com_client.go b/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake/fake_crunchydata.com_client.go index f8d6b6b350..f04c45a0e4 100644 --- a/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake/fake_crunchydata.com_client.go +++ b/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake/fake_crunchydata.com_client.go @@ -18,7 +18,7 @@ limitations under the License. package fake import ( - v1 "github.com/crunchydata/postgres-operator/pkg/generated/clientset/versioned/typed/crunchydata.com/v1" + v1 "github.com/crunchydata/postgres-operator/v4/pkg/generated/clientset/versioned/typed/crunchydata.com/v1" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) diff --git a/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake/fake_pgcluster.go b/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake/fake_pgcluster.go index 516955d577..cd17ac455b 100644 --- a/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake/fake_pgcluster.go +++ b/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake/fake_pgcluster.go @@ -18,7 +18,7 @@ limitations under the License. package fake import ( - crunchydatacomv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + crunchydatacomv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake/fake_pgpolicy.go b/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake/fake_pgpolicy.go index f44e8a4ebb..bc4c3a533f 100644 --- a/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake/fake_pgpolicy.go +++ b/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake/fake_pgpolicy.go @@ -18,7 +18,7 @@ limitations under the License. package fake import ( - crunchydatacomv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + crunchydatacomv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake/fake_pgreplica.go b/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake/fake_pgreplica.go index d6dc4fbd40..fb6b23b1da 100644 --- a/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake/fake_pgreplica.go +++ b/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake/fake_pgreplica.go @@ -18,7 +18,7 @@ limitations under the License. package fake import ( - crunchydatacomv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + crunchydatacomv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake/fake_pgtask.go b/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake/fake_pgtask.go index 2db70f152f..d6d550fb99 100644 --- a/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake/fake_pgtask.go +++ b/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/fake/fake_pgtask.go @@ -18,7 +18,7 @@ limitations under the License. package fake import ( - crunchydatacomv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + crunchydatacomv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/pgcluster.go b/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/pgcluster.go index 035712a6ef..3484581083 100644 --- a/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/pgcluster.go +++ b/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/pgcluster.go @@ -20,8 +20,8 @@ package v1 import ( "time" - v1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - scheme "github.com/crunchydata/postgres-operator/pkg/generated/clientset/versioned/scheme" + v1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + scheme "github.com/crunchydata/postgres-operator/v4/pkg/generated/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/pgpolicy.go b/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/pgpolicy.go index 402b99f523..7f805b53ce 100644 --- a/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/pgpolicy.go +++ b/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/pgpolicy.go @@ -20,8 +20,8 @@ package v1 import ( "time" - v1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - scheme "github.com/crunchydata/postgres-operator/pkg/generated/clientset/versioned/scheme" + v1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + scheme "github.com/crunchydata/postgres-operator/v4/pkg/generated/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/pgreplica.go b/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/pgreplica.go index 88fb060a69..76f9dddc88 100644 --- a/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/pgreplica.go +++ b/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/pgreplica.go @@ -20,8 +20,8 @@ package v1 import ( "time" - v1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - scheme "github.com/crunchydata/postgres-operator/pkg/generated/clientset/versioned/scheme" + v1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + scheme "github.com/crunchydata/postgres-operator/v4/pkg/generated/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/pgtask.go b/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/pgtask.go index 25b2cd1055..fd21914736 100644 --- a/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/pgtask.go +++ b/pkg/generated/clientset/versioned/typed/crunchydata.com/v1/pgtask.go @@ -20,8 +20,8 @@ package v1 import ( "time" - v1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - scheme "github.com/crunchydata/postgres-operator/pkg/generated/clientset/versioned/scheme" + v1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + scheme "github.com/crunchydata/postgres-operator/v4/pkg/generated/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/generated/informers/externalversions/crunchydata.com/interface.go b/pkg/generated/informers/externalversions/crunchydata.com/interface.go index dfe44a0fcb..bc71d7e7d5 100644 --- a/pkg/generated/informers/externalversions/crunchydata.com/interface.go +++ b/pkg/generated/informers/externalversions/crunchydata.com/interface.go @@ -18,8 +18,8 @@ limitations under the License. package crunchydata import ( - v1 "github.com/crunchydata/postgres-operator/pkg/generated/informers/externalversions/crunchydata.com/v1" - internalinterfaces "github.com/crunchydata/postgres-operator/pkg/generated/informers/externalversions/internalinterfaces" + v1 "github.com/crunchydata/postgres-operator/v4/pkg/generated/informers/externalversions/crunchydata.com/v1" + internalinterfaces "github.com/crunchydata/postgres-operator/v4/pkg/generated/informers/externalversions/internalinterfaces" ) // Interface provides access to each of this group's versions. diff --git a/pkg/generated/informers/externalversions/crunchydata.com/v1/interface.go b/pkg/generated/informers/externalversions/crunchydata.com/v1/interface.go index c34a37f8e7..1051ba6b20 100644 --- a/pkg/generated/informers/externalversions/crunchydata.com/v1/interface.go +++ b/pkg/generated/informers/externalversions/crunchydata.com/v1/interface.go @@ -18,7 +18,7 @@ limitations under the License. package v1 import ( - internalinterfaces "github.com/crunchydata/postgres-operator/pkg/generated/informers/externalversions/internalinterfaces" + internalinterfaces "github.com/crunchydata/postgres-operator/v4/pkg/generated/informers/externalversions/internalinterfaces" ) // Interface provides access to all the informers in this group version. diff --git a/pkg/generated/informers/externalversions/crunchydata.com/v1/pgcluster.go b/pkg/generated/informers/externalversions/crunchydata.com/v1/pgcluster.go index 92f0d9a6a9..a2fdabfe7b 100644 --- a/pkg/generated/informers/externalversions/crunchydata.com/v1/pgcluster.go +++ b/pkg/generated/informers/externalversions/crunchydata.com/v1/pgcluster.go @@ -20,10 +20,10 @@ package v1 import ( time "time" - crunchydatacomv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - versioned "github.com/crunchydata/postgres-operator/pkg/generated/clientset/versioned" - internalinterfaces "github.com/crunchydata/postgres-operator/pkg/generated/informers/externalversions/internalinterfaces" - v1 "github.com/crunchydata/postgres-operator/pkg/generated/listers/crunchydata.com/v1" + crunchydatacomv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + versioned "github.com/crunchydata/postgres-operator/v4/pkg/generated/clientset/versioned" + internalinterfaces "github.com/crunchydata/postgres-operator/v4/pkg/generated/informers/externalversions/internalinterfaces" + v1 "github.com/crunchydata/postgres-operator/v4/pkg/generated/listers/crunchydata.com/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/generated/informers/externalversions/crunchydata.com/v1/pgpolicy.go b/pkg/generated/informers/externalversions/crunchydata.com/v1/pgpolicy.go index ea70fa720d..88664123ed 100644 --- a/pkg/generated/informers/externalversions/crunchydata.com/v1/pgpolicy.go +++ b/pkg/generated/informers/externalversions/crunchydata.com/v1/pgpolicy.go @@ -20,10 +20,10 @@ package v1 import ( time "time" - crunchydatacomv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - versioned "github.com/crunchydata/postgres-operator/pkg/generated/clientset/versioned" - internalinterfaces "github.com/crunchydata/postgres-operator/pkg/generated/informers/externalversions/internalinterfaces" - v1 "github.com/crunchydata/postgres-operator/pkg/generated/listers/crunchydata.com/v1" + crunchydatacomv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + versioned "github.com/crunchydata/postgres-operator/v4/pkg/generated/clientset/versioned" + internalinterfaces "github.com/crunchydata/postgres-operator/v4/pkg/generated/informers/externalversions/internalinterfaces" + v1 "github.com/crunchydata/postgres-operator/v4/pkg/generated/listers/crunchydata.com/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/generated/informers/externalversions/crunchydata.com/v1/pgreplica.go b/pkg/generated/informers/externalversions/crunchydata.com/v1/pgreplica.go index 99332793ac..35e61433c3 100644 --- a/pkg/generated/informers/externalversions/crunchydata.com/v1/pgreplica.go +++ b/pkg/generated/informers/externalversions/crunchydata.com/v1/pgreplica.go @@ -20,10 +20,10 @@ package v1 import ( time "time" - crunchydatacomv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - versioned "github.com/crunchydata/postgres-operator/pkg/generated/clientset/versioned" - internalinterfaces "github.com/crunchydata/postgres-operator/pkg/generated/informers/externalversions/internalinterfaces" - v1 "github.com/crunchydata/postgres-operator/pkg/generated/listers/crunchydata.com/v1" + crunchydatacomv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + versioned "github.com/crunchydata/postgres-operator/v4/pkg/generated/clientset/versioned" + internalinterfaces "github.com/crunchydata/postgres-operator/v4/pkg/generated/informers/externalversions/internalinterfaces" + v1 "github.com/crunchydata/postgres-operator/v4/pkg/generated/listers/crunchydata.com/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/generated/informers/externalversions/crunchydata.com/v1/pgtask.go b/pkg/generated/informers/externalversions/crunchydata.com/v1/pgtask.go index bf1cbd60a8..8d3f052e88 100644 --- a/pkg/generated/informers/externalversions/crunchydata.com/v1/pgtask.go +++ b/pkg/generated/informers/externalversions/crunchydata.com/v1/pgtask.go @@ -20,10 +20,10 @@ package v1 import ( time "time" - crunchydatacomv1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" - versioned "github.com/crunchydata/postgres-operator/pkg/generated/clientset/versioned" - internalinterfaces "github.com/crunchydata/postgres-operator/pkg/generated/informers/externalversions/internalinterfaces" - v1 "github.com/crunchydata/postgres-operator/pkg/generated/listers/crunchydata.com/v1" + crunchydatacomv1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" + versioned "github.com/crunchydata/postgres-operator/v4/pkg/generated/clientset/versioned" + internalinterfaces "github.com/crunchydata/postgres-operator/v4/pkg/generated/informers/externalversions/internalinterfaces" + v1 "github.com/crunchydata/postgres-operator/v4/pkg/generated/listers/crunchydata.com/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/generated/informers/externalversions/factory.go b/pkg/generated/informers/externalversions/factory.go index 56886a005a..2cb7e6d3e8 100644 --- a/pkg/generated/informers/externalversions/factory.go +++ b/pkg/generated/informers/externalversions/factory.go @@ -22,9 +22,9 @@ import ( sync "sync" time "time" - versioned "github.com/crunchydata/postgres-operator/pkg/generated/clientset/versioned" - crunchydatacom "github.com/crunchydata/postgres-operator/pkg/generated/informers/externalversions/crunchydata.com" - internalinterfaces "github.com/crunchydata/postgres-operator/pkg/generated/informers/externalversions/internalinterfaces" + versioned "github.com/crunchydata/postgres-operator/v4/pkg/generated/clientset/versioned" + crunchydatacom "github.com/crunchydata/postgres-operator/v4/pkg/generated/informers/externalversions/crunchydata.com" + internalinterfaces "github.com/crunchydata/postgres-operator/v4/pkg/generated/informers/externalversions/internalinterfaces" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/generated/informers/externalversions/generic.go b/pkg/generated/informers/externalversions/generic.go index 130dd5ad37..5ce2070531 100644 --- a/pkg/generated/informers/externalversions/generic.go +++ b/pkg/generated/informers/externalversions/generic.go @@ -20,7 +20,7 @@ package externalversions import ( "fmt" - v1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + v1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" schema "k8s.io/apimachinery/pkg/runtime/schema" cache "k8s.io/client-go/tools/cache" ) diff --git a/pkg/generated/informers/externalversions/internalinterfaces/factory_interfaces.go b/pkg/generated/informers/externalversions/internalinterfaces/factory_interfaces.go index 4086ab3a09..6475143bba 100644 --- a/pkg/generated/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/pkg/generated/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -20,7 +20,7 @@ package internalinterfaces import ( time "time" - versioned "github.com/crunchydata/postgres-operator/pkg/generated/clientset/versioned" + versioned "github.com/crunchydata/postgres-operator/v4/pkg/generated/clientset/versioned" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" cache "k8s.io/client-go/tools/cache" diff --git a/pkg/generated/listers/crunchydata.com/v1/pgcluster.go b/pkg/generated/listers/crunchydata.com/v1/pgcluster.go index 10db1c63a2..ffbe7498b9 100644 --- a/pkg/generated/listers/crunchydata.com/v1/pgcluster.go +++ b/pkg/generated/listers/crunchydata.com/v1/pgcluster.go @@ -18,7 +18,7 @@ limitations under the License. package v1 import ( - v1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + v1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/generated/listers/crunchydata.com/v1/pgpolicy.go b/pkg/generated/listers/crunchydata.com/v1/pgpolicy.go index d996df08ee..ea2dff616b 100644 --- a/pkg/generated/listers/crunchydata.com/v1/pgpolicy.go +++ b/pkg/generated/listers/crunchydata.com/v1/pgpolicy.go @@ -18,7 +18,7 @@ limitations under the License. package v1 import ( - v1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + v1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/generated/listers/crunchydata.com/v1/pgreplica.go b/pkg/generated/listers/crunchydata.com/v1/pgreplica.go index 23632d1ee4..65df26a451 100644 --- a/pkg/generated/listers/crunchydata.com/v1/pgreplica.go +++ b/pkg/generated/listers/crunchydata.com/v1/pgreplica.go @@ -18,7 +18,7 @@ limitations under the License. package v1 import ( - v1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + v1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/generated/listers/crunchydata.com/v1/pgtask.go b/pkg/generated/listers/crunchydata.com/v1/pgtask.go index 94a405754c..814791df22 100644 --- a/pkg/generated/listers/crunchydata.com/v1/pgtask.go +++ b/pkg/generated/listers/crunchydata.com/v1/pgtask.go @@ -18,7 +18,7 @@ limitations under the License. package v1 import ( - v1 "github.com/crunchydata/postgres-operator/pkg/apis/crunchydata.com/v1" + v1 "github.com/crunchydata/postgres-operator/v4/pkg/apis/crunchydata.com/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/postgres-operator.go b/postgres-operator.go index 9e2526d044..15ee28a092 100644 --- a/postgres-operator.go +++ b/postgres-operator.go @@ -20,15 +20,15 @@ import ( "os" "time" - "github.com/kubernetes/sample-controller/pkg/signals" - - "github.com/crunchydata/postgres-operator/internal/config" - "github.com/crunchydata/postgres-operator/internal/controller" - "github.com/crunchydata/postgres-operator/internal/controller/manager" - nscontroller "github.com/crunchydata/postgres-operator/internal/controller/namespace" - crunchylog "github.com/crunchydata/postgres-operator/internal/logging" - "github.com/crunchydata/postgres-operator/internal/ns" - "github.com/crunchydata/postgres-operator/internal/operator/operatorupgrade" + "k8s.io/sample-controller/pkg/signals" + + "github.com/crunchydata/postgres-operator/v4/internal/config" + "github.com/crunchydata/postgres-operator/v4/internal/controller" + "github.com/crunchydata/postgres-operator/v4/internal/controller/manager" + nscontroller "github.com/crunchydata/postgres-operator/v4/internal/controller/namespace" + crunchylog "github.com/crunchydata/postgres-operator/v4/internal/logging" + "github.com/crunchydata/postgres-operator/v4/internal/ns" + "github.com/crunchydata/postgres-operator/v4/internal/operator/operatorupgrade" log "github.com/sirupsen/logrus" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" @@ -36,8 +36,8 @@ import ( "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/cache" - "github.com/crunchydata/postgres-operator/internal/kubeapi" - "github.com/crunchydata/postgres-operator/internal/operator" + "github.com/crunchydata/postgres-operator/v4/internal/kubeapi" + "github.com/crunchydata/postgres-operator/v4/internal/operator" ) func main() { diff --git a/testing/pgo_cli/cluster_backup_test.go b/testing/pgo_cli/cluster_backup_test.go index d58aef064b..10ab968743 100644 --- a/testing/pgo_cli/cluster_backup_test.go +++ b/testing/pgo_cli/cluster_backup_test.go @@ -20,7 +20,7 @@ import ( "testing" "time" - "github.com/crunchydata/postgres-operator/testing/kubeapi" + "github.com/crunchydata/postgres-operator/v4/testing/kubeapi" "github.com/stretchr/testify/require" ) diff --git a/testing/pgo_cli/suite_helpers_test.go b/testing/pgo_cli/suite_helpers_test.go index b714ce6107..e33bcfd725 100644 --- a/testing/pgo_cli/suite_helpers_test.go +++ b/testing/pgo_cli/suite_helpers_test.go @@ -26,7 +26,7 @@ import ( "testing" "time" - "github.com/crunchydata/postgres-operator/testing/kubeapi" + "github.com/crunchydata/postgres-operator/v4/testing/kubeapi" "github.com/jackc/pgx/v4/pgxpool" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/testing/pgo_cli/suite_test.go b/testing/pgo_cli/suite_test.go index 72eaed6ab0..47c102c7ae 100644 --- a/testing/pgo_cli/suite_test.go +++ b/testing/pgo_cli/suite_test.go @@ -23,7 +23,7 @@ import ( "testing" "time" - "github.com/crunchydata/postgres-operator/testing/kubeapi" + "github.com/crunchydata/postgres-operator/v4/testing/kubeapi" ) func TestMain(m *testing.M) {