Skip to content

Commit

Permalink
Updating reverseproxy module
Browse files Browse the repository at this point in the history
  • Loading branch information
harshitap26 committed Jan 29, 2025
1 parent 0d5b5a3 commit 6b6048e
Show file tree
Hide file tree
Showing 14 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion csireverseproxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ COPY --from=builder /etc/group /etc/group
# Use an unprivileged user.
USER revproxy:revproxy

COPY --from=builder /go/src/csireverseproxy/revproxy /app/revproxy
COPY --from=builder /go/src/csireverseproxy/csireverseproxy /app/revproxy

WORKDIR /app
CMD ["/app/revproxy"]
Expand Down
2 changes: 1 addition & 1 deletion csireverseproxy/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module revproxy/v2
module github.com/dell/csi-powermax/csireverseproxy/v2

go 1.23

Expand Down
10 changes: 5 additions & 5 deletions csireverseproxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ import (
"syscall"
"time"

"revproxy/v2/pkg/common"
"revproxy/v2/pkg/config"
"revproxy/v2/pkg/k8sutils"
"revproxy/v2/pkg/proxy"
"revproxy/v2/pkg/utils"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/common"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/config"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/k8sutils"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/proxy"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/utils"

log "github.com/sirupsen/logrus"

Expand Down
10 changes: 5 additions & 5 deletions csireverseproxy/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ import (
"testing"
"time"

"revproxy/v2/pkg/common"
"revproxy/v2/pkg/config"
"revproxy/v2/pkg/k8smock"
"revproxy/v2/pkg/servermock"
"revproxy/v2/pkg/utils"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/common"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/config"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/k8smock"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/servermock"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/utils"

log "github.com/sirupsen/logrus"

Expand Down
6 changes: 3 additions & 3 deletions csireverseproxy/pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import (
"reflect"
"strconv"

"revproxy/v2/pkg/common"
"revproxy/v2/pkg/k8sutils"
"revproxy/v2/pkg/utils"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/common"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/k8sutils"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/utils"

"github.com/mitchellh/mapstructure"
log "github.com/sirupsen/logrus"
Expand Down
8 changes: 4 additions & 4 deletions csireverseproxy/pkg/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ import (
"strings"
"testing"

"revproxy/v2/pkg/common"
"revproxy/v2/pkg/k8smock"
"revproxy/v2/pkg/k8sutils"
"revproxy/v2/pkg/utils"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/common"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/k8smock"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/k8sutils"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/utils"

"path/filepath"

Expand Down
6 changes: 3 additions & 3 deletions csireverseproxy/pkg/k8smock/k8smock.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"strconv"
"time"

"revproxy/v2/pkg/common"
"revproxy/v2/pkg/k8sutils"
"revproxy/v2/pkg/utils"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/common"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/k8sutils"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/utils"

corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
2 changes: 1 addition & 1 deletion csireverseproxy/pkg/k8smock/k8smock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"os"
"testing"

"revproxy/v2/pkg/utils"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/utils"

log "github.com/sirupsen/logrus"
)
Expand Down
2 changes: 1 addition & 1 deletion csireverseproxy/pkg/k8sutils/k8sutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"strconv"
"time"

"revproxy/v2/pkg/common"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/common"

log "github.com/sirupsen/logrus"
"k8s.io/client-go/tools/clientcmd"
Expand Down
8 changes: 4 additions & 4 deletions csireverseproxy/pkg/proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ import (
"sync/atomic"
"time"

"revproxy/v2/pkg/cache"
"revproxy/v2/pkg/common"
"revproxy/v2/pkg/config"
"revproxy/v2/pkg/utils"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/cache"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/common"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/config"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/utils"

log "github.com/sirupsen/logrus"

Expand Down
6 changes: 3 additions & 3 deletions csireverseproxy/pkg/proxy/proxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ limitations under the License.
package proxy

import (
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/common"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/config"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/k8smock"
"os"
"path/filepath"
"revproxy/v2/pkg/common"
"revproxy/v2/pkg/config"
"revproxy/v2/pkg/k8smock"
"testing"

"github.com/spf13/viper"
Expand Down
2 changes: 1 addition & 1 deletion csireverseproxy/pkg/servermock/servermock.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package servermock
import (
"net/http"

"revproxy/v2/pkg/utils"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/utils"

"github.com/gorilla/mux"
)
Expand Down
2 changes: 1 addition & 1 deletion csireverseproxy/pkg/utils/locks.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"fmt"
"sync"

"revproxy/v2/pkg/common"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/common"

log "github.com/sirupsen/logrus"
)
Expand Down
2 changes: 1 addition & 1 deletion csireverseproxy/pkg/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"strings"
"time"

"revproxy/v2/pkg/common"
"github.com/dell/csi-powermax/csireverseproxy/v2/pkg/common"

log "github.com/sirupsen/logrus"
)
Expand Down

0 comments on commit 6b6048e

Please sign in to comment.