Skip to content

Commit

Permalink
Merge pull request #22 from ChaosCypher/10-01-24-fix-packages
Browse files Browse the repository at this point in the history
Update package imports to match github repo
  • Loading branch information
ChaosCypher authored Oct 1, 2024
2 parents 6f778b4 + ab88b0f commit 5e30532
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 23 deletions.
10 changes: 5 additions & 5 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import (

"context"

"github.com/chaoscypher/k8s-backup-restore/internal/backup"
"github.com/chaoscypher/k8s-backup-restore/internal/config"
"github.com/chaoscypher/k8s-backup-restore/internal/kubernetes"
"github.com/chaoscypher/k8s-backup-restore/internal/logger"
"github.com/chaoscypher/k8s-backup-restore/internal/restore"
"github.com/chaoscypher/kube-save-restore/internal/backup"
"github.com/chaoscypher/kube-save-restore/internal/config"
"github.com/chaoscypher/kube-save-restore/internal/kubernetes"
"github.com/chaoscypher/kube-save-restore/internal/logger"
"github.com/chaoscypher/kube-save-restore/internal/restore"
)

// main is the entry point of the application.
Expand Down
4 changes: 2 additions & 2 deletions cmd/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"path/filepath"
"testing"

"github.com/chaoscypher/k8s-backup-restore/internal/config"
"github.com/chaoscypher/k8s-backup-restore/internal/logger"
"github.com/chaoscypher/kube-save-restore/internal/config"
"github.com/chaoscypher/kube-save-restore/internal/logger"
)

func TestGetKubeconfigPath(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/chaoscypher/k8s-backup-restore
module github.com/chaoscypher/kube-save-restore

go 1.23.1

Expand Down
4 changes: 2 additions & 2 deletions internal/backup/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"fmt"

"github.com/chaoscypher/k8s-backup-restore/internal/logger"
"github.com/chaoscypher/k8s-backup-restore/internal/workerpool"
"github.com/chaoscypher/kube-save-restore/internal/logger"
"github.com/chaoscypher/kube-save-restore/internal/workerpool"
)

// maxConcurrency defines the maximum number of concurrent backup operations.
Expand Down
2 changes: 1 addition & 1 deletion internal/backup/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"path/filepath"
"testing"

"github.com/chaoscypher/k8s-backup-restore/internal/logger"
"github.com/chaoscypher/kube-save-restore/internal/logger"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
appsv1 "k8s.io/api/apps/v1"
Expand Down
2 changes: 1 addition & 1 deletion internal/backup/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package backup
import (
"context"

"github.com/chaoscypher/k8s-backup-restore/internal/workerpool"
"github.com/chaoscypher/kube-save-restore/internal/workerpool"
)

func (bm *Manager) enqueueTasks(namespaces []string, wp *workerpool.WorkerPool) {
Expand Down
10 changes: 5 additions & 5 deletions internal/integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import (
"path/filepath"
"testing"

"github.com/chaoscypher/k8s-backup-restore/internal/backup"
"github.com/chaoscypher/k8s-backup-restore/internal/config"
"github.com/chaoscypher/k8s-backup-restore/internal/kubernetes"
"github.com/chaoscypher/k8s-backup-restore/internal/logger"
"github.com/chaoscypher/k8s-backup-restore/internal/restore"
"github.com/chaoscypher/kube-save-restore/internal/backup"
"github.com/chaoscypher/kube-save-restore/internal/config"
"github.com/chaoscypher/kube-save-restore/internal/kubernetes"
"github.com/chaoscypher/kube-save-restore/internal/logger"
"github.com/chaoscypher/kube-save-restore/internal/restore"
appsv1 "k8s.io/api/apps/v1"
autoscalingv2 "k8s.io/api/autoscaling/v2"
corev1 "k8s.io/api/core/v1"
Expand Down
2 changes: 1 addition & 1 deletion internal/logger/logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"testing"

"github.com/chaoscypher/k8s-backup-restore/internal/config"
"github.com/chaoscypher/kube-save-restore/internal/config"
)

// String returns the string representation of the LogLevel.
Expand Down
2 changes: 1 addition & 1 deletion internal/logger/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"os"

"github.com/chaoscypher/k8s-backup-restore/internal/config"
"github.com/chaoscypher/kube-save-restore/internal/config"
)

// SetupLogger initializes the Logger based on the provided configuration.
Expand Down
6 changes: 3 additions & 3 deletions internal/restore/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"fmt"
"os"

"github.com/chaoscypher/k8s-backup-restore/internal/kubernetes"
"github.com/chaoscypher/k8s-backup-restore/internal/logger"
"github.com/chaoscypher/k8s-backup-restore/internal/workerpool"
"github.com/chaoscypher/kube-save-restore/internal/kubernetes"
"github.com/chaoscypher/kube-save-restore/internal/logger"
"github.com/chaoscypher/kube-save-restore/internal/workerpool"
)

const maxConcurrency = 10
Expand Down
2 changes: 1 addition & 1 deletion internal/restore/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"context"

"github.com/chaoscypher/k8s-backup-restore/internal/kubernetes"
"github.com/chaoscypher/kube-save-restore/internal/kubernetes"
appsv1 "k8s.io/api/apps/v1"
autoscalingv2 "k8s.io/api/autoscaling/v2"
corev1 "k8s.io/api/core/v1"
Expand Down

0 comments on commit 5e30532

Please sign in to comment.