Skip to content

feature(vpn): onboard gateway - #1417

Merged
Manuelvaas merged 14 commits into
mainfrom
feature/onboard-vpn-gateway
Jul 28, 2026
Merged

feature(vpn): onboard gateway#1417
Manuelvaas merged 14 commits into
mainfrom
feature/onboard-vpn-gateway

Conversation

@Manuelvaas

@Manuelvaas Manuelvaas commented May 20, 2026

Copy link
Copy Markdown
Contributor

Description

relates to STACKITCLI-353

Checklist

  • Issue was linked above
  • Code format was applied: make fmt
  • Examples were added / adjusted (see e.g. here)
  • Docs are up-to-date: make generate-docs (will be checked by CI)
  • Unit tests got implemented or updated
  • Unit tests are passing: make test (will be checked by CI)
  • No linter issues: make lint (will be checked by CI)

@github-actions

Copy link
Copy Markdown

This PR was marked as stale after 7 days of inactivity and will be closed after another 7 days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it.

@github-actions github-actions Bot added the Stale label May 28, 2026
@Manuelvaas Manuelvaas removed the Stale label Jun 1, 2026
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

This PR was marked as stale after 7 days of inactivity and will be closed after another 7 days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it.

@github-actions github-actions Bot added the Stale label Jun 8, 2026
@Manuelvaas Manuelvaas removed the Stale label Jun 9, 2026
@github-actions

Copy link
Copy Markdown

This PR was marked as stale after 7 days of inactivity and will be closed after another 7 days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it.

@github-actions

Copy link
Copy Markdown

This PR was marked as stale after 7 days of inactivity and will be closed after another 7 days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it.

@github-actions github-actions Bot added the Stale label Jun 24, 2026
@Manuelvaas Manuelvaas removed the Stale label Jul 1, 2026
@Manuelvaas
Manuelvaas force-pushed the feature/onboard-vpn-gateway branch from 458d051 to f0fe08f Compare July 6, 2026 12:48
@Manuelvaas
Manuelvaas marked this pull request as ready for review July 6, 2026 12:49
@Manuelvaas
Manuelvaas requested a review from a team as a code owner July 6, 2026 12:49
Comment thread docs/stackit_beta_vpn_gateway_status.md Outdated
Comment thread internal/cmd/beta/vpn/gateway/create/create_test.go Outdated
Comment thread internal/cmd/beta/vpn/gateway/delete/delete_test.go Outdated
Comment thread internal/cmd/beta/vpn/gateway/status/status.go Outdated
Comment thread internal/cmd/beta/vpn/gateway/status/status.go
Comment thread internal/cmd/beta/vpn/plans/plans.go Outdated
Comment thread internal/cmd/beta/vpn/gateway/list/list.go Outdated
Comment thread internal/cmd/beta/vpn/plans/plans.go Outdated
Comment thread internal/cmd/beta/vpn/gateway/list/list.go Outdated
Comment thread internal/cmd/beta/vpn/quotas/quotas.go Outdated
@Manuelvaas
Manuelvaas force-pushed the feature/onboard-vpn-gateway branch from a3da9dc to 3215197 Compare July 15, 2026 08:19
@github-actions

Copy link
Copy Markdown

This PR was marked as stale after 7 days of inactivity and will be closed after another 7 days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it.

@github-actions github-actions Bot added the Stale label Jul 23, 2026
Manuelvaas and others added 11 commits July 27, 2026 20:29
relates to STACKITCLI-353
Co-authored-by: Marcel Jacek <72880145+marceljk@users.noreply.github.com>
Co-authored-by: Marcel Jacek <72880145+marceljk@users.noreply.github.com>
Co-authored-by: Marcel Jacek <72880145+marceljk@users.noreply.github.com>
Co-authored-by: Marcel Jacek <72880145+marceljk@users.noreply.github.com>
Co-authored-by: Marcel Jacek <72880145+marceljk@users.noreply.github.com>
@Manuelvaas
Manuelvaas force-pushed the feature/onboard-vpn-gateway branch from d41dad0 to 5f9ae41 Compare July 27, 2026 18:29
@Manuelvaas
Manuelvaas enabled auto-merge (squash) July 27, 2026 18:35
@github-actions github-actions Bot removed the Stale label Jul 28, 2026
Comment thread internal/cmd/beta/vpn/gateway/status/status_test.go Outdated
@Manuelvaas
Manuelvaas merged commit 95a9977 into main Jul 28, 2026
3 checks passed
@Manuelvaas
Manuelvaas deleted the feature/onboard-vpn-gateway branch July 28, 2026 07:43
@github-actions

Copy link
Copy Markdown

Merging this branch changes the coverage (1 decrease, 10 increase)

Impacted Packages Coverage Δ 🤖
github.com/stackitcloud/stackit-cli/internal/cmd/beta/sfs/export-policy/list 52.08% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/beta/sfs/performance-class/list 51.35% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/beta/sfs/resource-pool/list 59.62% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/beta/sfs/share/list 53.70% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/beta/sfs/snapshot-policy/list 58.18% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/beta/sfs/snapshot/list 63.27% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn 0.00% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/gateway 0.00% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/gateway/create 54.29% (+54.29%) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/gateway/delete 23.81% (+23.81%) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/gateway/describe 67.35% (+67.35%) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/gateway/list 58.54% (+58.54%) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/gateway/status 76.39% (+76.39%) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/plans 61.11% (+61.11%) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/quotas 60.53% (+60.53%) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/config/set 90.91% (+0.19%) 👍
github.com/stackitcloud/stackit-cli/internal/cmd/config/unset 35.11% (-0.04%) 👎
github.com/stackitcloud/stackit-cli/internal/pkg/config 70.21% (+0.11%) 👍
github.com/stackitcloud/stackit-cli/internal/pkg/services/vpn/utils 83.33% (+83.33%) 🌟

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/stackitcloud/stackit-cli/internal/cmd/beta/sfs/export-policy/list/list.go 52.08% (ø) 48 25 23
github.com/stackitcloud/stackit-cli/internal/cmd/beta/sfs/performance-class/list/list.go 51.35% (ø) 37 19 18
github.com/stackitcloud/stackit-cli/internal/cmd/beta/sfs/resource-pool/list/list.go 59.62% (ø) 52 31 21
github.com/stackitcloud/stackit-cli/internal/cmd/beta/sfs/share/list/list.go 53.70% (ø) 54 29 25
github.com/stackitcloud/stackit-cli/internal/cmd/beta/sfs/snapshot-policy/list/list.go 58.18% (ø) 55 32 23
github.com/stackitcloud/stackit-cli/internal/cmd/beta/sfs/snapshot/list/list.go 63.27% (ø) 49 31 18
github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/gateway/create/create.go 54.29% (+54.29%) 70 (+70) 38 (+38) 32 (+32) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/gateway/delete/delete.go 23.81% (+23.81%) 42 (+42) 10 (+10) 32 (+32) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/gateway/describe/describe.go 67.35% (+67.35%) 49 (+49) 33 (+33) 16 (+16) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/gateway/gateway.go 0.00% (ø) 8 (+8) 0 8 (+8)
github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/gateway/list/list.go 58.54% (+58.54%) 41 (+41) 24 (+24) 17 (+17) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/gateway/status/status.go 76.39% (+76.39%) 72 (+72) 55 (+55) 17 (+17) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/plans/plans.go 61.11% (+61.11%) 36 (+36) 22 (+22) 14 (+14) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/quotas/quotas.go 60.53% (+60.53%) 38 (+38) 23 (+23) 15 (+15) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/vpn.go 0.00% (ø) 7 (+3) 0 7 (+3)
github.com/stackitcloud/stackit-cli/internal/cmd/config/set/set.go 90.91% (+0.19%) 143 (+3) 130 (+3) 13 👍
github.com/stackitcloud/stackit-cli/internal/cmd/config/unset/unset.go 35.11% (-0.04%) 131 (+3) 46 (+1) 85 (+2) 👎
github.com/stackitcloud/stackit-cli/internal/pkg/config/config.go 90.91% (+0.14%) 66 (+1) 60 (+1) 6 👍
github.com/stackitcloud/stackit-cli/internal/pkg/services/vpn/utils/utils.go 83.33% (+83.33%) 6 (+6) 5 (+5) 1 (+1) 🌟

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/gateway/create/create_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/gateway/delete/delete_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/gateway/describe/describe_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/gateway/list/list_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/gateway/status/status_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/plans/plans_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/beta/vpn/quotas/quotas_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/config/unset/unset_test.go
  • github.com/stackitcloud/stackit-cli/internal/pkg/services/vpn/utils/utils_test.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants