Skip to content

Add kubectl-net plugin for managing network-operator resources#411

Open
felix-kaestner wants to merge 2 commits into
mainfrom
cli
Open

Add kubectl-net plugin for managing network-operator resources#411
felix-kaestner wants to merge 2 commits into
mainfrom
cli

Conversation

@felix-kaestner

Copy link
Copy Markdown
Contributor

Implements a kubectl plugin with get, pause, unpause, and shell
completion subcommands. The get command supports server-side table
printing and all standard kubectl output formats. Label shorthand
flags (--device/-d, --aggregate, --vrf, --routed-vlan, --evi)
provide convenient filtering. Resource definitions are code-generated
from the API types via kubebuilder markers.

Signed-off-by: Felix Kästner <felix.kaestner@sap.com>
@felix-kaestner felix-kaestner force-pushed the cli branch 2 times, most recently from a1f82a8 to 06ea0ef Compare June 18, 2026 09:45
@felix-kaestner felix-kaestner marked this pull request as ready for review June 18, 2026 09:49
@felix-kaestner felix-kaestner requested a review from a team as a code owner June 18, 2026 09:49
@felix-kaestner felix-kaestner force-pushed the cli branch 2 times, most recently from 8112808 to 8b3176b Compare June 18, 2026 09:50
Implements a kubectl plugin with get, pause, unpause, and shell
completion subcommands. The get command supports server-side table
printing and all standard kubectl output formats. Label shorthand
flags (--device/-d, --aggregate, --vrf, --routed-vlan, --evi)
provide convenient filtering. Resource definitions are code-generated
from the API types via kubebuilder markers.

Signed-off-by: Felix Kästner <felix.kaestner@sap.com>
@github-actions

Copy link
Copy Markdown

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/ironcore-dev/network-operator/kubectl-net/cmd 0.00% (ø)
github.com/ironcore-dev/network-operator/kubectl-net/pkg/cmd 0.00% (ø)
github.com/ironcore-dev/network-operator/kubectl-net/tools/generate-resources 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/ironcore-dev/network-operator/kubectl-net/cmd/kubectl-net.go 0.00% (ø) 0 0 0
github.com/ironcore-dev/network-operator/kubectl-net/pkg/cmd/completion.go 0.00% (ø) 0 0 0
github.com/ironcore-dev/network-operator/kubectl-net/pkg/cmd/doc.go 0.00% (ø) 0 0 0
github.com/ironcore-dev/network-operator/kubectl-net/pkg/cmd/gen.go 0.00% (ø) 0 0 0
github.com/ironcore-dev/network-operator/kubectl-net/pkg/cmd/get.go 0.00% (ø) 0 0 0
github.com/ironcore-dev/network-operator/kubectl-net/pkg/cmd/labels.go 0.00% (ø) 0 0 0
github.com/ironcore-dev/network-operator/kubectl-net/pkg/cmd/pause.go 0.00% (ø) 0 0 0
github.com/ironcore-dev/network-operator/kubectl-net/pkg/cmd/resources.go 0.00% (ø) 0 0 0
github.com/ironcore-dev/network-operator/kubectl-net/pkg/cmd/root.go 0.00% (ø) 0 0 0
github.com/ironcore-dev/network-operator/kubectl-net/tools/generate-resources/main.go 0.00% (ø) 0 0 0

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.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant