Skip to content

feat(scf): onboard scf organization sub resources - #1712

Open
SerseusWasTaken wants to merge 2 commits into
mainfrom
feat/scf-organization-sub-resources
Open

SerseusWasTaken wants to merge 2 commits into
mainfrom
feat/scf-organization-sub-resources

Conversation

@SerseusWasTaken

Copy link
Copy Markdown
Contributor

Description

Onboards more subcommands for the scf organization command

Relates to STACKITCLI-482

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)

@SerseusWasTaken
SerseusWasTaken requested a review from a team as a code owner October 28, 2026 14:17
@SerseusWasTaken SerseusWasTaken changed the title feat(scf): initial commit for scf organization sub resources feat(scf): onboard scf organization sub resources Oct 28, 2026
@SerseusWasTaken
SerseusWasTaken force-pushed the feat/scf-organization-sub-resources branch from 55478e3 to d057570 Compare October 28, 2026 14:24
@github-actions

Copy link
Copy Markdown

Caution

No coverage for base commit 2b8556d was found, so this report compares against its ancestor ad53d5b (1 commit earlier)

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

Impacted Packages Coverage Δ 🤖
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization 0.00% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/manager 0.00% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/manager/create 61.36% (+61.36%) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/manager/delete 38.46% (+38.46%) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/manager/describe 66.67% (+66.67%) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/quota 0.00% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/quota/describe 78.69% (+78.69%) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/quota/list 64.86% (+64.86%) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/quota/set 55.88% (+55.88%) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/role 0.00% (ø)
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/role/set 59.52% (+59.52%) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/usage 70.45% (+70.45%) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/config/set 91.61% (+0.17%) 👍
github.com/stackitcloud/stackit-cli/internal/cmd/config/unset 34.97% (-0.03%) 👎
github.com/stackitcloud/stackit-cli/internal/pkg/config 70.73% (+0.10%) 👍
Coverage details

Compared to commit ad53d5b (run #40675149448)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/manager/create/create.go 61.36% (+61.36%) 44 (+44) 27 (+27) 17 (+17) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/manager/delete/delete.go 38.46% (+38.46%) 26 (+26) 10 (+10) 16 (+16) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/manager/describe/describe.go 66.67% (+66.67%) 39 (+39) 26 (+26) 13 (+13) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/manager/manager.go 0.00% (ø) 6 (+6) 0 6 (+6)
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/organization.go 0.00% (ø) 12 (+12) 0 12 (+12)
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/quota/describe/describe.go 78.69% (+78.69%) 61 (+61) 48 (+48) 13 (+13) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/quota/list/list.go 64.86% (+64.86%) 37 (+37) 24 (+24) 13 (+13) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/quota/quota.go 0.00% (ø) 6 (+6) 0 6 (+6)
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/quota/set/set.go 55.88% (+55.88%) 34 (+34) 19 (+19) 15 (+15) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/role/role.go 0.00% (ø) 4 (+4) 0 4 (+4)
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/role/set/set.go 59.52% (+59.52%) 42 (+42) 25 (+25) 17 (+17) 🌟
github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/usage/usage.go 70.45% (+70.45%) 44 (+44) 31 (+31) 13 (+13) 🌟

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/scf/organization/manager/create/create_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/manager/delete/delete_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/manager/describe/describe_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/quota/describe/describe_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/quota/list/list_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/quota/set/set_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/role/set/set_test.go
  • github.com/stackitcloud/stackit-cli/internal/cmd/beta/scf/organization/usage/usage_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.

1 participant