Merge pull request #37 from bnema/chore/update-module-path-and-deps
chore: update module path and bump dependencies
101 files · +219 -219
M .github/workflows/ci.yml +6 -6
| @@ -30,14 +30,14 @@ jobs: | |||
| 30 | 30 | name: Lint | |
| 31 | 31 | runs-on: ubuntu-latest | |
| 32 | 32 | steps: | |
| 33 | - | - uses: actions/checkout@v4 | |
| 33 | + | - uses: actions/checkout@v6 | |
| 34 | 34 | ||
| 35 | 35 | - uses: actions/setup-go@v5 | |
| 36 | 36 | with: | |
| 37 | 37 | go-version: stable | |
| 38 | 38 | ||
| 39 | 39 | - name: Cache Go modules | |
| 40 | - | uses: actions/cache@v4 | |
| 40 | + | uses: actions/cache@v5 | |
| 41 | 41 | with: | |
| 42 | 42 | path: ~/go/pkg/mod | |
| 43 | 43 | key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }} | |
| @@ -45,7 +45,7 @@ jobs: | |||
| 45 | 45 | ${{ runner.os }}-go-mod- | |
| 46 | 46 | ||
| 47 | 47 | - name: Run golangci-lint | |
| 48 | - | uses: golangci/golangci-lint-action@v7 | |
| 48 | + | uses: golangci/golangci-lint-action@v9 | |
| 49 | 49 | with: | |
| 50 | 50 | version: latest | |
| 51 | 51 | ||
| @@ -53,14 +53,14 @@ jobs: | |||
| 53 | 53 | name: Test | |
| 54 | 54 | runs-on: ubuntu-latest | |
| 55 | 55 | steps: | |
| 56 | - | - uses: actions/checkout@v4 | |
| 56 | + | - uses: actions/checkout@v6 | |
| 57 | 57 | ||
| 58 | 58 | - uses: actions/setup-go@v5 | |
| 59 | 59 | with: | |
| 60 | 60 | go-version: stable | |
| 61 | 61 | ||
| 62 | 62 | - name: Cache Go modules | |
| 63 | - | uses: actions/cache@v4 | |
| 63 | + | uses: actions/cache@v5 | |
| 64 | 64 | with: | |
| 65 | 65 | path: ~/go/pkg/mod | |
| 66 | 66 | key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }} | |
| @@ -68,7 +68,7 @@ jobs: | |||
| 68 | 68 | ${{ runner.os }}-go-mod- | |
| 69 | 69 | ||
| 70 | 70 | - name: Cache Go build cache | |
| 71 | - | uses: actions/cache@v4 | |
| 71 | + | uses: actions/cache@v5 | |
| 72 | 72 | with: | |
| 73 | 73 | path: ~/.cache/go-build | |
| 74 | 74 | key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }} | |
| @@ -30,14 +30,14 @@ jobs: | |||||
| 30 | name: Lint | 30 | name: Lint | ||
| 31 | runs-on: ubuntu-latest | 31 | runs-on: ubuntu-latest | ||
| 32 | steps: | 32 | steps: | ||
| 33 | - | - uses: actions/checkout@v4 | 33 | + | - uses: actions/checkout@v6 |
| 34 | 34 | ||||
| 35 | - uses: actions/setup-go@v5 | 35 | - uses: actions/setup-go@v5 | ||
| 36 | with: | 36 | with: | ||
| 37 | go-version: stable | 37 | go-version: stable | ||
| 38 | 38 | ||||
| 39 | - name: Cache Go modules | 39 | - name: Cache Go modules | ||
| 40 | - | uses: actions/cache@v4 | 40 | + | uses: actions/cache@v5 |
| 41 | with: | 41 | with: | ||
| 42 | path: ~/go/pkg/mod | 42 | path: ~/go/pkg/mod | ||
| 43 | key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }} | 43 | key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }} | ||
| @@ -45,7 +45,7 @@ jobs: | |||||
| 45 | ${{ runner.os }}-go-mod- | 45 | ${{ runner.os }}-go-mod- | ||
| 46 | 46 | ||||
| 47 | - name: Run golangci-lint | 47 | - name: Run golangci-lint | ||
| 48 | - | uses: golangci/golangci-lint-action@v7 | 48 | + | uses: golangci/golangci-lint-action@v9 |
| 49 | with: | 49 | with: | ||
| 50 | version: latest | 50 | version: latest | ||
| 51 | 51 | ||||
| @@ -53,14 +53,14 @@ jobs: | |||||
| 53 | name: Test | 53 | name: Test | ||
| 54 | runs-on: ubuntu-latest | 54 | runs-on: ubuntu-latest | ||
| 55 | steps: | 55 | steps: | ||
| 56 | - | - uses: actions/checkout@v4 | 56 | + | - uses: actions/checkout@v6 |
| 57 | 57 | ||||
| 58 | - uses: actions/setup-go@v5 | 58 | - uses: actions/setup-go@v5 | ||
| 59 | with: | 59 | with: | ||
| 60 | go-version: stable | 60 | go-version: stable | ||
| 61 | 61 | ||||
| 62 | - name: Cache Go modules | 62 | - name: Cache Go modules | ||
| 63 | - | uses: actions/cache@v4 | 63 | + | uses: actions/cache@v5 |
| 64 | with: | 64 | with: | ||
| 65 | path: ~/go/pkg/mod | 65 | path: ~/go/pkg/mod | ||
| 66 | key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }} | 66 | key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }} | ||
| @@ -68,7 +68,7 @@ jobs: | |||||
| 68 | ${{ runner.os }}-go-mod- | 68 | ${{ runner.os }}-go-mod- | ||
| 69 | 69 | ||||
| 70 | - name: Cache Go build cache | 70 | - name: Cache Go build cache | ||
| 71 | - | uses: actions/cache@v4 | 71 | + | uses: actions/cache@v5 |
| 72 | with: | 72 | with: | ||
| 73 | path: ~/.cache/go-build | 73 | path: ~/.cache/go-build | ||
| 74 | key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }} | 74 | key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }} | ||
M .github/workflows/release.yml +1 -1
| @@ -13,7 +13,7 @@ jobs: | |||
| 13 | 13 | name: Release | |
| 14 | 14 | runs-on: ubuntu-latest | |
| 15 | 15 | steps: | |
| 16 | - | - uses: actions/checkout@v4 | |
| 16 | + | - uses: actions/checkout@v6 | |
| 17 | 17 | with: | |
| 18 | 18 | fetch-depth: 0 | |
| 19 | 19 | ||
| @@ -13,7 +13,7 @@ jobs: | |||||
| 13 | name: Release | 13 | name: Release | ||
| 14 | runs-on: ubuntu-latest | 14 | runs-on: ubuntu-latest | ||
| 15 | steps: | 15 | steps: | ||
| 16 | - | - uses: actions/checkout@v4 | 16 | + | - uses: actions/checkout@v6 |
| 17 | with: | 17 | with: | ||
| 18 | fetch-depth: 0 | 18 | fetch-depth: 0 | ||
| 19 | 19 | ||||
M Dockerfile +1 -1
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | # Multi-stage build for optimized container image | |
| 3 | 3 | ||
| 4 | 4 | # Build stage | |
| 5 | - | FROM golang:1.24-alpine AS builder | |
| 5 | + | FROM golang:1.25-alpine AS builder | |
| 6 | 6 | ||
| 7 | 7 | # Install build dependencies | |
| 8 | 8 | RUN apk add --no-cache git ca-certificates tzdata | |
| @@ -2,7 +2,7 @@ | |||||
| 2 | # Multi-stage build for optimized container image | 2 | # Multi-stage build for optimized container image | ||
| 3 | 3 | ||||
| 4 | # Build stage | 4 | # Build stage | ||
| 5 | - | FROM golang:1.24-alpine AS builder | 5 | + | FROM golang:1.25-alpine AS builder |
| 6 | 6 | ||||
| 7 | # Install build dependencies | 7 | # Install build dependencies | ||
| 8 | RUN apk add --no-cache git ca-certificates tzdata | 8 | RUN apk add --no-cache git ca-certificates tzdata | ||
M docs/deployment/github-actions.md +6 -6
| @@ -46,7 +46,7 @@ jobs: | |||
| 46 | 46 | deploy: | |
| 47 | 47 | runs-on: ubuntu-latest | |
| 48 | 48 | steps: | |
| 49 | - | - uses: actions/checkout@v4 | |
| 49 | + | - uses: actions/checkout@v6 | |
| 50 | 50 | ||
| 51 | 51 | - name: Deploy to Gordon | |
| 52 | 52 | uses: bnema/gordon/.github/actions/deploy@main | |
| @@ -103,7 +103,7 @@ jobs: | |||
| 103 | 103 | deploy: | |
| 104 | 104 | runs-on: ubuntu-latest | |
| 105 | 105 | steps: | |
| 106 | - | - uses: actions/checkout@v4 | |
| 106 | + | - uses: actions/checkout@v6 | |
| 107 | 107 | ||
| 108 | 108 | - name: Deploy to Gordon | |
| 109 | 109 | uses: bnema/gordon/.github/actions/deploy@main | |
| @@ -129,7 +129,7 @@ jobs: | |||
| 129 | 129 | deploy: | |
| 130 | 130 | runs-on: ubuntu-latest | |
| 131 | 131 | steps: | |
| 132 | - | - uses: actions/checkout@v4 | |
| 132 | + | - uses: actions/checkout@v6 | |
| 133 | 133 | ||
| 134 | 134 | - name: Deploy to Gordon | |
| 135 | 135 | uses: bnema/gordon/.github/actions/deploy@main | |
| @@ -158,7 +158,7 @@ jobs: | |||
| 158 | 158 | deploy: | |
| 159 | 159 | runs-on: ubuntu-latest | |
| 160 | 160 | steps: | |
| 161 | - | - uses: actions/checkout@v4 | |
| 161 | + | - uses: actions/checkout@v6 | |
| 162 | 162 | with: | |
| 163 | 163 | ref: ${{ github.event.inputs.tag || github.ref }} | |
| 164 | 164 | ||
| @@ -187,7 +187,7 @@ jobs: | |||
| 187 | 187 | deploy-api: | |
| 188 | 188 | runs-on: ubuntu-latest | |
| 189 | 189 | steps: | |
| 190 | - | - uses: actions/checkout@v4 | |
| 190 | + | - uses: actions/checkout@v6 | |
| 191 | 191 | - uses: bnema/gordon/.github/actions/deploy@main | |
| 192 | 192 | with: | |
| 193 | 193 | registry: ${{ secrets.GORDON_REGISTRY }} | |
| @@ -200,7 +200,7 @@ jobs: | |||
| 200 | 200 | deploy-web: | |
| 201 | 201 | runs-on: ubuntu-latest | |
| 202 | 202 | steps: | |
| 203 | - | - uses: actions/checkout@v4 | |
| 203 | + | - uses: actions/checkout@v6 | |
| 204 | 204 | - uses: bnema/gordon/.github/actions/deploy@main | |
| 205 | 205 | with: | |
| 206 | 206 | registry: ${{ secrets.GORDON_REGISTRY }} | |
| @@ -46,7 +46,7 @@ jobs: | |||||
| 46 | deploy: | 46 | deploy: | ||
| 47 | runs-on: ubuntu-latest | 47 | runs-on: ubuntu-latest | ||
| 48 | steps: | 48 | steps: | ||
| 49 | - | - uses: actions/checkout@v4 | 49 | + | - uses: actions/checkout@v6 |
| 50 | 50 | ||||
| 51 | - name: Deploy to Gordon | 51 | - name: Deploy to Gordon | ||
| 52 | uses: bnema/gordon/.github/actions/deploy@main | 52 | uses: bnema/gordon/.github/actions/deploy@main | ||
| @@ -103,7 +103,7 @@ jobs: | |||||
| 103 | deploy: | 103 | deploy: | ||
| 104 | runs-on: ubuntu-latest | 104 | runs-on: ubuntu-latest | ||
| 105 | steps: | 105 | steps: | ||
| 106 | - | - uses: actions/checkout@v4 | 106 | + | - uses: actions/checkout@v6 |
| 107 | 107 | ||||
| 108 | - name: Deploy to Gordon | 108 | - name: Deploy to Gordon | ||
| 109 | uses: bnema/gordon/.github/actions/deploy@main | 109 | uses: bnema/gordon/.github/actions/deploy@main | ||
| @@ -129,7 +129,7 @@ jobs: | |||||
| 129 | deploy: | 129 | deploy: | ||
| 130 | runs-on: ubuntu-latest | 130 | runs-on: ubuntu-latest | ||
| 131 | steps: | 131 | steps: | ||
| 132 | - | - uses: actions/checkout@v4 | 132 | + | - uses: actions/checkout@v6 |
| 133 | 133 | ||||
| 134 | - name: Deploy to Gordon | 134 | - name: Deploy to Gordon | ||
| 135 | uses: bnema/gordon/.github/actions/deploy@main | 135 | uses: bnema/gordon/.github/actions/deploy@main | ||
| @@ -158,7 +158,7 @@ jobs: | |||||
| 158 | deploy: | 158 | deploy: | ||
| 159 | runs-on: ubuntu-latest | 159 | runs-on: ubuntu-latest | ||
| 160 | steps: | 160 | steps: | ||
| 161 | - | - uses: actions/checkout@v4 | 161 | + | - uses: actions/checkout@v6 |
| 162 | with: | 162 | with: | ||
| 163 | ref: ${{ github.event.inputs.tag || github.ref }} | 163 | ref: ${{ github.event.inputs.tag || github.ref }} | ||
| 164 | 164 | ||||
| @@ -187,7 +187,7 @@ jobs: | |||||
| 187 | deploy-api: | 187 | deploy-api: | ||
| 188 | runs-on: ubuntu-latest | 188 | runs-on: ubuntu-latest | ||
| 189 | steps: | 189 | steps: | ||
| 190 | - | - uses: actions/checkout@v4 | 190 | + | - uses: actions/checkout@v6 |
| 191 | - uses: bnema/gordon/.github/actions/deploy@main | 191 | - uses: bnema/gordon/.github/actions/deploy@main | ||
| 192 | with: | 192 | with: | ||
| 193 | registry: ${{ secrets.GORDON_REGISTRY }} | 193 | registry: ${{ secrets.GORDON_REGISTRY }} | ||
| @@ -200,7 +200,7 @@ jobs: | |||||
| 200 | deploy-web: | 200 | deploy-web: | ||
| 201 | runs-on: ubuntu-latest | 201 | runs-on: ubuntu-latest | ||
| 202 | steps: | 202 | steps: | ||
| 203 | - | - uses: actions/checkout@v4 | 203 | + | - uses: actions/checkout@v6 |
| 204 | - uses: bnema/gordon/.github/actions/deploy@main | 204 | - uses: bnema/gordon/.github/actions/deploy@main | ||
| 205 | with: | 205 | with: | ||
| 206 | registry: ${{ secrets.GORDON_REGISTRY }} | 206 | registry: ${{ secrets.GORDON_REGISTRY }} | ||
M go.mod +2 -2
| @@ -1,6 +1,6 @@ | |||
| 1 | - | module gordon | |
| 1 | + | module github.com/bnema/gordon | |
| 2 | 2 | ||
| 3 | - | go 1.25.5 | |
| 3 | + | go 1.25.6 | |
| 4 | 4 | ||
| 5 | 5 | require ( | |
| 6 | 6 | github.com/bnema/zerowrap v1.3.0 | |
| @@ -1,6 +1,6 @@ | |||||
| 1 | - | module gordon | 1 | + | module github.com/bnema/gordon |
| 2 | 2 | ||||
| 3 | - | go 1.25.5 | 3 | + | go 1.25.6 |
| 4 | 4 | ||||
| 5 | require ( | 5 | require ( | ||
| 6 | github.com/bnema/zerowrap v1.3.0 | 6 | github.com/bnema/zerowrap v1.3.0 | ||
M internal/adapters/in/cli/attachments.go +3 -3
| @@ -5,9 +5,9 @@ import ( | |||
| 5 | 5 | "fmt" | |
| 6 | 6 | "sort" | |
| 7 | 7 | ||
| 8 | - | "gordon/internal/adapters/in/cli/remote" | |
| 9 | - | "gordon/internal/adapters/in/cli/ui/components" | |
| 10 | - | "gordon/internal/adapters/in/cli/ui/styles" | |
| 8 | + | "github.com/bnema/gordon/internal/adapters/in/cli/remote" | |
| 9 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/components" | |
| 10 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" | |
| 11 | 11 | ||
| 12 | 12 | "github.com/spf13/cobra" | |
| 13 | 13 | ) | |
| @@ -5,9 +5,9 @@ import ( | |||||
| 5 | "fmt" | 5 | "fmt" | ||
| 6 | "sort" | 6 | "sort" | ||
| 7 | 7 | ||||
| 8 | - | "gordon/internal/adapters/in/cli/remote" | 8 | + | "github.com/bnema/gordon/internal/adapters/in/cli/remote" |
| 9 | - | "gordon/internal/adapters/in/cli/ui/components" | 9 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/components" |
| 10 | - | "gordon/internal/adapters/in/cli/ui/styles" | 10 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" |
| 11 | 11 | ||||
| 12 | "github.com/spf13/cobra" | 12 | "github.com/spf13/cobra" | ||
| 13 | ) | 13 | ) | ||
M internal/adapters/in/cli/auth.go +10 -10
| @@ -13,14 +13,14 @@ import ( | |||
| 13 | 13 | "github.com/spf13/viper" | |
| 14 | 14 | "golang.org/x/term" | |
| 15 | 15 | ||
| 16 | - | "gordon/internal/adapters/in/cli/remote" | |
| 17 | - | "gordon/internal/adapters/in/cli/ui/styles" | |
| 18 | - | "gordon/internal/adapters/out/secrets" | |
| 19 | - | "gordon/internal/adapters/out/tokenstore" | |
| 20 | - | "gordon/internal/app" | |
| 21 | - | "gordon/internal/domain" | |
| 22 | - | "gordon/internal/usecase/auth" | |
| 23 | - | "gordon/pkg/duration" | |
| 16 | + | "github.com/bnema/gordon/internal/adapters/in/cli/remote" | |
| 17 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" | |
| 18 | + | "github.com/bnema/gordon/internal/adapters/out/secrets" | |
| 19 | + | "github.com/bnema/gordon/internal/adapters/out/tokenstore" | |
| 20 | + | "github.com/bnema/gordon/internal/app" | |
| 21 | + | "github.com/bnema/gordon/internal/domain" | |
| 22 | + | "github.com/bnema/gordon/internal/usecase/auth" | |
| 23 | + | "github.com/bnema/gordon/pkg/duration" | |
| 24 | 24 | ) | |
| 25 | 25 | ||
| 26 | 26 | // newAuthCmd creates the auth command group. | |
| @@ -344,7 +344,7 @@ The hash can be stored in your secrets backend and referenced in the config: | |||
| 344 | 344 | ||
| 345 | 345 | [auth] | |
| 346 | 346 | type = "password" | |
| 347 | - | password_hash = "gordon/auth/password_hash"`, | |
| 347 | + | password_hash = "github.com/bnema/gordon/auth/password_hash"`, | |
| 348 | 348 | RunE: func(cmd *cobra.Command, args []string) error { | |
| 349 | 349 | return runPasswordHash() | |
| 350 | 350 | }, | |
| @@ -564,7 +564,7 @@ func runPasswordHash() error { | |||
| 564 | 564 | fmt.Println("Then reference the path in your config:") | |
| 565 | 565 | fmt.Println(" [auth]") | |
| 566 | 566 | fmt.Println(" type = \"password\"") | |
| 567 | - | fmt.Println(" password_hash = \"gordon/auth/password_hash\"") | |
| 567 | + | fmt.Println(" password_hash = \"github.com/bnema/gordon/auth/password_hash\"") | |
| 568 | 568 | ||
| 569 | 569 | return nil | |
| 570 | 570 | } | |
| @@ -13,14 +13,14 @@ import ( | |||||
| 13 | "github.com/spf13/viper" | 13 | "github.com/spf13/viper" | ||
| 14 | "golang.org/x/term" | 14 | "golang.org/x/term" | ||
| 15 | 15 | ||||
| 16 | - | "gordon/internal/adapters/in/cli/remote" | 16 | + | "github.com/bnema/gordon/internal/adapters/in/cli/remote" |
| 17 | - | "gordon/internal/adapters/in/cli/ui/styles" | 17 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" |
| 18 | - | "gordon/internal/adapters/out/secrets" | 18 | + | "github.com/bnema/gordon/internal/adapters/out/secrets" |
| 19 | - | "gordon/internal/adapters/out/tokenstore" | 19 | + | "github.com/bnema/gordon/internal/adapters/out/tokenstore" |
| 20 | - | "gordon/internal/app" | 20 | + | "github.com/bnema/gordon/internal/app" |
| 21 | - | "gordon/internal/domain" | 21 | + | "github.com/bnema/gordon/internal/domain" |
| 22 | - | "gordon/internal/usecase/auth" | 22 | + | "github.com/bnema/gordon/internal/usecase/auth" |
| 23 | - | "gordon/pkg/duration" | 23 | + | "github.com/bnema/gordon/pkg/duration" |
| 24 | ) | 24 | ) | ||
| 25 | 25 | ||||
| 26 | // newAuthCmd creates the auth command group. | 26 | // newAuthCmd creates the auth command group. | ||
| @@ -344,7 +344,7 @@ The hash can be stored in your secrets backend and referenced in the config: | |||||
| 344 | 344 | ||||
| 345 | [auth] | 345 | [auth] | ||
| 346 | type = "password" | 346 | type = "password" | ||
| 347 | - | password_hash = "gordon/auth/password_hash"`, | 347 | + | password_hash = "github.com/bnema/gordon/auth/password_hash"`, |
| 348 | RunE: func(cmd *cobra.Command, args []string) error { | 348 | RunE: func(cmd *cobra.Command, args []string) error { | ||
| 349 | return runPasswordHash() | 349 | return runPasswordHash() | ||
| 350 | }, | 350 | }, | ||
| @@ -564,7 +564,7 @@ func runPasswordHash() error { | |||||
| 564 | fmt.Println("Then reference the path in your config:") | 564 | fmt.Println("Then reference the path in your config:") | ||
| 565 | fmt.Println(" [auth]") | 565 | fmt.Println(" [auth]") | ||
| 566 | fmt.Println(" type = \"password\"") | 566 | fmt.Println(" type = \"password\"") | ||
| 567 | - | fmt.Println(" password_hash = \"gordon/auth/password_hash\"") | 567 | + | fmt.Println(" password_hash = \"github.com/bnema/gordon/auth/password_hash\"") |
| 568 | 568 | ||||
| 569 | return nil | 569 | return nil | ||
| 570 | } | 570 | } | ||
M internal/adapters/in/cli/deploy.go +2 -2
| @@ -6,8 +6,8 @@ import ( | |||
| 6 | 6 | ||
| 7 | 7 | "github.com/spf13/cobra" | |
| 8 | 8 | ||
| 9 | - | "gordon/internal/adapters/in/cli/ui/styles" | |
| 10 | - | "gordon/internal/app" | |
| 9 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" | |
| 10 | + | "github.com/bnema/gordon/internal/app" | |
| 11 | 11 | ) | |
| 12 | 12 | ||
| 13 | 13 | // newDeployCmd creates the deploy command. | |
| @@ -6,8 +6,8 @@ import ( | |||||
| 6 | 6 | ||||
| 7 | "github.com/spf13/cobra" | 7 | "github.com/spf13/cobra" | ||
| 8 | 8 | ||||
| 9 | - | "gordon/internal/adapters/in/cli/ui/styles" | 9 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" |
| 10 | - | "gordon/internal/app" | 10 | + | "github.com/bnema/gordon/internal/app" |
| 11 | ) | 11 | ) | ||
| 12 | 12 | ||||
| 13 | // newDeployCmd creates the deploy command. | 13 | // newDeployCmd creates the deploy command. | ||
M internal/adapters/in/cli/local.go +5 -5
| @@ -9,11 +9,11 @@ import ( | |||
| 9 | 9 | "github.com/bnema/zerowrap" | |
| 10 | 10 | "github.com/spf13/viper" | |
| 11 | 11 | ||
| 12 | - | "gordon/internal/adapters/out/domainsecrets" | |
| 13 | - | "gordon/internal/app" | |
| 14 | - | "gordon/internal/boundaries/in" | |
| 15 | - | "gordon/internal/usecase/config" | |
| 16 | - | secretsSvc "gordon/internal/usecase/secrets" | |
| 12 | + | "github.com/bnema/gordon/internal/adapters/out/domainsecrets" | |
| 13 | + | "github.com/bnema/gordon/internal/app" | |
| 14 | + | "github.com/bnema/gordon/internal/boundaries/in" | |
| 15 | + | "github.com/bnema/gordon/internal/usecase/config" | |
| 16 | + | secretsSvc "github.com/bnema/gordon/internal/usecase/secrets" | |
| 17 | 17 | ) | |
| 18 | 18 | ||
| 19 | 19 | // LocalServices provides direct access to local services for CLI operations. | |
| @@ -9,11 +9,11 @@ import ( | |||||
| 9 | "github.com/bnema/zerowrap" | 9 | "github.com/bnema/zerowrap" | ||
| 10 | "github.com/spf13/viper" | 10 | "github.com/spf13/viper" | ||
| 11 | 11 | ||||
| 12 | - | "gordon/internal/adapters/out/domainsecrets" | 12 | + | "github.com/bnema/gordon/internal/adapters/out/domainsecrets" |
| 13 | - | "gordon/internal/app" | 13 | + | "github.com/bnema/gordon/internal/app" |
| 14 | - | "gordon/internal/boundaries/in" | 14 | + | "github.com/bnema/gordon/internal/boundaries/in" |
| 15 | - | "gordon/internal/usecase/config" | 15 | + | "github.com/bnema/gordon/internal/usecase/config" |
| 16 | - | secretsSvc "gordon/internal/usecase/secrets" | 16 | + | secretsSvc "github.com/bnema/gordon/internal/usecase/secrets" |
| 17 | ) | 17 | ) | ||
| 18 | 18 | ||||
| 19 | // LocalServices provides direct access to local services for CLI operations. | 19 | // LocalServices provides direct access to local services for CLI operations. | ||
M internal/adapters/in/cli/remote/client.go +2 -2
| @@ -12,8 +12,8 @@ import ( | |||
| 12 | 12 | "strings" | |
| 13 | 13 | "time" | |
| 14 | 14 | ||
| 15 | - | "gordon/internal/adapters/dto" | |
| 16 | - | "gordon/internal/domain" | |
| 15 | + | "github.com/bnema/gordon/internal/adapters/dto" | |
| 16 | + | "github.com/bnema/gordon/internal/domain" | |
| 17 | 17 | ) | |
| 18 | 18 | ||
| 19 | 19 | // Client is an HTTP client for the Gordon admin API. | |
| @@ -12,8 +12,8 @@ import ( | |||||
| 12 | "strings" | 12 | "strings" | ||
| 13 | "time" | 13 | "time" | ||
| 14 | 14 | ||||
| 15 | - | "gordon/internal/adapters/dto" | 15 | + | "github.com/bnema/gordon/internal/adapters/dto" |
| 16 | - | "gordon/internal/domain" | 16 | + | "github.com/bnema/gordon/internal/domain" |
| 17 | ) | 17 | ) | ||
| 18 | 18 | ||||
| 19 | // Client is an HTTP client for the Gordon admin API. | 19 | // Client is an HTTP client for the Gordon admin API. | ||
M internal/adapters/in/cli/remotes.go +3 -3
| @@ -4,9 +4,9 @@ import ( | |||
| 4 | 4 | "fmt" | |
| 5 | 5 | "strings" | |
| 6 | 6 | ||
| 7 | - | "gordon/internal/adapters/in/cli/remote" | |
| 8 | - | "gordon/internal/adapters/in/cli/ui/components" | |
| 9 | - | "gordon/internal/adapters/in/cli/ui/styles" | |
| 7 | + | "github.com/bnema/gordon/internal/adapters/in/cli/remote" | |
| 8 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/components" | |
| 9 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" | |
| 10 | 10 | ||
| 11 | 11 | "github.com/spf13/cobra" | |
| 12 | 12 | ) | |
| @@ -4,9 +4,9 @@ import ( | |||||
| 4 | "fmt" | 4 | "fmt" | ||
| 5 | "strings" | 5 | "strings" | ||
| 6 | 6 | ||||
| 7 | - | "gordon/internal/adapters/in/cli/remote" | 7 | + | "github.com/bnema/gordon/internal/adapters/in/cli/remote" |
| 8 | - | "gordon/internal/adapters/in/cli/ui/components" | 8 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/components" |
| 9 | - | "gordon/internal/adapters/in/cli/ui/styles" | 9 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" |
| 10 | 10 | ||||
| 11 | "github.com/spf13/cobra" | 11 | "github.com/spf13/cobra" | ||
| 12 | ) | 12 | ) | ||
M internal/adapters/in/cli/root.go +2 -2
| @@ -8,8 +8,8 @@ import ( | |||
| 8 | 8 | ||
| 9 | 9 | "github.com/spf13/cobra" | |
| 10 | 10 | ||
| 11 | - | "gordon/internal/adapters/in/cli/remote" | |
| 12 | - | "gordon/internal/app" | |
| 11 | + | "github.com/bnema/gordon/internal/adapters/in/cli/remote" | |
| 12 | + | "github.com/bnema/gordon/internal/app" | |
| 13 | 13 | ) | |
| 14 | 14 | ||
| 15 | 15 | var ( | |
| @@ -8,8 +8,8 @@ import ( | |||||
| 8 | 8 | ||||
| 9 | "github.com/spf13/cobra" | 9 | "github.com/spf13/cobra" | ||
| 10 | 10 | ||||
| 11 | - | "gordon/internal/adapters/in/cli/remote" | 11 | + | "github.com/bnema/gordon/internal/adapters/in/cli/remote" |
| 12 | - | "gordon/internal/app" | 12 | + | "github.com/bnema/gordon/internal/app" |
| 13 | ) | 13 | ) | ||
| 14 | 14 | ||||
| 15 | var ( | 15 | var ( | ||
M internal/adapters/in/cli/routes.go +4 -4
| @@ -6,10 +6,10 @@ import ( | |||
| 6 | 6 | "os" | |
| 7 | 7 | "strings" | |
| 8 | 8 | ||
| 9 | - | "gordon/internal/adapters/in/cli/remote" | |
| 10 | - | "gordon/internal/adapters/in/cli/ui/components" | |
| 11 | - | "gordon/internal/adapters/in/cli/ui/styles" | |
| 12 | - | "gordon/internal/domain" | |
| 9 | + | "github.com/bnema/gordon/internal/adapters/in/cli/remote" | |
| 10 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/components" | |
| 11 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" | |
| 12 | + | "github.com/bnema/gordon/internal/domain" | |
| 13 | 13 | ||
| 14 | 14 | "github.com/spf13/cobra" | |
| 15 | 15 | ) | |
| @@ -6,10 +6,10 @@ import ( | |||||
| 6 | "os" | 6 | "os" | ||
| 7 | "strings" | 7 | "strings" | ||
| 8 | 8 | ||||
| 9 | - | "gordon/internal/adapters/in/cli/remote" | 9 | + | "github.com/bnema/gordon/internal/adapters/in/cli/remote" |
| 10 | - | "gordon/internal/adapters/in/cli/ui/components" | 10 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/components" |
| 11 | - | "gordon/internal/adapters/in/cli/ui/styles" | 11 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" |
| 12 | - | "gordon/internal/domain" | 12 | + | "github.com/bnema/gordon/internal/domain" |
| 13 | 13 | ||||
| 14 | "github.com/spf13/cobra" | 14 | "github.com/spf13/cobra" | ||
| 15 | ) | 15 | ) | ||
M internal/adapters/in/cli/secrets.go +3 -3
| @@ -5,9 +5,9 @@ import ( | |||
| 5 | 5 | "fmt" | |
| 6 | 6 | "strings" | |
| 7 | 7 | ||
| 8 | - | "gordon/internal/adapters/in/cli/remote" | |
| 9 | - | "gordon/internal/adapters/in/cli/ui/components" | |
| 10 | - | "gordon/internal/adapters/in/cli/ui/styles" | |
| 8 | + | "github.com/bnema/gordon/internal/adapters/in/cli/remote" | |
| 9 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/components" | |
| 10 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" | |
| 11 | 11 | ||
| 12 | 12 | "github.com/spf13/cobra" | |
| 13 | 13 | ) | |
| @@ -5,9 +5,9 @@ import ( | |||||
| 5 | "fmt" | 5 | "fmt" | ||
| 6 | "strings" | 6 | "strings" | ||
| 7 | 7 | ||||
| 8 | - | "gordon/internal/adapters/in/cli/remote" | 8 | + | "github.com/bnema/gordon/internal/adapters/in/cli/remote" |
| 9 | - | "gordon/internal/adapters/in/cli/ui/components" | 9 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/components" |
| 10 | - | "gordon/internal/adapters/in/cli/ui/styles" | 10 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" |
| 11 | 11 | ||||
| 12 | "github.com/spf13/cobra" | 12 | "github.com/spf13/cobra" | ||
| 13 | ) | 13 | ) | ||
M internal/adapters/in/cli/serve.go +1 -1
| @@ -5,7 +5,7 @@ import ( | |||
| 5 | 5 | "fmt" | |
| 6 | 6 | "os" | |
| 7 | 7 | ||
| 8 | - | "gordon/internal/app" | |
| 8 | + | "github.com/bnema/gordon/internal/app" | |
| 9 | 9 | ||
| 10 | 10 | "github.com/spf13/cobra" | |
| 11 | 11 | ) | |
| @@ -5,7 +5,7 @@ import ( | |||||
| 5 | "fmt" | 5 | "fmt" | ||
| 6 | "os" | 6 | "os" | ||
| 7 | 7 | ||||
| 8 | - | "gordon/internal/app" | 8 | + | "github.com/bnema/gordon/internal/app" |
| 9 | 9 | ||||
| 10 | "github.com/spf13/cobra" | 10 | "github.com/spf13/cobra" | ||
| 11 | ) | 11 | ) | ||
M internal/adapters/in/cli/ui/components/confirm.go +1 -1
| @@ -4,7 +4,7 @@ import ( | |||
| 4 | 4 | "fmt" | |
| 5 | 5 | "strings" | |
| 6 | 6 | ||
| 7 | - | "gordon/internal/adapters/in/cli/ui/styles" | |
| 7 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" | |
| 8 | 8 | ||
| 9 | 9 | tea "github.com/charmbracelet/bubbletea" | |
| 10 | 10 | "github.com/charmbracelet/lipgloss" | |
| @@ -4,7 +4,7 @@ import ( | |||||
| 4 | "fmt" | 4 | "fmt" | ||
| 5 | "strings" | 5 | "strings" | ||
| 6 | 6 | ||||
| 7 | - | "gordon/internal/adapters/in/cli/ui/styles" | 7 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" |
| 8 | 8 | ||||
| 9 | tea "github.com/charmbracelet/bubbletea" | 9 | tea "github.com/charmbracelet/bubbletea" | ||
| 10 | "github.com/charmbracelet/lipgloss" | 10 | "github.com/charmbracelet/lipgloss" | ||
M internal/adapters/in/cli/ui/components/form.go +1 -1
| @@ -4,7 +4,7 @@ import ( | |||
| 4 | 4 | "fmt" | |
| 5 | 5 | "strings" | |
| 6 | 6 | ||
| 7 | - | "gordon/internal/adapters/in/cli/ui/styles" | |
| 7 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" | |
| 8 | 8 | ||
| 9 | 9 | "github.com/charmbracelet/bubbles/textinput" | |
| 10 | 10 | tea "github.com/charmbracelet/bubbletea" | |
| @@ -4,7 +4,7 @@ import ( | |||||
| 4 | "fmt" | 4 | "fmt" | ||
| 5 | "strings" | 5 | "strings" | ||
| 6 | 6 | ||||
| 7 | - | "gordon/internal/adapters/in/cli/ui/styles" | 7 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" |
| 8 | 8 | ||||
| 9 | "github.com/charmbracelet/bubbles/textinput" | 9 | "github.com/charmbracelet/bubbles/textinput" | ||
| 10 | tea "github.com/charmbracelet/bubbletea" | 10 | tea "github.com/charmbracelet/bubbletea" | ||
M internal/adapters/in/cli/ui/components/spinner.go +1 -1
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | package components | |
| 3 | 3 | ||
| 4 | 4 | import ( | |
| 5 | - | "gordon/internal/adapters/in/cli/ui/styles" | |
| 5 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" | |
| 6 | 6 | ||
| 7 | 7 | "github.com/charmbracelet/bubbles/spinner" | |
| 8 | 8 | tea "github.com/charmbracelet/bubbletea" | |
| @@ -2,7 +2,7 @@ | |||||
| 2 | package components | 2 | package components | ||
| 3 | 3 | ||||
| 4 | import ( | 4 | import ( | ||
| 5 | - | "gordon/internal/adapters/in/cli/ui/styles" | 5 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" |
| 6 | 6 | ||||
| 7 | "github.com/charmbracelet/bubbles/spinner" | 7 | "github.com/charmbracelet/bubbles/spinner" | ||
| 8 | tea "github.com/charmbracelet/bubbletea" | 8 | tea "github.com/charmbracelet/bubbletea" | ||
M internal/adapters/in/cli/ui/components/status.go +1 -1
| @@ -3,7 +3,7 @@ package components | |||
| 3 | 3 | import ( | |
| 4 | 4 | "strings" | |
| 5 | 5 | ||
| 6 | - | "gordon/internal/adapters/in/cli/ui/styles" | |
| 6 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" | |
| 7 | 7 | ||
| 8 | 8 | "github.com/charmbracelet/lipgloss" | |
| 9 | 9 | ) | |
| @@ -3,7 +3,7 @@ package components | |||||
| 3 | import ( | 3 | import ( | ||
| 4 | "strings" | 4 | "strings" | ||
| 5 | 5 | ||||
| 6 | - | "gordon/internal/adapters/in/cli/ui/styles" | 6 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" |
| 7 | 7 | ||||
| 8 | "github.com/charmbracelet/lipgloss" | 8 | "github.com/charmbracelet/lipgloss" | ||
| 9 | ) | 9 | ) | ||
M internal/adapters/in/cli/ui/components/table.go +1 -1
| @@ -1,7 +1,7 @@ | |||
| 1 | 1 | package components | |
| 2 | 2 | ||
| 3 | 3 | import ( | |
| 4 | - | "gordon/internal/adapters/in/cli/ui/styles" | |
| 4 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" | |
| 5 | 5 | ||
| 6 | 6 | "github.com/charmbracelet/lipgloss" | |
| 7 | 7 | "github.com/charmbracelet/lipgloss/table" | |
| @@ -1,7 +1,7 @@ | |||||
| 1 | package components | 1 | package components | ||
| 2 | 2 | ||||
| 3 | import ( | 3 | import ( | ||
| 4 | - | "gordon/internal/adapters/in/cli/ui/styles" | 4 | + | "github.com/bnema/gordon/internal/adapters/in/cli/ui/styles" |
| 5 | 5 | ||||
| 6 | "github.com/charmbracelet/lipgloss" | 6 | "github.com/charmbracelet/lipgloss" | ||
| 7 | "github.com/charmbracelet/lipgloss/table" | 7 | "github.com/charmbracelet/lipgloss/table" | ||
M internal/adapters/in/http/admin/handler.go +4 -4
| @@ -11,10 +11,10 @@ import ( | |||
| 11 | 11 | ||
| 12 | 12 | "github.com/bnema/zerowrap" | |
| 13 | 13 | ||
| 14 | - | "gordon/internal/adapters/dto" | |
| 15 | - | "gordon/internal/boundaries/in" | |
| 16 | - | "gordon/internal/boundaries/out" | |
| 17 | - | "gordon/internal/domain" | |
| 14 | + | "github.com/bnema/gordon/internal/adapters/dto" | |
| 15 | + | "github.com/bnema/gordon/internal/boundaries/in" | |
| 16 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 17 | + | "github.com/bnema/gordon/internal/domain" | |
| 18 | 18 | ) | |
| 19 | 19 | ||
| 20 | 20 | // maxAdminRequestSize is the maximum allowed size for admin API request bodies. | |
| @@ -11,10 +11,10 @@ import ( | |||||
| 11 | 11 | ||||
| 12 | "github.com/bnema/zerowrap" | 12 | "github.com/bnema/zerowrap" | ||
| 13 | 13 | ||||
| 14 | - | "gordon/internal/adapters/dto" | 14 | + | "github.com/bnema/gordon/internal/adapters/dto" |
| 15 | - | "gordon/internal/boundaries/in" | 15 | + | "github.com/bnema/gordon/internal/boundaries/in" |
| 16 | - | "gordon/internal/boundaries/out" | 16 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 17 | - | "gordon/internal/domain" | 17 | + | "github.com/bnema/gordon/internal/domain" |
| 18 | ) | 18 | ) | ||
| 19 | 19 | ||||
| 20 | // maxAdminRequestSize is the maximum allowed size for admin API request bodies. | 20 | // maxAdminRequestSize is the maximum allowed size for admin API request bodies. | ||
M internal/adapters/in/http/admin/handler_test.go +2 -2
| @@ -12,8 +12,8 @@ import ( | |||
| 12 | 12 | "github.com/stretchr/testify/assert" | |
| 13 | 13 | "github.com/stretchr/testify/mock" | |
| 14 | 14 | ||
| 15 | - | inmocks "gordon/internal/boundaries/in/mocks" | |
| 16 | - | "gordon/internal/domain" | |
| 15 | + | inmocks "github.com/bnema/gordon/internal/boundaries/in/mocks" | |
| 16 | + | "github.com/bnema/gordon/internal/domain" | |
| 17 | 17 | ) | |
| 18 | 18 | ||
| 19 | 19 | func testLogger() zerowrap.Logger { | |
| @@ -12,8 +12,8 @@ import ( | |||||
| 12 | "github.com/stretchr/testify/assert" | 12 | "github.com/stretchr/testify/assert" | ||
| 13 | "github.com/stretchr/testify/mock" | 13 | "github.com/stretchr/testify/mock" | ||
| 14 | 14 | ||||
| 15 | - | inmocks "gordon/internal/boundaries/in/mocks" | 15 | + | inmocks "github.com/bnema/gordon/internal/boundaries/in/mocks" |
| 16 | - | "gordon/internal/domain" | 16 | + | "github.com/bnema/gordon/internal/domain" |
| 17 | ) | 17 | ) | ||
| 18 | 18 | ||||
| 19 | func testLogger() zerowrap.Logger { | 19 | func testLogger() zerowrap.Logger { | ||
M internal/adapters/in/http/admin/middleware.go +5 -5
| @@ -9,11 +9,11 @@ import ( | |||
| 9 | 9 | ||
| 10 | 10 | "github.com/bnema/zerowrap" | |
| 11 | 11 | ||
| 12 | - | "gordon/internal/adapters/dto" | |
| 13 | - | "gordon/internal/adapters/in/http/middleware" | |
| 14 | - | "gordon/internal/boundaries/in" | |
| 15 | - | "gordon/internal/boundaries/out" | |
| 16 | - | "gordon/internal/domain" | |
| 12 | + | "github.com/bnema/gordon/internal/adapters/dto" | |
| 13 | + | "github.com/bnema/gordon/internal/adapters/in/http/middleware" | |
| 14 | + | "github.com/bnema/gordon/internal/boundaries/in" | |
| 15 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 16 | + | "github.com/bnema/gordon/internal/domain" | |
| 17 | 17 | ) | |
| 18 | 18 | ||
| 19 | 19 | // contextKey is a custom type for context keys to avoid collisions. | |
| @@ -9,11 +9,11 @@ import ( | |||||
| 9 | 9 | ||||
| 10 | "github.com/bnema/zerowrap" | 10 | "github.com/bnema/zerowrap" | ||
| 11 | 11 | ||||
| 12 | - | "gordon/internal/adapters/dto" | 12 | + | "github.com/bnema/gordon/internal/adapters/dto" |
| 13 | - | "gordon/internal/adapters/in/http/middleware" | 13 | + | "github.com/bnema/gordon/internal/adapters/in/http/middleware" |
| 14 | - | "gordon/internal/boundaries/in" | 14 | + | "github.com/bnema/gordon/internal/boundaries/in" |
| 15 | - | "gordon/internal/boundaries/out" | 15 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 16 | - | "gordon/internal/domain" | 16 | + | "github.com/bnema/gordon/internal/domain" |
| 17 | ) | 17 | ) | ||
| 18 | 18 | ||||
| 19 | // contextKey is a custom type for context keys to avoid collisions. | 19 | // contextKey is a custom type for context keys to avoid collisions. | ||
M internal/adapters/in/http/admin/middleware_test.go +4 -4
| @@ -10,10 +10,10 @@ import ( | |||
| 10 | 10 | "github.com/stretchr/testify/assert" | |
| 11 | 11 | "github.com/stretchr/testify/mock" | |
| 12 | 12 | ||
| 13 | - | "gordon/internal/adapters/in/http/middleware" | |
| 14 | - | inmocks "gordon/internal/boundaries/in/mocks" | |
| 15 | - | outmocks "gordon/internal/boundaries/out/mocks" | |
| 16 | - | "gordon/internal/domain" | |
| 13 | + | "github.com/bnema/gordon/internal/adapters/in/http/middleware" | |
| 14 | + | inmocks "github.com/bnema/gordon/internal/boundaries/in/mocks" | |
| 15 | + | outmocks "github.com/bnema/gordon/internal/boundaries/out/mocks" | |
| 16 | + | "github.com/bnema/gordon/internal/domain" | |
| 17 | 17 | ) | |
| 18 | 18 | ||
| 19 | 19 | func adminTestLogger() zerowrap.Logger { | |
| @@ -10,10 +10,10 @@ import ( | |||||
| 10 | "github.com/stretchr/testify/assert" | 10 | "github.com/stretchr/testify/assert" | ||
| 11 | "github.com/stretchr/testify/mock" | 11 | "github.com/stretchr/testify/mock" | ||
| 12 | 12 | ||||
| 13 | - | "gordon/internal/adapters/in/http/middleware" | 13 | + | "github.com/bnema/gordon/internal/adapters/in/http/middleware" |
| 14 | - | inmocks "gordon/internal/boundaries/in/mocks" | 14 | + | inmocks "github.com/bnema/gordon/internal/boundaries/in/mocks" |
| 15 | - | outmocks "gordon/internal/boundaries/out/mocks" | 15 | + | outmocks "github.com/bnema/gordon/internal/boundaries/out/mocks" |
| 16 | - | "gordon/internal/domain" | 16 | + | "github.com/bnema/gordon/internal/domain" |
| 17 | ) | 17 | ) | ||
| 18 | 18 | ||||
| 19 | func adminTestLogger() zerowrap.Logger { | 19 | func adminTestLogger() zerowrap.Logger { | ||
M internal/adapters/in/http/auth/handler.go +3 -3
| @@ -9,9 +9,9 @@ import ( | |||
| 9 | 9 | ||
| 10 | 10 | "github.com/bnema/zerowrap" | |
| 11 | 11 | ||
| 12 | - | "gordon/internal/adapters/dto" | |
| 13 | - | "gordon/internal/boundaries/in" | |
| 14 | - | "gordon/internal/domain" | |
| 12 | + | "github.com/bnema/gordon/internal/adapters/dto" | |
| 13 | + | "github.com/bnema/gordon/internal/boundaries/in" | |
| 14 | + | "github.com/bnema/gordon/internal/domain" | |
| 15 | 15 | ) | |
| 16 | 16 | ||
| 17 | 17 | // InternalAuth holds credentials for internal loopback registry access. | |
| @@ -9,9 +9,9 @@ import ( | |||||
| 9 | 9 | ||||
| 10 | "github.com/bnema/zerowrap" | 10 | "github.com/bnema/zerowrap" | ||
| 11 | 11 | ||||
| 12 | - | "gordon/internal/adapters/dto" | 12 | + | "github.com/bnema/gordon/internal/adapters/dto" |
| 13 | - | "gordon/internal/boundaries/in" | 13 | + | "github.com/bnema/gordon/internal/boundaries/in" |
| 14 | - | "gordon/internal/domain" | 14 | + | "github.com/bnema/gordon/internal/domain" |
| 15 | ) | 15 | ) | ||
| 16 | 16 | ||||
| 17 | // InternalAuth holds credentials for internal loopback registry access. | 17 | // InternalAuth holds credentials for internal loopback registry access. | ||
M internal/adapters/in/http/auth/handler_test.go +2 -2
| @@ -12,8 +12,8 @@ import ( | |||
| 12 | 12 | "github.com/stretchr/testify/assert" | |
| 13 | 13 | "github.com/stretchr/testify/mock" | |
| 14 | 14 | ||
| 15 | - | "gordon/internal/boundaries/in/mocks" | |
| 16 | - | "gordon/internal/domain" | |
| 15 | + | "github.com/bnema/gordon/internal/boundaries/in/mocks" | |
| 16 | + | "github.com/bnema/gordon/internal/domain" | |
| 17 | 17 | ) | |
| 18 | 18 | ||
| 19 | 19 | func testLogger() zerowrap.Logger { | |
| @@ -12,8 +12,8 @@ import ( | |||||
| 12 | "github.com/stretchr/testify/assert" | 12 | "github.com/stretchr/testify/assert" | ||
| 13 | "github.com/stretchr/testify/mock" | 13 | "github.com/stretchr/testify/mock" | ||
| 14 | 14 | ||||
| 15 | - | "gordon/internal/boundaries/in/mocks" | 15 | + | "github.com/bnema/gordon/internal/boundaries/in/mocks" |
| 16 | - | "gordon/internal/domain" | 16 | + | "github.com/bnema/gordon/internal/domain" |
| 17 | ) | 17 | ) | ||
| 18 | 18 | ||||
| 19 | func testLogger() zerowrap.Logger { | 19 | func testLogger() zerowrap.Logger { | ||
M internal/adapters/in/http/middleware/auth.go +3 -3
| @@ -9,9 +9,9 @@ import ( | |||
| 9 | 9 | ||
| 10 | 10 | "github.com/bnema/zerowrap" | |
| 11 | 11 | ||
| 12 | - | "gordon/internal/adapters/dto" | |
| 13 | - | "gordon/internal/boundaries/in" | |
| 14 | - | "gordon/internal/domain" | |
| 12 | + | "github.com/bnema/gordon/internal/adapters/dto" | |
| 13 | + | "github.com/bnema/gordon/internal/boundaries/in" | |
| 14 | + | "github.com/bnema/gordon/internal/domain" | |
| 15 | 15 | ) | |
| 16 | 16 | ||
| 17 | 17 | // contextKey is a type for context keys used by this package. | |
| @@ -9,9 +9,9 @@ import ( | |||||
| 9 | 9 | ||||
| 10 | "github.com/bnema/zerowrap" | 10 | "github.com/bnema/zerowrap" | ||
| 11 | 11 | ||||
| 12 | - | "gordon/internal/adapters/dto" | 12 | + | "github.com/bnema/gordon/internal/adapters/dto" |
| 13 | - | "gordon/internal/boundaries/in" | 13 | + | "github.com/bnema/gordon/internal/boundaries/in" |
| 14 | - | "gordon/internal/domain" | 14 | + | "github.com/bnema/gordon/internal/domain" |
| 15 | ) | 15 | ) | ||
| 16 | 16 | ||||
| 17 | // contextKey is a type for context keys used by this package. | 17 | // contextKey is a type for context keys used by this package. | ||
M internal/adapters/in/http/middleware/auth_test.go +1 -1
| @@ -12,7 +12,7 @@ import ( | |||
| 12 | 12 | "github.com/bnema/zerowrap" | |
| 13 | 13 | "github.com/stretchr/testify/assert" | |
| 14 | 14 | ||
| 15 | - | "gordon/internal/domain" | |
| 15 | + | "github.com/bnema/gordon/internal/domain" | |
| 16 | 16 | ) | |
| 17 | 17 | ||
| 18 | 18 | func testLogger() zerowrap.Logger { | |
| @@ -12,7 +12,7 @@ import ( | |||||
| 12 | "github.com/bnema/zerowrap" | 12 | "github.com/bnema/zerowrap" | ||
| 13 | "github.com/stretchr/testify/assert" | 13 | "github.com/stretchr/testify/assert" | ||
| 14 | 14 | ||||
| 15 | - | "gordon/internal/domain" | 15 | + | "github.com/bnema/gordon/internal/domain" |
| 16 | ) | 16 | ) | ||
| 17 | 17 | ||||
| 18 | func testLogger() zerowrap.Logger { | 18 | func testLogger() zerowrap.Logger { | ||
M internal/adapters/in/http/middleware/logging.go +1 -1
| @@ -8,7 +8,7 @@ import ( | |||
| 8 | 8 | ||
| 9 | 9 | "github.com/bnema/zerowrap" | |
| 10 | 10 | ||
| 11 | - | "gordon/internal/adapters/dto" | |
| 11 | + | "github.com/bnema/gordon/internal/adapters/dto" | |
| 12 | 12 | ) | |
| 13 | 13 | ||
| 14 | 14 | // ResponseWriter wraps http.ResponseWriter to capture status code and bytes written. | |
| @@ -8,7 +8,7 @@ import ( | |||||
| 8 | 8 | ||||
| 9 | "github.com/bnema/zerowrap" | 9 | "github.com/bnema/zerowrap" | ||
| 10 | 10 | ||||
| 11 | - | "gordon/internal/adapters/dto" | 11 | + | "github.com/bnema/gordon/internal/adapters/dto" |
| 12 | ) | 12 | ) | ||
| 13 | 13 | ||||
| 14 | // ResponseWriter wraps http.ResponseWriter to capture status code and bytes written. | 14 | // ResponseWriter wraps http.ResponseWriter to capture status code and bytes written. | ||
M internal/adapters/in/http/proxy/handler.go +1 -1
| @@ -9,7 +9,7 @@ import ( | |||
| 9 | 9 | ||
| 10 | 10 | "github.com/bnema/zerowrap" | |
| 11 | 11 | ||
| 12 | - | "gordon/internal/boundaries/in" | |
| 12 | + | "github.com/bnema/gordon/internal/boundaries/in" | |
| 13 | 13 | ) | |
| 14 | 14 | ||
| 15 | 15 | // Handler wraps the proxy service for HTTP. | |
| @@ -9,7 +9,7 @@ import ( | |||||
| 9 | 9 | ||||
| 10 | "github.com/bnema/zerowrap" | 10 | "github.com/bnema/zerowrap" | ||
| 11 | 11 | ||||
| 12 | - | "gordon/internal/boundaries/in" | 12 | + | "github.com/bnema/gordon/internal/boundaries/in" |
| 13 | ) | 13 | ) | ||
| 14 | 14 | ||||
| 15 | // Handler wraps the proxy service for HTTP. | 15 | // Handler wraps the proxy service for HTTP. | ||
M internal/adapters/in/http/registry/handler.go +5 -5
| @@ -12,11 +12,11 @@ import ( | |||
| 12 | 12 | ||
| 13 | 13 | "github.com/bnema/zerowrap" | |
| 14 | 14 | ||
| 15 | - | "gordon/internal/adapters/dto" | |
| 16 | - | "gordon/internal/boundaries/in" | |
| 17 | - | "gordon/internal/domain" | |
| 18 | - | "gordon/pkg/manifest" | |
| 19 | - | "gordon/pkg/validation" | |
| 15 | + | "github.com/bnema/gordon/internal/adapters/dto" | |
| 16 | + | "github.com/bnema/gordon/internal/boundaries/in" | |
| 17 | + | "github.com/bnema/gordon/internal/domain" | |
| 18 | + | "github.com/bnema/gordon/pkg/manifest" | |
| 19 | + | "github.com/bnema/gordon/pkg/validation" | |
| 20 | 20 | ) | |
| 21 | 21 | ||
| 22 | 22 | const ( | |
| @@ -12,11 +12,11 @@ import ( | |||||
| 12 | 12 | ||||
| 13 | "github.com/bnema/zerowrap" | 13 | "github.com/bnema/zerowrap" | ||
| 14 | 14 | ||||
| 15 | - | "gordon/internal/adapters/dto" | 15 | + | "github.com/bnema/gordon/internal/adapters/dto" |
| 16 | - | "gordon/internal/boundaries/in" | 16 | + | "github.com/bnema/gordon/internal/boundaries/in" |
| 17 | - | "gordon/internal/domain" | 17 | + | "github.com/bnema/gordon/internal/domain" |
| 18 | - | "gordon/pkg/manifest" | 18 | + | "github.com/bnema/gordon/pkg/manifest" |
| 19 | - | "gordon/pkg/validation" | 19 | + | "github.com/bnema/gordon/pkg/validation" |
| 20 | ) | 20 | ) | ||
| 21 | 21 | ||||
| 22 | const ( | 22 | const ( | ||
M internal/adapters/in/http/registry/handler_test.go +2 -2
| @@ -12,8 +12,8 @@ import ( | |||
| 12 | 12 | "github.com/stretchr/testify/assert" | |
| 13 | 13 | "github.com/stretchr/testify/mock" | |
| 14 | 14 | ||
| 15 | - | inmocks "gordon/internal/boundaries/in/mocks" | |
| 16 | - | "gordon/internal/domain" | |
| 15 | + | inmocks "github.com/bnema/gordon/internal/boundaries/in/mocks" | |
| 16 | + | "github.com/bnema/gordon/internal/domain" | |
| 17 | 17 | ) | |
| 18 | 18 | ||
| 19 | 19 | func testLogger() zerowrap.Logger { | |
| @@ -12,8 +12,8 @@ import ( | |||||
| 12 | "github.com/stretchr/testify/assert" | 12 | "github.com/stretchr/testify/assert" | ||
| 13 | "github.com/stretchr/testify/mock" | 13 | "github.com/stretchr/testify/mock" | ||
| 14 | 14 | ||||
| 15 | - | inmocks "gordon/internal/boundaries/in/mocks" | 15 | + | inmocks "github.com/bnema/gordon/internal/boundaries/in/mocks" |
| 16 | - | "gordon/internal/domain" | 16 | + | "github.com/bnema/gordon/internal/domain" |
| 17 | ) | 17 | ) | ||
| 18 | 18 | ||||
| 19 | func testLogger() zerowrap.Logger { | 19 | func testLogger() zerowrap.Logger { | ||
M internal/adapters/in/http/registry/ratelimit.go +3 -3
| @@ -7,9 +7,9 @@ import ( | |||
| 7 | 7 | ||
| 8 | 8 | "github.com/bnema/zerowrap" | |
| 9 | 9 | ||
| 10 | - | "gordon/internal/adapters/dto" | |
| 11 | - | "gordon/internal/adapters/in/http/middleware" | |
| 12 | - | "gordon/internal/boundaries/out" | |
| 10 | + | "github.com/bnema/gordon/internal/adapters/dto" | |
| 11 | + | "github.com/bnema/gordon/internal/adapters/in/http/middleware" | |
| 12 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 13 | 13 | ) | |
| 14 | 14 | ||
| 15 | 15 | // RateLimitMiddleware creates rate limiting middleware for the registry API. | |
| @@ -7,9 +7,9 @@ import ( | |||||
| 7 | 7 | ||||
| 8 | "github.com/bnema/zerowrap" | 8 | "github.com/bnema/zerowrap" | ||
| 9 | 9 | ||||
| 10 | - | "gordon/internal/adapters/dto" | 10 | + | "github.com/bnema/gordon/internal/adapters/dto" |
| 11 | - | "gordon/internal/adapters/in/http/middleware" | 11 | + | "github.com/bnema/gordon/internal/adapters/in/http/middleware" |
| 12 | - | "gordon/internal/boundaries/out" | 12 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 13 | ) | 13 | ) | ||
| 14 | 14 | ||||
| 15 | // RateLimitMiddleware creates rate limiting middleware for the registry API. | 15 | // RateLimitMiddleware creates rate limiting middleware for the registry API. | ||
M internal/adapters/in/http/registry/ratelimit_test.go +3 -3
| @@ -9,9 +9,9 @@ import ( | |||
| 9 | 9 | ||
| 10 | 10 | "github.com/stretchr/testify/assert" | |
| 11 | 11 | ||
| 12 | - | "gordon/internal/adapters/in/http/middleware" | |
| 13 | - | "gordon/internal/adapters/out/ratelimit" | |
| 14 | - | outmocks "gordon/internal/boundaries/out/mocks" | |
| 12 | + | "github.com/bnema/gordon/internal/adapters/in/http/middleware" | |
| 13 | + | "github.com/bnema/gordon/internal/adapters/out/ratelimit" | |
| 14 | + | outmocks "github.com/bnema/gordon/internal/boundaries/out/mocks" | |
| 15 | 15 | ) | |
| 16 | 16 | ||
| 17 | 17 | func TestRateLimitMiddleware_Disabled(t *testing.T) { | |
| @@ -9,9 +9,9 @@ import ( | |||||
| 9 | 9 | ||||
| 10 | "github.com/stretchr/testify/assert" | 10 | "github.com/stretchr/testify/assert" | ||
| 11 | 11 | ||||
| 12 | - | "gordon/internal/adapters/in/http/middleware" | 12 | + | "github.com/bnema/gordon/internal/adapters/in/http/middleware" |
| 13 | - | "gordon/internal/adapters/out/ratelimit" | 13 | + | "github.com/bnema/gordon/internal/adapters/out/ratelimit" |
| 14 | - | outmocks "gordon/internal/boundaries/out/mocks" | 14 | + | outmocks "github.com/bnema/gordon/internal/boundaries/out/mocks" |
| 15 | ) | 15 | ) | ||
| 16 | 16 | ||||
| 17 | func TestRateLimitMiddleware_Disabled(t *testing.T) { | 17 | func TestRateLimitMiddleware_Disabled(t *testing.T) { | ||
M internal/adapters/out/docker/runtime.go +1 -1
| @@ -23,7 +23,7 @@ import ( | |||
| 23 | 23 | "github.com/docker/docker/client" | |
| 24 | 24 | "github.com/docker/go-connections/nat" | |
| 25 | 25 | ||
| 26 | - | "gordon/internal/domain" | |
| 26 | + | "github.com/bnema/gordon/internal/domain" | |
| 27 | 27 | ) | |
| 28 | 28 | ||
| 29 | 29 | // Runtime implements the ContainerRuntime interface using Docker API. | |
| @@ -23,7 +23,7 @@ import ( | |||||
| 23 | "github.com/docker/docker/client" | 23 | "github.com/docker/docker/client" | ||
| 24 | "github.com/docker/go-connections/nat" | 24 | "github.com/docker/go-connections/nat" | ||
| 25 | 25 | ||||
| 26 | - | "gordon/internal/domain" | 26 | + | "github.com/bnema/gordon/internal/domain" |
| 27 | ) | 27 | ) | ||
| 28 | 28 | ||||
| 29 | // Runtime implements the ContainerRuntime interface using Docker API. | 29 | // Runtime implements the ContainerRuntime interface using Docker API. | ||
M internal/adapters/out/domainsecrets/store.go +2 -2
| @@ -11,8 +11,8 @@ import ( | |||
| 11 | 11 | ||
| 12 | 12 | "github.com/bnema/zerowrap" | |
| 13 | 13 | ||
| 14 | - | "gordon/internal/boundaries/out" | |
| 15 | - | "gordon/internal/domain" | |
| 14 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 15 | + | "github.com/bnema/gordon/internal/domain" | |
| 16 | 16 | ) | |
| 17 | 17 | ||
| 18 | 18 | // FileStore implements the DomainSecretStore interface using filesystem-based env files. | |
| @@ -11,8 +11,8 @@ import ( | |||||
| 11 | 11 | ||||
| 12 | "github.com/bnema/zerowrap" | 12 | "github.com/bnema/zerowrap" | ||
| 13 | 13 | ||||
| 14 | - | "gordon/internal/boundaries/out" | 14 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 15 | - | "gordon/internal/domain" | 15 | + | "github.com/bnema/gordon/internal/domain" |
| 16 | ) | 16 | ) | ||
| 17 | 17 | ||||
| 18 | // FileStore implements the DomainSecretStore interface using filesystem-based env files. | 18 | // FileStore implements the DomainSecretStore interface using filesystem-based env files. | ||
M internal/adapters/out/domainsecrets/store_test.go +1 -1
| @@ -10,7 +10,7 @@ import ( | |||
| 10 | 10 | "github.com/stretchr/testify/assert" | |
| 11 | 11 | "github.com/stretchr/testify/require" | |
| 12 | 12 | ||
| 13 | - | "gordon/internal/domain" | |
| 13 | + | "github.com/bnema/gordon/internal/domain" | |
| 14 | 14 | ) | |
| 15 | 15 | ||
| 16 | 16 | func testLogger() zerowrap.Logger { | |
| @@ -10,7 +10,7 @@ import ( | |||||
| 10 | "github.com/stretchr/testify/assert" | 10 | "github.com/stretchr/testify/assert" | ||
| 11 | "github.com/stretchr/testify/require" | 11 | "github.com/stretchr/testify/require" | ||
| 12 | 12 | ||||
| 13 | - | "gordon/internal/domain" | 13 | + | "github.com/bnema/gordon/internal/domain" |
| 14 | ) | 14 | ) | ||
| 15 | 15 | ||||
| 16 | func testLogger() zerowrap.Logger { | 16 | func testLogger() zerowrap.Logger { | ||
M internal/adapters/out/envloader/file.go +1 -1
| @@ -11,7 +11,7 @@ import ( | |||
| 11 | 11 | ||
| 12 | 12 | "github.com/bnema/zerowrap" | |
| 13 | 13 | ||
| 14 | - | "gordon/internal/boundaries/out" | |
| 14 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 15 | 15 | ) | |
| 16 | 16 | ||
| 17 | 17 | // FileLoader implements the EnvLoader interface using filesystem-based env files. | |
| @@ -11,7 +11,7 @@ import ( | |||||
| 11 | 11 | ||||
| 12 | "github.com/bnema/zerowrap" | 12 | "github.com/bnema/zerowrap" | ||
| 13 | 13 | ||||
| 14 | - | "gordon/internal/boundaries/out" | 14 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 15 | ) | 15 | ) | ||
| 16 | 16 | ||||
| 17 | // FileLoader implements the EnvLoader interface using filesystem-based env files. | 17 | // FileLoader implements the EnvLoader interface using filesystem-based env files. | ||
M internal/adapters/out/envloader/file_test.go +1 -1
| @@ -10,7 +10,7 @@ import ( | |||
| 10 | 10 | "github.com/stretchr/testify/assert" | |
| 11 | 11 | "github.com/stretchr/testify/require" | |
| 12 | 12 | ||
| 13 | - | "gordon/internal/boundaries/out/mocks" | |
| 13 | + | "github.com/bnema/gordon/internal/boundaries/out/mocks" | |
| 14 | 14 | ) | |
| 15 | 15 | ||
| 16 | 16 | func TestFileLoader_ResolveSecrets(t *testing.T) { | |
| @@ -10,7 +10,7 @@ import ( | |||||
| 10 | "github.com/stretchr/testify/assert" | 10 | "github.com/stretchr/testify/assert" | ||
| 11 | "github.com/stretchr/testify/require" | 11 | "github.com/stretchr/testify/require" | ||
| 12 | 12 | ||||
| 13 | - | "gordon/internal/boundaries/out/mocks" | 13 | + | "github.com/bnema/gordon/internal/boundaries/out/mocks" |
| 14 | ) | 14 | ) | ||
| 15 | 15 | ||||
| 16 | func TestFileLoader_ResolveSecrets(t *testing.T) { | 16 | func TestFileLoader_ResolveSecrets(t *testing.T) { | ||
M internal/adapters/out/eventbus/inmemory.go +2 -2
| @@ -10,8 +10,8 @@ import ( | |||
| 10 | 10 | "github.com/bnema/zerowrap" | |
| 11 | 11 | "github.com/google/uuid" | |
| 12 | 12 | ||
| 13 | - | "gordon/internal/boundaries/out" | |
| 14 | - | "gordon/internal/domain" | |
| 13 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 14 | + | "github.com/bnema/gordon/internal/domain" | |
| 15 | 15 | ) | |
| 16 | 16 | ||
| 17 | 17 | // InMemory implements the EventBus interface using in-memory channels. | |
| @@ -10,8 +10,8 @@ import ( | |||||
| 10 | "github.com/bnema/zerowrap" | 10 | "github.com/bnema/zerowrap" | ||
| 11 | "github.com/google/uuid" | 11 | "github.com/google/uuid" | ||
| 12 | 12 | ||||
| 13 | - | "gordon/internal/boundaries/out" | 13 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 14 | - | "gordon/internal/domain" | 14 | + | "github.com/bnema/gordon/internal/domain" |
| 15 | ) | 15 | ) | ||
| 16 | 16 | ||||
| 17 | // InMemory implements the EventBus interface using in-memory channels. | 17 | // InMemory implements the EventBus interface using in-memory channels. | ||
M internal/adapters/out/filesystem/blob.go +1 -1
| @@ -15,7 +15,7 @@ import ( | |||
| 15 | 15 | ||
| 16 | 16 | "github.com/bnema/zerowrap" | |
| 17 | 17 | ||
| 18 | - | "gordon/pkg/validation" | |
| 18 | + | "github.com/bnema/gordon/pkg/validation" | |
| 19 | 19 | ) | |
| 20 | 20 | ||
| 21 | 21 | // BlobStorage implements the BlobStorage interface using the local filesystem. | |
| @@ -15,7 +15,7 @@ import ( | |||||
| 15 | 15 | ||||
| 16 | "github.com/bnema/zerowrap" | 16 | "github.com/bnema/zerowrap" | ||
| 17 | 17 | ||||
| 18 | - | "gordon/pkg/validation" | 18 | + | "github.com/bnema/gordon/pkg/validation" |
| 19 | ) | 19 | ) | ||
| 20 | 20 | ||||
| 21 | // BlobStorage implements the BlobStorage interface using the local filesystem. | 21 | // BlobStorage implements the BlobStorage interface using the local filesystem. | ||
M internal/adapters/out/filesystem/manifest.go +1 -1
| @@ -8,7 +8,7 @@ import ( | |||
| 8 | 8 | ||
| 9 | 9 | "github.com/bnema/zerowrap" | |
| 10 | 10 | ||
| 11 | - | "gordon/pkg/validation" | |
| 11 | + | "github.com/bnema/gordon/pkg/validation" | |
| 12 | 12 | ) | |
| 13 | 13 | ||
| 14 | 14 | // ManifestStorage implements the ManifestStorage interface using the local filesystem. | |
| @@ -8,7 +8,7 @@ import ( | |||||
| 8 | 8 | ||||
| 9 | "github.com/bnema/zerowrap" | 9 | "github.com/bnema/zerowrap" | ||
| 10 | 10 | ||||
| 11 | - | "gordon/pkg/validation" | 11 | + | "github.com/bnema/gordon/pkg/validation" |
| 12 | ) | 12 | ) | ||
| 13 | 13 | ||||
| 14 | // ManifestStorage implements the ManifestStorage interface using the local filesystem. | 14 | // ManifestStorage implements the ManifestStorage interface using the local filesystem. | ||
M internal/adapters/out/ratelimit/memory.go +1 -1
| @@ -9,7 +9,7 @@ import ( | |||
| 9 | 9 | "github.com/bnema/zerowrap" | |
| 10 | 10 | "golang.org/x/time/rate" | |
| 11 | 11 | ||
| 12 | - | "gordon/internal/boundaries/out" | |
| 12 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 13 | 13 | ) | |
| 14 | 14 | ||
| 15 | 15 | // Ensure MemoryStore implements out.RateLimiter. | |
| @@ -9,7 +9,7 @@ import ( | |||||
| 9 | "github.com/bnema/zerowrap" | 9 | "github.com/bnema/zerowrap" | ||
| 10 | "golang.org/x/time/rate" | 10 | "golang.org/x/time/rate" | ||
| 11 | 11 | ||||
| 12 | - | "gordon/internal/boundaries/out" | 12 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 13 | ) | 13 | ) | ||
| 14 | 14 | ||||
| 15 | // Ensure MemoryStore implements out.RateLimiter. | 15 | // Ensure MemoryStore implements out.RateLimiter. | ||
M internal/adapters/out/ratelimit/store.go +1 -1
| @@ -5,7 +5,7 @@ import ( | |||
| 5 | 5 | ||
| 6 | 6 | "github.com/bnema/zerowrap" | |
| 7 | 7 | ||
| 8 | - | "gordon/internal/boundaries/out" | |
| 8 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 9 | 9 | ) | |
| 10 | 10 | ||
| 11 | 11 | // NewStore creates a RateLimiter based on the configured backend. | |
| @@ -5,7 +5,7 @@ import ( | |||||
| 5 | 5 | ||||
| 6 | "github.com/bnema/zerowrap" | 6 | "github.com/bnema/zerowrap" | ||
| 7 | 7 | ||||
| 8 | - | "gordon/internal/boundaries/out" | 8 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 9 | ) | 9 | ) | ||
| 10 | 10 | ||||
| 11 | // NewStore creates a RateLimiter based on the configured backend. | 11 | // NewStore creates a RateLimiter based on the configured backend. | ||
M internal/adapters/out/secrets/pass.go +1 -1
| @@ -11,7 +11,7 @@ import ( | |||
| 11 | 11 | ||
| 12 | 12 | "github.com/bnema/zerowrap" | |
| 13 | 13 | ||
| 14 | - | "gordon/internal/domain" | |
| 14 | + | "github.com/bnema/gordon/internal/domain" | |
| 15 | 15 | ) | |
| 16 | 16 | ||
| 17 | 17 | // passPathRegex validates pass paths. | |
| @@ -11,7 +11,7 @@ import ( | |||||
| 11 | 11 | ||||
| 12 | "github.com/bnema/zerowrap" | 12 | "github.com/bnema/zerowrap" | ||
| 13 | 13 | ||||
| 14 | - | "gordon/internal/domain" | 14 | + | "github.com/bnema/gordon/internal/domain" |
| 15 | ) | 15 | ) | ||
| 16 | 16 | ||||
| 17 | // passPathRegex validates pass paths. | 17 | // passPathRegex validates pass paths. | ||
M internal/adapters/out/secrets/pass_test.go +3 -3
| @@ -9,7 +9,7 @@ import ( | |||
| 9 | 9 | "github.com/stretchr/testify/assert" | |
| 10 | 10 | "github.com/stretchr/testify/require" | |
| 11 | 11 | ||
| 12 | - | "gordon/internal/domain" | |
| 12 | + | "github.com/bnema/gordon/internal/domain" | |
| 13 | 13 | ) | |
| 14 | 14 | ||
| 15 | 15 | func TestValidatePath(t *testing.T) { | |
| @@ -22,7 +22,7 @@ func TestValidatePath(t *testing.T) { | |||
| 22 | 22 | // Valid paths | |
| 23 | 23 | { | |
| 24 | 24 | name: "simple path", | |
| 25 | - | path: "gordon/registry/secret", | |
| 25 | + | path: "github.com/bnema/gordon/registry/secret", | |
| 26 | 26 | wantErr: false, | |
| 27 | 27 | }, | |
| 28 | 28 | { | |
| @@ -168,7 +168,7 @@ func TestPassProvider_GetSecret_PathValidation(t *testing.T) { | |||
| 168 | 168 | }{ | |
| 169 | 169 | { | |
| 170 | 170 | name: "valid path rejected due to pass not installed", | |
| 171 | - | path: "gordon/test/secret", | |
| 171 | + | path: "github.com/bnema/gordon/test/secret", | |
| 172 | 172 | wantErr: true, // Will fail because pass command doesn't exist in test, but path is valid | |
| 173 | 173 | }, | |
| 174 | 174 | { | |
| @@ -9,7 +9,7 @@ import ( | |||||
| 9 | "github.com/stretchr/testify/assert" | 9 | "github.com/stretchr/testify/assert" | ||
| 10 | "github.com/stretchr/testify/require" | 10 | "github.com/stretchr/testify/require" | ||
| 11 | 11 | ||||
| 12 | - | "gordon/internal/domain" | 12 | + | "github.com/bnema/gordon/internal/domain" |
| 13 | ) | 13 | ) | ||
| 14 | 14 | ||||
| 15 | func TestValidatePath(t *testing.T) { | 15 | func TestValidatePath(t *testing.T) { | ||
| @@ -22,7 +22,7 @@ func TestValidatePath(t *testing.T) { | |||||
| 22 | // Valid paths | 22 | // Valid paths | ||
| 23 | { | 23 | { | ||
| 24 | name: "simple path", | 24 | name: "simple path", | ||
| 25 | - | path: "gordon/registry/secret", | 25 | + | path: "github.com/bnema/gordon/registry/secret", |
| 26 | wantErr: false, | 26 | wantErr: false, | ||
| 27 | }, | 27 | }, | ||
| 28 | { | 28 | { | ||
| @@ -168,7 +168,7 @@ func TestPassProvider_GetSecret_PathValidation(t *testing.T) { | |||||
| 168 | }{ | 168 | }{ | ||
| 169 | { | 169 | { | ||
| 170 | name: "valid path rejected due to pass not installed", | 170 | name: "valid path rejected due to pass not installed", | ||
| 171 | - | path: "gordon/test/secret", | 171 | + | path: "github.com/bnema/gordon/test/secret", |
| 172 | wantErr: true, // Will fail because pass command doesn't exist in test, but path is valid | 172 | wantErr: true, // Will fail because pass command doesn't exist in test, but path is valid | ||
| 173 | }, | 173 | }, | ||
| 174 | { | 174 | { | ||
M internal/adapters/out/tokenstore/pass.go +3 -3
| @@ -13,7 +13,7 @@ import ( | |||
| 13 | 13 | ||
| 14 | 14 | "github.com/bnema/zerowrap" | |
| 15 | 15 | ||
| 16 | - | "gordon/internal/domain" | |
| 16 | + | "github.com/bnema/gordon/internal/domain" | |
| 17 | 17 | ) | |
| 18 | 18 | ||
| 19 | 19 | // ansiRegex matches ANSI escape sequences for stripping from pass output. | |
| @@ -21,9 +21,9 @@ var ansiRegex = regexp.MustCompile(`\x1b\[[0-9;]*m`) | |||
| 21 | 21 | ||
| 22 | 22 | const ( | |
| 23 | 23 | // passTokenPath is the base path for tokens in pass. | |
| 24 | - | passTokenPath = "gordon/registry/tokens" | |
| 24 | + | passTokenPath = "gordon/registry/tokens" //nolint:gosec // Not a credential, this is a pass store path | |
| 25 | 25 | // passRevokedPath is the path for the revocation list in pass. | |
| 26 | - | passRevokedPath = "gordon/registry/revoked" | |
| 26 | + | passRevokedPath = "gordon/registry/revoked" //nolint:gosec // Not a credential, this is a pass store path | |
| 27 | 27 | ) | |
| 28 | 28 | ||
| 29 | 29 | // cachedToken holds a token and its JWT in memory. | |
| @@ -13,7 +13,7 @@ import ( | |||||
| 13 | 13 | ||||
| 14 | "github.com/bnema/zerowrap" | 14 | "github.com/bnema/zerowrap" | ||
| 15 | 15 | ||||
| 16 | - | "gordon/internal/domain" | 16 | + | "github.com/bnema/gordon/internal/domain" |
| 17 | ) | 17 | ) | ||
| 18 | 18 | ||||
| 19 | // ansiRegex matches ANSI escape sequences for stripping from pass output. | 19 | // ansiRegex matches ANSI escape sequences for stripping from pass output. | ||
| @@ -21,9 +21,9 @@ var ansiRegex = regexp.MustCompile(`\x1b\[[0-9;]*m`) | |||||
| 21 | 21 | ||||
| 22 | const ( | 22 | const ( | ||
| 23 | // passTokenPath is the base path for tokens in pass. | 23 | // passTokenPath is the base path for tokens in pass. | ||
| 24 | - | passTokenPath = "gordon/registry/tokens" | 24 | + | passTokenPath = "gordon/registry/tokens" //nolint:gosec // Not a credential, this is a pass store path |
| 25 | // passRevokedPath is the path for the revocation list in pass. | 25 | // passRevokedPath is the path for the revocation list in pass. | ||
| 26 | - | passRevokedPath = "gordon/registry/revoked" | 26 | + | passRevokedPath = "gordon/registry/revoked" //nolint:gosec // Not a credential, this is a pass store path |
| 27 | ) | 27 | ) | ||
| 28 | 28 | ||||
| 29 | // cachedToken holds a token and its JWT in memory. | 29 | // cachedToken holds a token and its JWT in memory. | ||
M internal/adapters/out/tokenstore/pass_test.go +1 -1
| @@ -9,7 +9,7 @@ import ( | |||
| 9 | 9 | "github.com/stretchr/testify/assert" | |
| 10 | 10 | "github.com/stretchr/testify/require" | |
| 11 | 11 | ||
| 12 | - | "gordon/internal/domain" | |
| 12 | + | "github.com/bnema/gordon/internal/domain" | |
| 13 | 13 | ) | |
| 14 | 14 | ||
| 15 | 15 | // These tests verify the in-memory caching behavior of PassStore. | |
| @@ -9,7 +9,7 @@ import ( | |||||
| 9 | "github.com/stretchr/testify/assert" | 9 | "github.com/stretchr/testify/assert" | ||
| 10 | "github.com/stretchr/testify/require" | 10 | "github.com/stretchr/testify/require" | ||
| 11 | 11 | ||||
| 12 | - | "gordon/internal/domain" | 12 | + | "github.com/bnema/gordon/internal/domain" |
| 13 | ) | 13 | ) | ||
| 14 | 14 | ||||
| 15 | // These tests verify the in-memory caching behavior of PassStore. | 15 | // These tests verify the in-memory caching behavior of PassStore. | ||
M internal/adapters/out/tokenstore/store.go +2 -2
| @@ -5,8 +5,8 @@ import ( | |||
| 5 | 5 | ||
| 6 | 6 | "github.com/bnema/zerowrap" | |
| 7 | 7 | ||
| 8 | - | "gordon/internal/boundaries/out" | |
| 9 | - | "gordon/internal/domain" | |
| 8 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 9 | + | "github.com/bnema/gordon/internal/domain" | |
| 10 | 10 | ) | |
| 11 | 11 | ||
| 12 | 12 | // NewStore creates a TokenStore based on the configured backend. | |
| @@ -5,8 +5,8 @@ import ( | |||||
| 5 | 5 | ||||
| 6 | "github.com/bnema/zerowrap" | 6 | "github.com/bnema/zerowrap" | ||
| 7 | 7 | ||||
| 8 | - | "gordon/internal/boundaries/out" | 8 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 9 | - | "gordon/internal/domain" | 9 | + | "github.com/bnema/gordon/internal/domain" |
| 10 | ) | 10 | ) | ||
| 11 | 11 | ||||
| 12 | // NewStore creates a TokenStore based on the configured backend. | 12 | // NewStore creates a TokenStore based on the configured backend. | ||
M internal/adapters/out/tokenstore/unsafe.go +1 -1
| @@ -12,7 +12,7 @@ import ( | |||
| 12 | 12 | ||
| 13 | 13 | "github.com/bnema/zerowrap" | |
| 14 | 14 | ||
| 15 | - | "gordon/internal/domain" | |
| 15 | + | "github.com/bnema/gordon/internal/domain" | |
| 16 | 16 | ) | |
| 17 | 17 | ||
| 18 | 18 | // sanitizeSubject creates a safe filename from a subject by hashing it. | |
| @@ -12,7 +12,7 @@ import ( | |||||
| 12 | 12 | ||||
| 13 | "github.com/bnema/zerowrap" | 13 | "github.com/bnema/zerowrap" | ||
| 14 | 14 | ||||
| 15 | - | "gordon/internal/domain" | 15 | + | "github.com/bnema/gordon/internal/domain" |
| 16 | ) | 16 | ) | ||
| 17 | 17 | ||||
| 18 | // sanitizeSubject creates a safe filename from a subject by hashing it. | 18 | // sanitizeSubject creates a safe filename from a subject by hashing it. | ||
M internal/app/run.go +25 -25
| @@ -21,41 +21,41 @@ import ( | |||
| 21 | 21 | "github.com/spf13/viper" | |
| 22 | 22 | ||
| 23 | 23 | // Adapters - Output | |
| 24 | - | "gordon/internal/adapters/out/docker" | |
| 25 | - | "gordon/internal/adapters/out/domainsecrets" | |
| 26 | - | "gordon/internal/adapters/out/envloader" | |
| 27 | - | "gordon/internal/adapters/out/eventbus" | |
| 28 | - | "gordon/internal/adapters/out/filesystem" | |
| 29 | - | "gordon/internal/adapters/out/httpprober" | |
| 30 | - | "gordon/internal/adapters/out/logwriter" | |
| 31 | - | "gordon/internal/adapters/out/ratelimit" | |
| 32 | - | "gordon/internal/adapters/out/secrets" | |
| 33 | - | "gordon/internal/adapters/out/tokenstore" | |
| 24 | + | "github.com/bnema/gordon/internal/adapters/out/docker" | |
| 25 | + | "github.com/bnema/gordon/internal/adapters/out/domainsecrets" | |
| 26 | + | "github.com/bnema/gordon/internal/adapters/out/envloader" | |
| 27 | + | "github.com/bnema/gordon/internal/adapters/out/eventbus" | |
| 28 | + | "github.com/bnema/gordon/internal/adapters/out/filesystem" | |
| 29 | + | "github.com/bnema/gordon/internal/adapters/out/httpprober" | |
| 30 | + | "github.com/bnema/gordon/internal/adapters/out/logwriter" | |
| 31 | + | "github.com/bnema/gordon/internal/adapters/out/ratelimit" | |
| 32 | + | "github.com/bnema/gordon/internal/adapters/out/secrets" | |
| 33 | + | "github.com/bnema/gordon/internal/adapters/out/tokenstore" | |
| 34 | 34 | ||
| 35 | 35 | // Adapters - Input | |
| 36 | - | "gordon/internal/adapters/in/http/admin" | |
| 37 | - | authhandler "gordon/internal/adapters/in/http/auth" | |
| 38 | - | "gordon/internal/adapters/in/http/middleware" | |
| 39 | - | "gordon/internal/adapters/in/http/registry" | |
| 36 | + | "github.com/bnema/gordon/internal/adapters/in/http/admin" | |
| 37 | + | authhandler "github.com/bnema/gordon/internal/adapters/in/http/auth" | |
| 38 | + | "github.com/bnema/gordon/internal/adapters/in/http/middleware" | |
| 39 | + | "github.com/bnema/gordon/internal/adapters/in/http/registry" | |
| 40 | 40 | ||
| 41 | 41 | // Boundaries | |
| 42 | - | "gordon/internal/boundaries/out" | |
| 42 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 43 | 43 | ||
| 44 | 44 | // Domain | |
| 45 | - | "gordon/internal/domain" | |
| 45 | + | "github.com/bnema/gordon/internal/domain" | |
| 46 | 46 | ||
| 47 | 47 | // Use cases | |
| 48 | - | "gordon/internal/usecase/auth" | |
| 49 | - | "gordon/internal/usecase/config" | |
| 50 | - | "gordon/internal/usecase/container" | |
| 51 | - | "gordon/internal/usecase/health" | |
| 52 | - | "gordon/internal/usecase/logs" | |
| 53 | - | "gordon/internal/usecase/proxy" | |
| 54 | - | registrySvc "gordon/internal/usecase/registry" | |
| 55 | - | secretsSvc "gordon/internal/usecase/secrets" | |
| 48 | + | "github.com/bnema/gordon/internal/usecase/auth" | |
| 49 | + | "github.com/bnema/gordon/internal/usecase/config" | |
| 50 | + | "github.com/bnema/gordon/internal/usecase/container" | |
| 51 | + | "github.com/bnema/gordon/internal/usecase/health" | |
| 52 | + | "github.com/bnema/gordon/internal/usecase/logs" | |
| 53 | + | "github.com/bnema/gordon/internal/usecase/proxy" | |
| 54 | + | registrySvc "github.com/bnema/gordon/internal/usecase/registry" | |
| 55 | + | secretsSvc "github.com/bnema/gordon/internal/usecase/secrets" | |
| 56 | 56 | ||
| 57 | 57 | // Pkg | |
| 58 | - | "gordon/pkg/duration" | |
| 58 | + | "github.com/bnema/gordon/pkg/duration" | |
| 59 | 59 | ) | |
| 60 | 60 | ||
| 61 | 61 | // Config holds the application configuration. | |
| @@ -21,41 +21,41 @@ import ( | |||||
| 21 | "github.com/spf13/viper" | 21 | "github.com/spf13/viper" | ||
| 22 | 22 | ||||
| 23 | // Adapters - Output | 23 | // Adapters - Output | ||
| 24 | - | "gordon/internal/adapters/out/docker" | 24 | + | "github.com/bnema/gordon/internal/adapters/out/docker" |
| 25 | - | "gordon/internal/adapters/out/domainsecrets" | 25 | + | "github.com/bnema/gordon/internal/adapters/out/domainsecrets" |
| 26 | - | "gordon/internal/adapters/out/envloader" | 26 | + | "github.com/bnema/gordon/internal/adapters/out/envloader" |
| 27 | - | "gordon/internal/adapters/out/eventbus" | 27 | + | "github.com/bnema/gordon/internal/adapters/out/eventbus" |
| 28 | - | "gordon/internal/adapters/out/filesystem" | 28 | + | "github.com/bnema/gordon/internal/adapters/out/filesystem" |
| 29 | - | "gordon/internal/adapters/out/httpprober" | 29 | + | "github.com/bnema/gordon/internal/adapters/out/httpprober" |
| 30 | - | "gordon/internal/adapters/out/logwriter" | 30 | + | "github.com/bnema/gordon/internal/adapters/out/logwriter" |
| 31 | - | "gordon/internal/adapters/out/ratelimit" | 31 | + | "github.com/bnema/gordon/internal/adapters/out/ratelimit" |
| 32 | - | "gordon/internal/adapters/out/secrets" | 32 | + | "github.com/bnema/gordon/internal/adapters/out/secrets" |
| 33 | - | "gordon/internal/adapters/out/tokenstore" | 33 | + | "github.com/bnema/gordon/internal/adapters/out/tokenstore" |
| 34 | 34 | ||||
| 35 | // Adapters - Input | 35 | // Adapters - Input | ||
| 36 | - | "gordon/internal/adapters/in/http/admin" | 36 | + | "github.com/bnema/gordon/internal/adapters/in/http/admin" |
| 37 | - | authhandler "gordon/internal/adapters/in/http/auth" | 37 | + | authhandler "github.com/bnema/gordon/internal/adapters/in/http/auth" |
| 38 | - | "gordon/internal/adapters/in/http/middleware" | 38 | + | "github.com/bnema/gordon/internal/adapters/in/http/middleware" |
| 39 | - | "gordon/internal/adapters/in/http/registry" | 39 | + | "github.com/bnema/gordon/internal/adapters/in/http/registry" |
| 40 | 40 | ||||
| 41 | // Boundaries | 41 | // Boundaries | ||
| 42 | - | "gordon/internal/boundaries/out" | 42 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 43 | 43 | ||||
| 44 | // Domain | 44 | // Domain | ||
| 45 | - | "gordon/internal/domain" | 45 | + | "github.com/bnema/gordon/internal/domain" |
| 46 | 46 | ||||
| 47 | // Use cases | 47 | // Use cases | ||
| 48 | - | "gordon/internal/usecase/auth" | 48 | + | "github.com/bnema/gordon/internal/usecase/auth" |
| 49 | - | "gordon/internal/usecase/config" | 49 | + | "github.com/bnema/gordon/internal/usecase/config" |
| 50 | - | "gordon/internal/usecase/container" | 50 | + | "github.com/bnema/gordon/internal/usecase/container" |
| 51 | - | "gordon/internal/usecase/health" | 51 | + | "github.com/bnema/gordon/internal/usecase/health" |
| 52 | - | "gordon/internal/usecase/logs" | 52 | + | "github.com/bnema/gordon/internal/usecase/logs" |
| 53 | - | "gordon/internal/usecase/proxy" | 53 | + | "github.com/bnema/gordon/internal/usecase/proxy" |
| 54 | - | registrySvc "gordon/internal/usecase/registry" | 54 | + | registrySvc "github.com/bnema/gordon/internal/usecase/registry" |
| 55 | - | secretsSvc "gordon/internal/usecase/secrets" | 55 | + | secretsSvc "github.com/bnema/gordon/internal/usecase/secrets" |
| 56 | 56 | ||||
| 57 | // Pkg | 57 | // Pkg | ||
| 58 | - | "gordon/pkg/duration" | 58 | + | "github.com/bnema/gordon/pkg/duration" |
| 59 | ) | 59 | ) | ||
| 60 | 60 | ||||
| 61 | // Config holds the application configuration. | 61 | // Config holds the application configuration. | ||
M internal/boundaries/in/auth.go +1 -1
| @@ -4,7 +4,7 @@ import ( | |||
| 4 | 4 | "context" | |
| 5 | 5 | "time" | |
| 6 | 6 | ||
| 7 | - | "gordon/internal/domain" | |
| 7 | + | "github.com/bnema/gordon/internal/domain" | |
| 8 | 8 | ) | |
| 9 | 9 | ||
| 10 | 10 | // AuthService defines the contract for registry authentication operations. | |
| @@ -4,7 +4,7 @@ import ( | |||||
| 4 | "context" | 4 | "context" | ||
| 5 | "time" | 5 | "time" | ||
| 6 | 6 | ||||
| 7 | - | "gordon/internal/domain" | 7 | + | "github.com/bnema/gordon/internal/domain" |
| 8 | ) | 8 | ) | ||
| 9 | 9 | ||||
| 10 | // AuthService defines the contract for registry authentication operations. | 10 | // AuthService defines the contract for registry authentication operations. | ||
M internal/boundaries/in/config.go +1 -1
| @@ -3,7 +3,7 @@ package in | |||
| 3 | 3 | import ( | |
| 4 | 4 | "context" | |
| 5 | 5 | ||
| 6 | - | "gordon/internal/domain" | |
| 6 | + | "github.com/bnema/gordon/internal/domain" | |
| 7 | 7 | ) | |
| 8 | 8 | ||
| 9 | 9 | // ConfigService defines the contract for configuration management. | |
| @@ -3,7 +3,7 @@ package in | |||||
| 3 | import ( | 3 | import ( | ||
| 4 | "context" | 4 | "context" | ||
| 5 | 5 | ||||
| 6 | - | "gordon/internal/domain" | 6 | + | "github.com/bnema/gordon/internal/domain" |
| 7 | ) | 7 | ) | ||
| 8 | 8 | ||||
| 9 | // ConfigService defines the contract for configuration management. | 9 | // ConfigService defines the contract for configuration management. | ||
M internal/boundaries/in/container.go +1 -1
| @@ -6,7 +6,7 @@ package in | |||
| 6 | 6 | import ( | |
| 7 | 7 | "context" | |
| 8 | 8 | ||
| 9 | - | "gordon/internal/domain" | |
| 9 | + | "github.com/bnema/gordon/internal/domain" | |
| 10 | 10 | ) | |
| 11 | 11 | ||
| 12 | 12 | // ContainerService defines the contract for container management operations. | |
| @@ -6,7 +6,7 @@ package in | |||||
| 6 | import ( | 6 | import ( | ||
| 7 | "context" | 7 | "context" | ||
| 8 | 8 | ||||
| 9 | - | "gordon/internal/domain" | 9 | + | "github.com/bnema/gordon/internal/domain" |
| 10 | ) | 10 | ) | ||
| 11 | 11 | ||||
| 12 | // ContainerService defines the contract for container management operations. | 12 | // ContainerService defines the contract for container management operations. | ||
M internal/boundaries/in/health.go +1 -1
| @@ -6,7 +6,7 @@ package in | |||
| 6 | 6 | import ( | |
| 7 | 7 | "context" | |
| 8 | 8 | ||
| 9 | - | "gordon/internal/domain" | |
| 9 | + | "github.com/bnema/gordon/internal/domain" | |
| 10 | 10 | ) | |
| 11 | 11 | ||
| 12 | 12 | // HealthService defines the contract for route health checking operations. | |
| @@ -6,7 +6,7 @@ package in | |||||
| 6 | import ( | 6 | import ( | ||
| 7 | "context" | 7 | "context" | ||
| 8 | 8 | ||||
| 9 | - | "gordon/internal/domain" | 9 | + | "github.com/bnema/gordon/internal/domain" |
| 10 | ) | 10 | ) | ||
| 11 | 11 | ||||
| 12 | // HealthService defines the contract for route health checking operations. | 12 | // HealthService defines the contract for route health checking operations. | ||
M internal/boundaries/in/mocks/mock_auth_service.go +1 -1
| @@ -6,7 +6,7 @@ package mocks | |||
| 6 | 6 | ||
| 7 | 7 | import ( | |
| 8 | 8 | "context" | |
| 9 | - | "gordon/internal/domain" | |
| 9 | + | "github.com/bnema/gordon/internal/domain" | |
| 10 | 10 | "time" | |
| 11 | 11 | ||
| 12 | 12 | mock "github.com/stretchr/testify/mock" | |
| @@ -6,7 +6,7 @@ package mocks | |||||
| 6 | 6 | ||||
| 7 | import ( | 7 | import ( | ||
| 8 | "context" | 8 | "context" | ||
| 9 | - | "gordon/internal/domain" | 9 | + | "github.com/bnema/gordon/internal/domain" |
| 10 | "time" | 10 | "time" | ||
| 11 | 11 | ||||
| 12 | mock "github.com/stretchr/testify/mock" | 12 | mock "github.com/stretchr/testify/mock" | ||
M internal/boundaries/in/mocks/mock_config_service.go +1 -1
| @@ -6,7 +6,7 @@ package mocks | |||
| 6 | 6 | ||
| 7 | 7 | import ( | |
| 8 | 8 | "context" | |
| 9 | - | "gordon/internal/domain" | |
| 9 | + | "github.com/bnema/gordon/internal/domain" | |
| 10 | 10 | ||
| 11 | 11 | mock "github.com/stretchr/testify/mock" | |
| 12 | 12 | ) | |
| @@ -6,7 +6,7 @@ package mocks | |||||
| 6 | 6 | ||||
| 7 | import ( | 7 | import ( | ||
| 8 | "context" | 8 | "context" | ||
| 9 | - | "gordon/internal/domain" | 9 | + | "github.com/bnema/gordon/internal/domain" |
| 10 | 10 | ||||
| 11 | mock "github.com/stretchr/testify/mock" | 11 | mock "github.com/stretchr/testify/mock" | ||
| 12 | ) | 12 | ) | ||
M internal/boundaries/in/mocks/mock_container_service.go +1 -1
| @@ -6,7 +6,7 @@ package mocks | |||
| 6 | 6 | ||
| 7 | 7 | import ( | |
| 8 | 8 | "context" | |
| 9 | - | "gordon/internal/domain" | |
| 9 | + | "github.com/bnema/gordon/internal/domain" | |
| 10 | 10 | ||
| 11 | 11 | mock "github.com/stretchr/testify/mock" | |
| 12 | 12 | ) | |
| @@ -6,7 +6,7 @@ package mocks | |||||
| 6 | 6 | ||||
| 7 | import ( | 7 | import ( | ||
| 8 | "context" | 8 | "context" | ||
| 9 | - | "gordon/internal/domain" | 9 | + | "github.com/bnema/gordon/internal/domain" |
| 10 | 10 | ||||
| 11 | mock "github.com/stretchr/testify/mock" | 11 | mock "github.com/stretchr/testify/mock" | ||
| 12 | ) | 12 | ) | ||
M internal/boundaries/in/mocks/mock_health_service.go +1 -1
| @@ -6,7 +6,7 @@ package mocks | |||
| 6 | 6 | ||
| 7 | 7 | import ( | |
| 8 | 8 | "context" | |
| 9 | - | "gordon/internal/domain" | |
| 9 | + | "github.com/bnema/gordon/internal/domain" | |
| 10 | 10 | ||
| 11 | 11 | mock "github.com/stretchr/testify/mock" | |
| 12 | 12 | ) | |
| @@ -6,7 +6,7 @@ package mocks | |||||
| 6 | 6 | ||||
| 7 | import ( | 7 | import ( | ||
| 8 | "context" | 8 | "context" | ||
| 9 | - | "gordon/internal/domain" | 9 | + | "github.com/bnema/gordon/internal/domain" |
| 10 | 10 | ||||
| 11 | mock "github.com/stretchr/testify/mock" | 11 | mock "github.com/stretchr/testify/mock" | ||
| 12 | ) | 12 | ) | ||
M internal/boundaries/in/mocks/mock_proxy_service.go +1 -1
| @@ -6,7 +6,7 @@ package mocks | |||
| 6 | 6 | ||
| 7 | 7 | import ( | |
| 8 | 8 | "context" | |
| 9 | - | "gordon/internal/domain" | |
| 9 | + | "github.com/bnema/gordon/internal/domain" | |
| 10 | 10 | "net/http" | |
| 11 | 11 | ||
| 12 | 12 | mock "github.com/stretchr/testify/mock" | |
| @@ -6,7 +6,7 @@ package mocks | |||||
| 6 | 6 | ||||
| 7 | import ( | 7 | import ( | ||
| 8 | "context" | 8 | "context" | ||
| 9 | - | "gordon/internal/domain" | 9 | + | "github.com/bnema/gordon/internal/domain" |
| 10 | "net/http" | 10 | "net/http" | ||
| 11 | 11 | ||||
| 12 | mock "github.com/stretchr/testify/mock" | 12 | mock "github.com/stretchr/testify/mock" | ||
M internal/boundaries/in/mocks/mock_registry_service.go +1 -1
| @@ -6,7 +6,7 @@ package mocks | |||
| 6 | 6 | ||
| 7 | 7 | import ( | |
| 8 | 8 | "context" | |
| 9 | - | "gordon/internal/domain" | |
| 9 | + | "github.com/bnema/gordon/internal/domain" | |
| 10 | 10 | "io" | |
| 11 | 11 | ||
| 12 | 12 | mock "github.com/stretchr/testify/mock" | |
| @@ -6,7 +6,7 @@ package mocks | |||||
| 6 | 6 | ||||
| 7 | import ( | 7 | import ( | ||
| 8 | "context" | 8 | "context" | ||
| 9 | - | "gordon/internal/domain" | 9 | + | "github.com/bnema/gordon/internal/domain" |
| 10 | "io" | 10 | "io" | ||
| 11 | 11 | ||||
| 12 | mock "github.com/stretchr/testify/mock" | 12 | mock "github.com/stretchr/testify/mock" | ||
M internal/boundaries/in/mocks/mock_secret_service.go +1 -1
| @@ -6,7 +6,7 @@ package mocks | |||
| 6 | 6 | ||
| 7 | 7 | import ( | |
| 8 | 8 | "context" | |
| 9 | - | "gordon/internal/boundaries/out" | |
| 9 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 10 | 10 | ||
| 11 | 11 | mock "github.com/stretchr/testify/mock" | |
| 12 | 12 | ) | |
| @@ -6,7 +6,7 @@ package mocks | |||||
| 6 | 6 | ||||
| 7 | import ( | 7 | import ( | ||
| 8 | "context" | 8 | "context" | ||
| 9 | - | "gordon/internal/boundaries/out" | 9 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 10 | 10 | ||||
| 11 | mock "github.com/stretchr/testify/mock" | 11 | mock "github.com/stretchr/testify/mock" | ||
| 12 | ) | 12 | ) | ||
M internal/boundaries/in/proxy.go +1 -1
| @@ -4,7 +4,7 @@ import ( | |||
| 4 | 4 | "context" | |
| 5 | 5 | "net/http" | |
| 6 | 6 | ||
| 7 | - | "gordon/internal/domain" | |
| 7 | + | "github.com/bnema/gordon/internal/domain" | |
| 8 | 8 | ) | |
| 9 | 9 | ||
| 10 | 10 | // ProxyService defines the contract for reverse proxy operations. | |
| @@ -4,7 +4,7 @@ import ( | |||||
| 4 | "context" | 4 | "context" | ||
| 5 | "net/http" | 5 | "net/http" | ||
| 6 | 6 | ||||
| 7 | - | "gordon/internal/domain" | 7 | + | "github.com/bnema/gordon/internal/domain" |
| 8 | ) | 8 | ) | ||
| 9 | 9 | ||||
| 10 | // ProxyService defines the contract for reverse proxy operations. | 10 | // ProxyService defines the contract for reverse proxy operations. | ||
M internal/boundaries/in/registry.go +1 -1
| @@ -4,7 +4,7 @@ import ( | |||
| 4 | 4 | "context" | |
| 5 | 5 | "io" | |
| 6 | 6 | ||
| 7 | - | "gordon/internal/domain" | |
| 7 | + | "github.com/bnema/gordon/internal/domain" | |
| 8 | 8 | ) | |
| 9 | 9 | ||
| 10 | 10 | // RegistryService defines the contract for container registry operations. | |
| @@ -4,7 +4,7 @@ import ( | |||||
| 4 | "context" | 4 | "context" | ||
| 5 | "io" | 5 | "io" | ||
| 6 | 6 | ||||
| 7 | - | "gordon/internal/domain" | 7 | + | "github.com/bnema/gordon/internal/domain" |
| 8 | ) | 8 | ) | ||
| 9 | 9 | ||||
| 10 | // RegistryService defines the contract for container registry operations. | 10 | // RegistryService defines the contract for container registry operations. | ||
M internal/boundaries/in/secrets.go +1 -1
| @@ -3,7 +3,7 @@ package in | |||
| 3 | 3 | import ( | |
| 4 | 4 | "context" | |
| 5 | 5 | ||
| 6 | - | "gordon/internal/boundaries/out" | |
| 6 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 7 | 7 | ) | |
| 8 | 8 | ||
| 9 | 9 | // SecretService defines the contract for managing domain-scoped secrets. | |
| @@ -3,7 +3,7 @@ package in | |||||
| 3 | import ( | 3 | import ( | ||
| 4 | "context" | 4 | "context" | ||
| 5 | 5 | ||||
| 6 | - | "gordon/internal/boundaries/out" | 6 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 7 | ) | 7 | ) | ||
| 8 | 8 | ||||
| 9 | // SecretService defines the contract for managing domain-scoped secrets. | 9 | // SecretService defines the contract for managing domain-scoped secrets. | ||
M internal/boundaries/out/eventbus.go +1 -1
| @@ -1,7 +1,7 @@ | |||
| 1 | 1 | package out | |
| 2 | 2 | ||
| 3 | 3 | import ( | |
| 4 | - | "gordon/internal/domain" | |
| 4 | + | "github.com/bnema/gordon/internal/domain" | |
| 5 | 5 | ) | |
| 6 | 6 | ||
| 7 | 7 | // EventHandler defines the contract for handling events. | |
| @@ -1,7 +1,7 @@ | |||||
| 1 | package out | 1 | package out | ||
| 2 | 2 | ||||
| 3 | import ( | 3 | import ( | ||
| 4 | - | "gordon/internal/domain" | 4 | + | "github.com/bnema/gordon/internal/domain" |
| 5 | ) | 5 | ) | ||
| 6 | 6 | ||||
| 7 | // EventHandler defines the contract for handling events. | 7 | // EventHandler defines the contract for handling events. | ||
M internal/boundaries/out/mocks/mock_container_runtime.go +1 -1
| @@ -6,7 +6,7 @@ package mocks | |||
| 6 | 6 | ||
| 7 | 7 | import ( | |
| 8 | 8 | "context" | |
| 9 | - | "gordon/internal/domain" | |
| 9 | + | "github.com/bnema/gordon/internal/domain" | |
| 10 | 10 | "io" | |
| 11 | 11 | ||
| 12 | 12 | mock "github.com/stretchr/testify/mock" | |
| @@ -6,7 +6,7 @@ package mocks | |||||
| 6 | 6 | ||||
| 7 | import ( | 7 | import ( | ||
| 8 | "context" | 8 | "context" | ||
| 9 | - | "gordon/internal/domain" | 9 | + | "github.com/bnema/gordon/internal/domain" |
| 10 | "io" | 10 | "io" | ||
| 11 | 11 | ||||
| 12 | mock "github.com/stretchr/testify/mock" | 12 | mock "github.com/stretchr/testify/mock" | ||
M internal/boundaries/out/mocks/mock_domain_secret_store.go +1 -1
| @@ -5,7 +5,7 @@ | |||
| 5 | 5 | package mocks | |
| 6 | 6 | ||
| 7 | 7 | import ( | |
| 8 | - | "gordon/internal/boundaries/out" | |
| 8 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 9 | 9 | ||
| 10 | 10 | mock "github.com/stretchr/testify/mock" | |
| 11 | 11 | ) | |
| @@ -5,7 +5,7 @@ | |||||
| 5 | package mocks | 5 | package mocks | ||
| 6 | 6 | ||||
| 7 | import ( | 7 | import ( | ||
| 8 | - | "gordon/internal/boundaries/out" | 8 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 9 | 9 | ||||
| 10 | mock "github.com/stretchr/testify/mock" | 10 | mock "github.com/stretchr/testify/mock" | ||
| 11 | ) | 11 | ) | ||
M internal/boundaries/out/mocks/mock_event_bus.go +2 -2
| @@ -5,8 +5,8 @@ | |||
| 5 | 5 | package mocks | |
| 6 | 6 | ||
| 7 | 7 | import ( | |
| 8 | - | "gordon/internal/boundaries/out" | |
| 9 | - | "gordon/internal/domain" | |
| 8 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 9 | + | "github.com/bnema/gordon/internal/domain" | |
| 10 | 10 | ||
| 11 | 11 | mock "github.com/stretchr/testify/mock" | |
| 12 | 12 | ) | |
| @@ -5,8 +5,8 @@ | |||||
| 5 | package mocks | 5 | package mocks | ||
| 6 | 6 | ||||
| 7 | import ( | 7 | import ( | ||
| 8 | - | "gordon/internal/boundaries/out" | 8 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 9 | - | "gordon/internal/domain" | 9 | + | "github.com/bnema/gordon/internal/domain" |
| 10 | 10 | ||||
| 11 | mock "github.com/stretchr/testify/mock" | 11 | mock "github.com/stretchr/testify/mock" | ||
| 12 | ) | 12 | ) | ||
M internal/boundaries/out/mocks/mock_event_handler.go +1 -1
| @@ -5,7 +5,7 @@ | |||
| 5 | 5 | package mocks | |
| 6 | 6 | ||
| 7 | 7 | import ( | |
| 8 | - | "gordon/internal/domain" | |
| 8 | + | "github.com/bnema/gordon/internal/domain" | |
| 9 | 9 | ||
| 10 | 10 | mock "github.com/stretchr/testify/mock" | |
| 11 | 11 | ) | |
| @@ -5,7 +5,7 @@ | |||||
| 5 | package mocks | 5 | package mocks | ||
| 6 | 6 | ||||
| 7 | import ( | 7 | import ( | ||
| 8 | - | "gordon/internal/domain" | 8 | + | "github.com/bnema/gordon/internal/domain" |
| 9 | 9 | ||||
| 10 | mock "github.com/stretchr/testify/mock" | 10 | mock "github.com/stretchr/testify/mock" | ||
| 11 | ) | 11 | ) | ||
M internal/boundaries/out/mocks/mock_event_publisher.go +1 -1
| @@ -5,7 +5,7 @@ | |||
| 5 | 5 | package mocks | |
| 6 | 6 | ||
| 7 | 7 | import ( | |
| 8 | - | "gordon/internal/domain" | |
| 8 | + | "github.com/bnema/gordon/internal/domain" | |
| 9 | 9 | ||
| 10 | 10 | mock "github.com/stretchr/testify/mock" | |
| 11 | 11 | ) | |
| @@ -5,7 +5,7 @@ | |||||
| 5 | package mocks | 5 | package mocks | ||
| 6 | 6 | ||||
| 7 | import ( | 7 | import ( | ||
| 8 | - | "gordon/internal/domain" | 8 | + | "github.com/bnema/gordon/internal/domain" |
| 9 | 9 | ||||
| 10 | mock "github.com/stretchr/testify/mock" | 10 | mock "github.com/stretchr/testify/mock" | ||
| 11 | ) | 11 | ) | ||
M internal/boundaries/out/mocks/mock_event_subscriber.go +1 -1
| @@ -5,7 +5,7 @@ | |||
| 5 | 5 | package mocks | |
| 6 | 6 | ||
| 7 | 7 | import ( | |
| 8 | - | "gordon/internal/boundaries/out" | |
| 8 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 9 | 9 | ||
| 10 | 10 | mock "github.com/stretchr/testify/mock" | |
| 11 | 11 | ) | |
| @@ -5,7 +5,7 @@ | |||||
| 5 | package mocks | 5 | package mocks | ||
| 6 | 6 | ||||
| 7 | import ( | 7 | import ( | ||
| 8 | - | "gordon/internal/boundaries/out" | 8 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 9 | 9 | ||||
| 10 | mock "github.com/stretchr/testify/mock" | 10 | mock "github.com/stretchr/testify/mock" | ||
| 11 | ) | 11 | ) | ||
M internal/boundaries/out/mocks/mock_token_store.go +1 -1
| @@ -6,7 +6,7 @@ package mocks | |||
| 6 | 6 | ||
| 7 | 7 | import ( | |
| 8 | 8 | "context" | |
| 9 | - | "gordon/internal/domain" | |
| 9 | + | "github.com/bnema/gordon/internal/domain" | |
| 10 | 10 | ||
| 11 | 11 | mock "github.com/stretchr/testify/mock" | |
| 12 | 12 | ) | |
| @@ -6,7 +6,7 @@ package mocks | |||||
| 6 | 6 | ||||
| 7 | import ( | 7 | import ( | ||
| 8 | "context" | 8 | "context" | ||
| 9 | - | "gordon/internal/domain" | 9 | + | "github.com/bnema/gordon/internal/domain" |
| 10 | 10 | ||||
| 11 | mock "github.com/stretchr/testify/mock" | 11 | mock "github.com/stretchr/testify/mock" | ||
| 12 | ) | 12 | ) | ||
M internal/boundaries/out/runtime.go +1 -1
| @@ -7,7 +7,7 @@ import ( | |||
| 7 | 7 | "context" | |
| 8 | 8 | "io" | |
| 9 | 9 | ||
| 10 | - | "gordon/internal/domain" | |
| 10 | + | "github.com/bnema/gordon/internal/domain" | |
| 11 | 11 | ) | |
| 12 | 12 | ||
| 13 | 13 | // ContainerRuntime defines the contract for container runtime operations. | |
| @@ -7,7 +7,7 @@ import ( | |||||
| 7 | "context" | 7 | "context" | ||
| 8 | "io" | 8 | "io" | ||
| 9 | 9 | ||||
| 10 | - | "gordon/internal/domain" | 10 | + | "github.com/bnema/gordon/internal/domain" |
| 11 | ) | 11 | ) | ||
| 12 | 12 | ||||
| 13 | // ContainerRuntime defines the contract for container runtime operations. | 13 | // ContainerRuntime defines the contract for container runtime operations. | ||
M internal/boundaries/out/token_store.go +1 -1
| @@ -3,7 +3,7 @@ package out | |||
| 3 | 3 | import ( | |
| 4 | 4 | "context" | |
| 5 | 5 | ||
| 6 | - | "gordon/internal/domain" | |
| 6 | + | "github.com/bnema/gordon/internal/domain" | |
| 7 | 7 | ) | |
| 8 | 8 | ||
| 9 | 9 | // TokenStore defines the contract for storing and managing authentication tokens. | |
| @@ -3,7 +3,7 @@ package out | |||||
| 3 | import ( | 3 | import ( | ||
| 4 | "context" | 4 | "context" | ||
| 5 | 5 | ||||
| 6 | - | "gordon/internal/domain" | 6 | + | "github.com/bnema/gordon/internal/domain" |
| 7 | ) | 7 | ) | ||
| 8 | 8 | ||||
| 9 | // TokenStore defines the contract for storing and managing authentication tokens. | 9 | // TokenStore defines the contract for storing and managing authentication tokens. | ||
M internal/testutils/mocks/runtime_gen.go +1 -1 generated file: collapsed
M internal/usecase/auth/service.go +2 -2
| @@ -13,8 +13,8 @@ import ( | |||
| 13 | 13 | "github.com/google/uuid" | |
| 14 | 14 | "golang.org/x/crypto/bcrypt" | |
| 15 | 15 | ||
| 16 | - | "gordon/internal/boundaries/out" | |
| 17 | - | "gordon/internal/domain" | |
| 16 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 17 | + | "github.com/bnema/gordon/internal/domain" | |
| 18 | 18 | ) | |
| 19 | 19 | ||
| 20 | 20 | const ( | |
| @@ -13,8 +13,8 @@ import ( | |||||
| 13 | "github.com/google/uuid" | 13 | "github.com/google/uuid" | ||
| 14 | "golang.org/x/crypto/bcrypt" | 14 | "golang.org/x/crypto/bcrypt" | ||
| 15 | 15 | ||||
| 16 | - | "gordon/internal/boundaries/out" | 16 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 17 | - | "gordon/internal/domain" | 17 | + | "github.com/bnema/gordon/internal/domain" |
| 18 | ) | 18 | ) | ||
| 19 | 19 | ||||
| 20 | const ( | 20 | const ( | ||
M internal/usecase/auth/service_test.go +2 -2
| @@ -12,8 +12,8 @@ import ( | |||
| 12 | 12 | "github.com/stretchr/testify/require" | |
| 13 | 13 | "golang.org/x/crypto/bcrypt" | |
| 14 | 14 | ||
| 15 | - | "gordon/internal/boundaries/out/mocks" | |
| 16 | - | "gordon/internal/domain" | |
| 15 | + | "github.com/bnema/gordon/internal/boundaries/out/mocks" | |
| 16 | + | "github.com/bnema/gordon/internal/domain" | |
| 17 | 17 | ) | |
| 18 | 18 | ||
| 19 | 19 | func testContext() context.Context { | |
| @@ -12,8 +12,8 @@ import ( | |||||
| 12 | "github.com/stretchr/testify/require" | 12 | "github.com/stretchr/testify/require" | ||
| 13 | "golang.org/x/crypto/bcrypt" | 13 | "golang.org/x/crypto/bcrypt" | ||
| 14 | 14 | ||||
| 15 | - | "gordon/internal/boundaries/out/mocks" | 15 | + | "github.com/bnema/gordon/internal/boundaries/out/mocks" |
| 16 | - | "gordon/internal/domain" | 16 | + | "github.com/bnema/gordon/internal/domain" |
| 17 | ) | 17 | ) | ||
| 18 | 18 | ||||
| 19 | func testContext() context.Context { | 19 | func testContext() context.Context { | ||
M internal/usecase/config/service.go +2 -2
| @@ -12,8 +12,8 @@ import ( | |||
| 12 | 12 | "github.com/fsnotify/fsnotify" | |
| 13 | 13 | "github.com/spf13/viper" | |
| 14 | 14 | ||
| 15 | - | "gordon/internal/boundaries/out" | |
| 16 | - | "gordon/internal/domain" | |
| 15 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 16 | + | "github.com/bnema/gordon/internal/domain" | |
| 17 | 17 | ) | |
| 18 | 18 | ||
| 19 | 19 | // Config holds the loaded configuration. | |
| @@ -12,8 +12,8 @@ import ( | |||||
| 12 | "github.com/fsnotify/fsnotify" | 12 | "github.com/fsnotify/fsnotify" | ||
| 13 | "github.com/spf13/viper" | 13 | "github.com/spf13/viper" | ||
| 14 | 14 | ||||
| 15 | - | "gordon/internal/boundaries/out" | 15 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 16 | - | "gordon/internal/domain" | 16 | + | "github.com/bnema/gordon/internal/domain" |
| 17 | ) | 17 | ) | ||
| 18 | 18 | ||||
| 19 | // Config holds the loaded configuration. | 19 | // Config holds the loaded configuration. | ||
M internal/usecase/config/service_test.go +2 -2
| @@ -11,8 +11,8 @@ import ( | |||
| 11 | 11 | "github.com/stretchr/testify/assert" | |
| 12 | 12 | "github.com/stretchr/testify/require" | |
| 13 | 13 | ||
| 14 | - | "gordon/internal/boundaries/out/mocks" | |
| 15 | - | "gordon/internal/domain" | |
| 14 | + | "github.com/bnema/gordon/internal/boundaries/out/mocks" | |
| 15 | + | "github.com/bnema/gordon/internal/domain" | |
| 16 | 16 | ) | |
| 17 | 17 | ||
| 18 | 18 | func testContext() context.Context { | |
| @@ -11,8 +11,8 @@ import ( | |||||
| 11 | "github.com/stretchr/testify/assert" | 11 | "github.com/stretchr/testify/assert" | ||
| 12 | "github.com/stretchr/testify/require" | 12 | "github.com/stretchr/testify/require" | ||
| 13 | 13 | ||||
| 14 | - | "gordon/internal/boundaries/out/mocks" | 14 | + | "github.com/bnema/gordon/internal/boundaries/out/mocks" |
| 15 | - | "gordon/internal/domain" | 15 | + | "github.com/bnema/gordon/internal/domain" |
| 16 | ) | 16 | ) | ||
| 17 | 17 | ||||
| 18 | func testContext() context.Context { | 18 | func testContext() context.Context { | ||
M internal/usecase/container/autoroute.go +3 -3
| @@ -14,9 +14,9 @@ import ( | |||
| 14 | 14 | ||
| 15 | 15 | "github.com/bnema/zerowrap" | |
| 16 | 16 | ||
| 17 | - | "gordon/internal/boundaries/in" | |
| 18 | - | "gordon/internal/boundaries/out" | |
| 19 | - | "gordon/internal/domain" | |
| 17 | + | "github.com/bnema/gordon/internal/boundaries/in" | |
| 18 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 19 | + | "github.com/bnema/gordon/internal/domain" | |
| 20 | 20 | ) | |
| 21 | 21 | ||
| 22 | 22 | // EnvFileExtractor defines the interface for extracting env files from images. | |
| @@ -14,9 +14,9 @@ import ( | |||||
| 14 | 14 | ||||
| 15 | "github.com/bnema/zerowrap" | 15 | "github.com/bnema/zerowrap" | ||
| 16 | 16 | ||||
| 17 | - | "gordon/internal/boundaries/in" | 17 | + | "github.com/bnema/gordon/internal/boundaries/in" |
| 18 | - | "gordon/internal/boundaries/out" | 18 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 19 | - | "gordon/internal/domain" | 19 | + | "github.com/bnema/gordon/internal/domain" |
| 20 | ) | 20 | ) | ||
| 21 | 21 | ||||
| 22 | // EnvFileExtractor defines the interface for extracting env files from images. | 22 | // EnvFileExtractor defines the interface for extracting env files from images. | ||
M internal/usecase/container/autoroute_test.go +3 -3
| @@ -12,9 +12,9 @@ import ( | |||
| 12 | 12 | "github.com/stretchr/testify/mock" | |
| 13 | 13 | "github.com/stretchr/testify/require" | |
| 14 | 14 | ||
| 15 | - | inmocks "gordon/internal/boundaries/in/mocks" | |
| 16 | - | "gordon/internal/boundaries/out/mocks" | |
| 17 | - | "gordon/internal/domain" | |
| 15 | + | inmocks "github.com/bnema/gordon/internal/boundaries/in/mocks" | |
| 16 | + | "github.com/bnema/gordon/internal/boundaries/out/mocks" | |
| 17 | + | "github.com/bnema/gordon/internal/domain" | |
| 18 | 18 | ) | |
| 19 | 19 | ||
| 20 | 20 | // domainToEnvFileName tests | |
| @@ -12,9 +12,9 @@ import ( | |||||
| 12 | "github.com/stretchr/testify/mock" | 12 | "github.com/stretchr/testify/mock" | ||
| 13 | "github.com/stretchr/testify/require" | 13 | "github.com/stretchr/testify/require" | ||
| 14 | 14 | ||||
| 15 | - | inmocks "gordon/internal/boundaries/in/mocks" | 15 | + | inmocks "github.com/bnema/gordon/internal/boundaries/in/mocks" |
| 16 | - | "gordon/internal/boundaries/out/mocks" | 16 | + | "github.com/bnema/gordon/internal/boundaries/out/mocks" |
| 17 | - | "gordon/internal/domain" | 17 | + | "github.com/bnema/gordon/internal/domain" |
| 18 | ) | 18 | ) | ||
| 19 | 19 | ||||
| 20 | // domainToEnvFileName tests | 20 | // domainToEnvFileName tests | ||
M internal/usecase/container/events.go +2 -2
| @@ -7,8 +7,8 @@ import ( | |||
| 7 | 7 | ||
| 8 | 8 | "github.com/bnema/zerowrap" | |
| 9 | 9 | ||
| 10 | - | "gordon/internal/boundaries/in" | |
| 11 | - | "gordon/internal/domain" | |
| 10 | + | "github.com/bnema/gordon/internal/boundaries/in" | |
| 11 | + | "github.com/bnema/gordon/internal/domain" | |
| 12 | 12 | ) | |
| 13 | 13 | ||
| 14 | 14 | // ImagePushedHandler handles image.pushed events. | |
| @@ -7,8 +7,8 @@ import ( | |||||
| 7 | 7 | ||||
| 8 | "github.com/bnema/zerowrap" | 8 | "github.com/bnema/zerowrap" | ||
| 9 | 9 | ||||
| 10 | - | "gordon/internal/boundaries/in" | 10 | + | "github.com/bnema/gordon/internal/boundaries/in" |
| 11 | - | "gordon/internal/domain" | 11 | + | "github.com/bnema/gordon/internal/domain" |
| 12 | ) | 12 | ) | ||
| 13 | 13 | ||||
| 14 | // ImagePushedHandler handles image.pushed events. | 14 | // ImagePushedHandler handles image.pushed events. | ||
M internal/usecase/container/events_test.go +2 -2
| @@ -9,8 +9,8 @@ import ( | |||
| 9 | 9 | "github.com/stretchr/testify/assert" | |
| 10 | 10 | "github.com/stretchr/testify/mock" | |
| 11 | 11 | ||
| 12 | - | inmocks "gordon/internal/boundaries/in/mocks" | |
| 13 | - | "gordon/internal/domain" | |
| 12 | + | inmocks "github.com/bnema/gordon/internal/boundaries/in/mocks" | |
| 13 | + | "github.com/bnema/gordon/internal/domain" | |
| 14 | 14 | ) | |
| 15 | 15 | ||
| 16 | 16 | func testCtx() context.Context { | |
| @@ -9,8 +9,8 @@ import ( | |||||
| 9 | "github.com/stretchr/testify/assert" | 9 | "github.com/stretchr/testify/assert" | ||
| 10 | "github.com/stretchr/testify/mock" | 10 | "github.com/stretchr/testify/mock" | ||
| 11 | 11 | ||||
| 12 | - | inmocks "gordon/internal/boundaries/in/mocks" | 12 | + | inmocks "github.com/bnema/gordon/internal/boundaries/in/mocks" |
| 13 | - | "gordon/internal/domain" | 13 | + | "github.com/bnema/gordon/internal/domain" |
| 14 | ) | 14 | ) | ||
| 15 | 15 | ||||
| 16 | func testCtx() context.Context { | 16 | func testCtx() context.Context { | ||
M internal/usecase/container/routes_test.go +2 -2
| @@ -6,8 +6,8 @@ import ( | |||
| 6 | 6 | "github.com/stretchr/testify/assert" | |
| 7 | 7 | "github.com/stretchr/testify/mock" | |
| 8 | 8 | ||
| 9 | - | "gordon/internal/boundaries/out/mocks" | |
| 10 | - | "gordon/internal/domain" | |
| 9 | + | "github.com/bnema/gordon/internal/boundaries/out/mocks" | |
| 10 | + | "github.com/bnema/gordon/internal/domain" | |
| 11 | 11 | ) | |
| 12 | 12 | ||
| 13 | 13 | func TestService_ListRoutesWithDetails(t *testing.T) { | |
| @@ -6,8 +6,8 @@ import ( | |||||
| 6 | "github.com/stretchr/testify/assert" | 6 | "github.com/stretchr/testify/assert" | ||
| 7 | "github.com/stretchr/testify/mock" | 7 | "github.com/stretchr/testify/mock" | ||
| 8 | 8 | ||||
| 9 | - | "gordon/internal/boundaries/out/mocks" | 9 | + | "github.com/bnema/gordon/internal/boundaries/out/mocks" |
| 10 | - | "gordon/internal/domain" | 10 | + | "github.com/bnema/gordon/internal/domain" |
| 11 | ) | 11 | ) | ||
| 12 | 12 | ||||
| 13 | func TestService_ListRoutesWithDetails(t *testing.T) { | 13 | func TestService_ListRoutesWithDetails(t *testing.T) { | ||
M internal/usecase/container/service.go +2 -2
| @@ -12,8 +12,8 @@ import ( | |||
| 12 | 12 | ||
| 13 | 13 | "github.com/bnema/zerowrap" | |
| 14 | 14 | ||
| 15 | - | "gordon/internal/boundaries/out" | |
| 16 | - | "gordon/internal/domain" | |
| 15 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 16 | + | "github.com/bnema/gordon/internal/domain" | |
| 17 | 17 | ) | |
| 18 | 18 | ||
| 19 | 19 | // Config holds configuration needed by the container service. | |
| @@ -12,8 +12,8 @@ import ( | |||||
| 12 | 12 | ||||
| 13 | "github.com/bnema/zerowrap" | 13 | "github.com/bnema/zerowrap" | ||
| 14 | 14 | ||||
| 15 | - | "gordon/internal/boundaries/out" | 15 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 16 | - | "gordon/internal/domain" | 16 | + | "github.com/bnema/gordon/internal/domain" |
| 17 | ) | 17 | ) | ||
| 18 | 18 | ||||
| 19 | // Config holds configuration needed by the container service. | 19 | // Config holds configuration needed by the container service. | ||
M internal/usecase/container/service_test.go +2 -2
| @@ -10,8 +10,8 @@ import ( | |||
| 10 | 10 | "github.com/stretchr/testify/assert" | |
| 11 | 11 | "github.com/stretchr/testify/mock" | |
| 12 | 12 | ||
| 13 | - | "gordon/internal/boundaries/out/mocks" | |
| 14 | - | "gordon/internal/domain" | |
| 13 | + | "github.com/bnema/gordon/internal/boundaries/out/mocks" | |
| 14 | + | "github.com/bnema/gordon/internal/domain" | |
| 15 | 15 | ) | |
| 16 | 16 | ||
| 17 | 17 | func testContext() context.Context { | |
| @@ -10,8 +10,8 @@ import ( | |||||
| 10 | "github.com/stretchr/testify/assert" | 10 | "github.com/stretchr/testify/assert" | ||
| 11 | "github.com/stretchr/testify/mock" | 11 | "github.com/stretchr/testify/mock" | ||
| 12 | 12 | ||||
| 13 | - | "gordon/internal/boundaries/out/mocks" | 13 | + | "github.com/bnema/gordon/internal/boundaries/out/mocks" |
| 14 | - | "gordon/internal/domain" | 14 | + | "github.com/bnema/gordon/internal/domain" |
| 15 | ) | 15 | ) | ||
| 16 | 16 | ||||
| 17 | func testContext() context.Context { | 17 | func testContext() context.Context { | ||
M internal/usecase/health/service.go +2 -2
| @@ -8,8 +8,8 @@ import ( | |||
| 8 | 8 | ||
| 9 | 9 | "github.com/bnema/zerowrap" | |
| 10 | 10 | ||
| 11 | - | "gordon/internal/boundaries/in" | |
| 12 | - | "gordon/internal/domain" | |
| 11 | + | "github.com/bnema/gordon/internal/boundaries/in" | |
| 12 | + | "github.com/bnema/gordon/internal/domain" | |
| 13 | 13 | ) | |
| 14 | 14 | ||
| 15 | 15 | // maxConcurrentProbes limits the number of concurrent health probes to prevent resource exhaustion. | |
| @@ -8,8 +8,8 @@ import ( | |||||
| 8 | 8 | ||||
| 9 | "github.com/bnema/zerowrap" | 9 | "github.com/bnema/zerowrap" | ||
| 10 | 10 | ||||
| 11 | - | "gordon/internal/boundaries/in" | 11 | + | "github.com/bnema/gordon/internal/boundaries/in" |
| 12 | - | "gordon/internal/domain" | 12 | + | "github.com/bnema/gordon/internal/domain" |
| 13 | ) | 13 | ) | ||
| 14 | 14 | ||||
| 15 | // maxConcurrentProbes limits the number of concurrent health probes to prevent resource exhaustion. | 15 | // maxConcurrentProbes limits the number of concurrent health probes to prevent resource exhaustion. | ||
M internal/usecase/health/service_test.go +2 -2
| @@ -9,8 +9,8 @@ import ( | |||
| 9 | 9 | "github.com/stretchr/testify/assert" | |
| 10 | 10 | "github.com/stretchr/testify/mock" | |
| 11 | 11 | ||
| 12 | - | "gordon/internal/boundaries/in/mocks" | |
| 13 | - | "gordon/internal/domain" | |
| 12 | + | "github.com/bnema/gordon/internal/boundaries/in/mocks" | |
| 13 | + | "github.com/bnema/gordon/internal/domain" | |
| 14 | 14 | ) | |
| 15 | 15 | ||
| 16 | 16 | func testLogger() zerowrap.Logger { | |
| @@ -9,8 +9,8 @@ import ( | |||||
| 9 | "github.com/stretchr/testify/assert" | 9 | "github.com/stretchr/testify/assert" | ||
| 10 | "github.com/stretchr/testify/mock" | 10 | "github.com/stretchr/testify/mock" | ||
| 11 | 11 | ||||
| 12 | - | "gordon/internal/boundaries/in/mocks" | 12 | + | "github.com/bnema/gordon/internal/boundaries/in/mocks" |
| 13 | - | "gordon/internal/domain" | 13 | + | "github.com/bnema/gordon/internal/domain" |
| 14 | ) | 14 | ) | ||
| 15 | 15 | ||||
| 16 | func testLogger() zerowrap.Logger { | 16 | func testLogger() zerowrap.Logger { | ||
M internal/usecase/logs/service.go +2 -2
| @@ -13,8 +13,8 @@ import ( | |||
| 13 | 13 | ||
| 14 | 14 | "github.com/bnema/zerowrap" | |
| 15 | 15 | ||
| 16 | - | "gordon/internal/boundaries/in" | |
| 17 | - | "gordon/internal/boundaries/out" | |
| 16 | + | "github.com/bnema/gordon/internal/boundaries/in" | |
| 17 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 18 | 18 | ) | |
| 19 | 19 | ||
| 20 | 20 | // Service implements the LogService interface. | |
| @@ -13,8 +13,8 @@ import ( | |||||
| 13 | 13 | ||||
| 14 | "github.com/bnema/zerowrap" | 14 | "github.com/bnema/zerowrap" | ||
| 15 | 15 | ||||
| 16 | - | "gordon/internal/boundaries/in" | 16 | + | "github.com/bnema/gordon/internal/boundaries/in" |
| 17 | - | "gordon/internal/boundaries/out" | 17 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 18 | ) | 18 | ) | ||
| 19 | 19 | ||||
| 20 | // Service implements the LogService interface. | 20 | // Service implements the LogService interface. | ||
M internal/usecase/logs/service_test.go +3 -3
| @@ -13,9 +13,9 @@ import ( | |||
| 13 | 13 | "github.com/stretchr/testify/mock" | |
| 14 | 14 | "github.com/stretchr/testify/require" | |
| 15 | 15 | ||
| 16 | - | "gordon/internal/boundaries/in/mocks" | |
| 17 | - | outMocks "gordon/internal/boundaries/out/mocks" | |
| 18 | - | "gordon/internal/domain" | |
| 16 | + | "github.com/bnema/gordon/internal/boundaries/in/mocks" | |
| 17 | + | outMocks "github.com/bnema/gordon/internal/boundaries/out/mocks" | |
| 18 | + | "github.com/bnema/gordon/internal/domain" | |
| 19 | 19 | ) | |
| 20 | 20 | ||
| 21 | 21 | func TestService_GetProcessLogs(t *testing.T) { | |
| @@ -13,9 +13,9 @@ import ( | |||||
| 13 | "github.com/stretchr/testify/mock" | 13 | "github.com/stretchr/testify/mock" | ||
| 14 | "github.com/stretchr/testify/require" | 14 | "github.com/stretchr/testify/require" | ||
| 15 | 15 | ||||
| 16 | - | "gordon/internal/boundaries/in/mocks" | 16 | + | "github.com/bnema/gordon/internal/boundaries/in/mocks" |
| 17 | - | outMocks "gordon/internal/boundaries/out/mocks" | 17 | + | outMocks "github.com/bnema/gordon/internal/boundaries/out/mocks" |
| 18 | - | "gordon/internal/domain" | 18 | + | "github.com/bnema/gordon/internal/domain" |
| 19 | ) | 19 | ) | ||
| 20 | 20 | ||||
| 21 | func TestService_GetProcessLogs(t *testing.T) { | 21 | func TestService_GetProcessLogs(t *testing.T) { | ||
M internal/usecase/proxy/events.go +1 -1
| @@ -5,7 +5,7 @@ import ( | |||
| 5 | 5 | ||
| 6 | 6 | "github.com/bnema/zerowrap" | |
| 7 | 7 | ||
| 8 | - | "gordon/internal/domain" | |
| 8 | + | "github.com/bnema/gordon/internal/domain" | |
| 9 | 9 | ) | |
| 10 | 10 | ||
| 11 | 11 | // TargetInvalidator defines the interface for invalidating proxy targets. | |
| @@ -5,7 +5,7 @@ import ( | |||||
| 5 | 5 | ||||
| 6 | "github.com/bnema/zerowrap" | 6 | "github.com/bnema/zerowrap" | ||
| 7 | 7 | ||||
| 8 | - | "gordon/internal/domain" | 8 | + | "github.com/bnema/gordon/internal/domain" |
| 9 | ) | 9 | ) | ||
| 10 | 10 | ||||
| 11 | // TargetInvalidator defines the interface for invalidating proxy targets. | 11 | // TargetInvalidator defines the interface for invalidating proxy targets. | ||
M internal/usecase/proxy/service.go +3 -3
| @@ -16,9 +16,9 @@ import ( | |||
| 16 | 16 | ||
| 17 | 17 | "github.com/bnema/zerowrap" | |
| 18 | 18 | ||
| 19 | - | "gordon/internal/boundaries/in" | |
| 20 | - | "gordon/internal/boundaries/out" | |
| 21 | - | "gordon/internal/domain" | |
| 19 | + | "github.com/bnema/gordon/internal/boundaries/in" | |
| 20 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 21 | + | "github.com/bnema/gordon/internal/domain" | |
| 22 | 22 | ) | |
| 23 | 23 | ||
| 24 | 24 | // proxyTransport is a shared HTTP transport with proper timeouts. | |
| @@ -16,9 +16,9 @@ import ( | |||||
| 16 | 16 | ||||
| 17 | "github.com/bnema/zerowrap" | 17 | "github.com/bnema/zerowrap" | ||
| 18 | 18 | ||||
| 19 | - | "gordon/internal/boundaries/in" | 19 | + | "github.com/bnema/gordon/internal/boundaries/in" |
| 20 | - | "gordon/internal/boundaries/out" | 20 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 21 | - | "gordon/internal/domain" | 21 | + | "github.com/bnema/gordon/internal/domain" |
| 22 | ) | 22 | ) | ||
| 23 | 23 | ||||
| 24 | // proxyTransport is a shared HTTP transport with proper timeouts. | 24 | // proxyTransport is a shared HTTP transport with proper timeouts. | ||
M internal/usecase/proxy/service_test.go +3 -3
| @@ -8,9 +8,9 @@ import ( | |||
| 8 | 8 | "github.com/stretchr/testify/assert" | |
| 9 | 9 | "github.com/stretchr/testify/mock" | |
| 10 | 10 | ||
| 11 | - | inmocks "gordon/internal/boundaries/in/mocks" | |
| 12 | - | outmocks "gordon/internal/boundaries/out/mocks" | |
| 13 | - | "gordon/internal/domain" | |
| 11 | + | inmocks "github.com/bnema/gordon/internal/boundaries/in/mocks" | |
| 12 | + | outmocks "github.com/bnema/gordon/internal/boundaries/out/mocks" | |
| 13 | + | "github.com/bnema/gordon/internal/domain" | |
| 14 | 14 | ) | |
| 15 | 15 | ||
| 16 | 16 | func testContext() context.Context { | |
| @@ -8,9 +8,9 @@ import ( | |||||
| 8 | "github.com/stretchr/testify/assert" | 8 | "github.com/stretchr/testify/assert" | ||
| 9 | "github.com/stretchr/testify/mock" | 9 | "github.com/stretchr/testify/mock" | ||
| 10 | 10 | ||||
| 11 | - | inmocks "gordon/internal/boundaries/in/mocks" | 11 | + | inmocks "github.com/bnema/gordon/internal/boundaries/in/mocks" |
| 12 | - | outmocks "gordon/internal/boundaries/out/mocks" | 12 | + | outmocks "github.com/bnema/gordon/internal/boundaries/out/mocks" |
| 13 | - | "gordon/internal/domain" | 13 | + | "github.com/bnema/gordon/internal/domain" |
| 14 | ) | 14 | ) | ||
| 15 | 15 | ||||
| 16 | func testContext() context.Context { | 16 | func testContext() context.Context { | ||
M internal/usecase/proxy/ssrf.go +1 -1
| @@ -6,7 +6,7 @@ import ( | |||
| 6 | 6 | "net" | |
| 7 | 7 | "sync" | |
| 8 | 8 | ||
| 9 | - | "gordon/internal/domain" | |
| 9 | + | "github.com/bnema/gordon/internal/domain" | |
| 10 | 10 | ) | |
| 11 | 11 | ||
| 12 | 12 | // blockedCIDRStrings contains CIDR blocks that should never be proxied to. | |
| @@ -6,7 +6,7 @@ import ( | |||||
| 6 | "net" | 6 | "net" | ||
| 7 | "sync" | 7 | "sync" | ||
| 8 | 8 | ||||
| 9 | - | "gordon/internal/domain" | 9 | + | "github.com/bnema/gordon/internal/domain" |
| 10 | ) | 10 | ) | ||
| 11 | 11 | ||||
| 12 | // blockedCIDRStrings contains CIDR blocks that should never be proxied to. | 12 | // blockedCIDRStrings contains CIDR blocks that should never be proxied to. | ||
M internal/usecase/proxy/ssrf_test.go +1 -1
| @@ -8,7 +8,7 @@ import ( | |||
| 8 | 8 | "github.com/stretchr/testify/assert" | |
| 9 | 9 | "github.com/stretchr/testify/require" | |
| 10 | 10 | ||
| 11 | - | "gordon/internal/domain" | |
| 11 | + | "github.com/bnema/gordon/internal/domain" | |
| 12 | 12 | ) | |
| 13 | 13 | ||
| 14 | 14 | func TestIsBlockedTarget_IPAddresses(t *testing.T) { | |
| @@ -8,7 +8,7 @@ import ( | |||||
| 8 | "github.com/stretchr/testify/assert" | 8 | "github.com/stretchr/testify/assert" | ||
| 9 | "github.com/stretchr/testify/require" | 9 | "github.com/stretchr/testify/require" | ||
| 10 | 10 | ||||
| 11 | - | "gordon/internal/domain" | 11 | + | "github.com/bnema/gordon/internal/domain" |
| 12 | ) | 12 | ) | ||
| 13 | 13 | ||||
| 14 | func TestIsBlockedTarget_IPAddresses(t *testing.T) { | 14 | func TestIsBlockedTarget_IPAddresses(t *testing.T) { | ||
M internal/usecase/registry/service.go +2 -2
| @@ -9,8 +9,8 @@ import ( | |||
| 9 | 9 | ||
| 10 | 10 | "github.com/bnema/zerowrap" | |
| 11 | 11 | ||
| 12 | - | "gordon/internal/boundaries/out" | |
| 13 | - | "gordon/internal/domain" | |
| 12 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 13 | + | "github.com/bnema/gordon/internal/domain" | |
| 14 | 14 | ) | |
| 15 | 15 | ||
| 16 | 16 | // Service implements the RegistryService interface. | |
| @@ -9,8 +9,8 @@ import ( | |||||
| 9 | 9 | ||||
| 10 | "github.com/bnema/zerowrap" | 10 | "github.com/bnema/zerowrap" | ||
| 11 | 11 | ||||
| 12 | - | "gordon/internal/boundaries/out" | 12 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 13 | - | "gordon/internal/domain" | 13 | + | "github.com/bnema/gordon/internal/domain" |
| 14 | ) | 14 | ) | ||
| 15 | 15 | ||||
| 16 | // Service implements the RegistryService interface. | 16 | // Service implements the RegistryService interface. | ||
M internal/usecase/registry/service_test.go +2 -2
| @@ -12,8 +12,8 @@ import ( | |||
| 12 | 12 | "github.com/stretchr/testify/assert" | |
| 13 | 13 | "github.com/stretchr/testify/mock" | |
| 14 | 14 | ||
| 15 | - | "gordon/internal/boundaries/out/mocks" | |
| 16 | - | "gordon/internal/domain" | |
| 15 | + | "github.com/bnema/gordon/internal/boundaries/out/mocks" | |
| 16 | + | "github.com/bnema/gordon/internal/domain" | |
| 17 | 17 | ) | |
| 18 | 18 | ||
| 19 | 19 | func testContext() context.Context { | |
| @@ -12,8 +12,8 @@ import ( | |||||
| 12 | "github.com/stretchr/testify/assert" | 12 | "github.com/stretchr/testify/assert" | ||
| 13 | "github.com/stretchr/testify/mock" | 13 | "github.com/stretchr/testify/mock" | ||
| 14 | 14 | ||||
| 15 | - | "gordon/internal/boundaries/out/mocks" | 15 | + | "github.com/bnema/gordon/internal/boundaries/out/mocks" |
| 16 | - | "gordon/internal/domain" | 16 | + | "github.com/bnema/gordon/internal/domain" |
| 17 | ) | 17 | ) | ||
| 18 | 18 | ||||
| 19 | func testContext() context.Context { | 19 | func testContext() context.Context { | ||
M internal/usecase/secrets/service.go +1 -1
| @@ -8,7 +8,7 @@ import ( | |||
| 8 | 8 | ||
| 9 | 9 | "github.com/bnema/zerowrap" | |
| 10 | 10 | ||
| 11 | - | "gordon/internal/boundaries/out" | |
| 11 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 12 | 12 | ) | |
| 13 | 13 | ||
| 14 | 14 | // Domain validation errors. | |
| @@ -8,7 +8,7 @@ import ( | |||||
| 8 | 8 | ||||
| 9 | "github.com/bnema/zerowrap" | 9 | "github.com/bnema/zerowrap" | ||
| 10 | 10 | ||||
| 11 | - | "gordon/internal/boundaries/out" | 11 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 12 | ) | 12 | ) | ||
| 13 | 13 | ||||
| 14 | // Domain validation errors. | 14 | // Domain validation errors. | ||
M internal/usecase/secrets/service_test.go +2 -2
| @@ -9,8 +9,8 @@ import ( | |||
| 9 | 9 | "github.com/stretchr/testify/assert" | |
| 10 | 10 | "github.com/stretchr/testify/mock" | |
| 11 | 11 | ||
| 12 | - | "gordon/internal/boundaries/out" | |
| 13 | - | outmocks "gordon/internal/boundaries/out/mocks" | |
| 12 | + | "github.com/bnema/gordon/internal/boundaries/out" | |
| 13 | + | outmocks "github.com/bnema/gordon/internal/boundaries/out/mocks" | |
| 14 | 14 | ) | |
| 15 | 15 | ||
| 16 | 16 | func testLogger() zerowrap.Logger { | |
| @@ -9,8 +9,8 @@ import ( | |||||
| 9 | "github.com/stretchr/testify/assert" | 9 | "github.com/stretchr/testify/assert" | ||
| 10 | "github.com/stretchr/testify/mock" | 10 | "github.com/stretchr/testify/mock" | ||
| 11 | 11 | ||||
| 12 | - | "gordon/internal/boundaries/out" | 12 | + | "github.com/bnema/gordon/internal/boundaries/out" |
| 13 | - | outmocks "gordon/internal/boundaries/out/mocks" | 13 | + | outmocks "github.com/bnema/gordon/internal/boundaries/out/mocks" |
| 14 | ) | 14 | ) | ||
| 15 | 15 | ||||
| 16 | func testLogger() zerowrap.Logger { | 16 | func testLogger() zerowrap.Logger { | ||
M main.go +1 -1
| @@ -3,7 +3,7 @@ package main | |||
| 3 | 3 | import ( | |
| 4 | 4 | "os" | |
| 5 | 5 | ||
| 6 | - | "gordon/internal/adapters/in/cli" | |
| 6 | + | "github.com/bnema/gordon/internal/adapters/in/cli" | |
| 7 | 7 | ) | |
| 8 | 8 | ||
| 9 | 9 | // Build information set by goreleaser via ldflags | |
| @@ -3,7 +3,7 @@ package main | |||||
| 3 | import ( | 3 | import ( | ||
| 4 | "os" | 4 | "os" | ||
| 5 | 5 | ||||
| 6 | - | "gordon/internal/adapters/in/cli" | 6 | + | "github.com/bnema/gordon/internal/adapters/in/cli" |
| 7 | ) | 7 | ) | ||
| 8 | 8 | ||||
| 9 | // Build information set by goreleaser via ldflags | 9 | // Build information set by goreleaser via ldflags | ||