spiegel_podman/cmd/podman/system
Lokesh Mandvekar 73ef7cfcdc
Remove CNI backend from CLI options and completions
Remove user-facing CLI options for CNI network backend:

CLI flags:
- Keep --network-backend global flag as hidden and deprecated for
  backward compatibility with cleanup commands from 5.x containers
- Map flag to a throwaway variable (value is ignored)
- Remove shell completion for network backend values

Shell completions:
- Remove AutocompleteNetworkBackend() function
- Remove references to CNI and Netavark type constants

Backward compatibility:
- Remove --rootless-cni flag alias for podman unshare
- Remove SetNormalizeFunc that mapped rootless-cni to rootless-netns
- Update --rootless-netns flag description to mention only netavark

The --network-backend flag remains as a hidden deprecated flag to
prevent failures when upgrading from 5.x where containers may have
cleanup commands that include this flag. The flag is accepted but
ignored. Users can no longer specify CNI as a network backend option.
The --rootless-cni alias is removed; users must use --rootless-netns.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2026-01-27 16:32:38 +05:30
..
connection enable gofumpt formatter 2025-11-11 12:32:46 +01:00
check.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
connection.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
context.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
df.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
dial_stdio.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
events.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
info.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
locks.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
migrate.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
prune.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
renumber.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
reset.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
reset_machine.go Provider obfuscation in command line 2025-10-27 08:40:19 -05:00
reset_machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
service.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
service_abi.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
service_abi_common.go system service: split out cgroups call into linux specific file 2023-12-07 11:26:36 +01:00
service_abi_linux.go cmd/podman/system/service_abi_linux.go: Remove Cgroups v1 2025-11-12 15:15:34 -05:00
system.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
unshare.go Remove CNI backend from CLI options and completions 2026-01-27 16:32:38 +05:30
version.go Bump Go version to v6 2025-10-23 11:00:15 -04:00