Part of #19063
Scope
Move networking and log retrieval handlers out of pkg/api/handlers/mcp_resources.go into focused files.
Target files
pkg/api/handlers/mcp_resources.go
pkg/api/handlers/mcp_resources_network.go
pkg/api/handlers/mcp_resources_logs.go
Functions in scope
GetIngresses
GetNetworkPolicies
GetPodNetworkStats
GetPodLogs
Acceptance criteria
- Networking handlers and pod-log retrieval no longer live in the catch-all file
- Stream/response behavior for logs stays unchanged
- Existing MCP handler tests stay green
Part of #19063
Scope
Move networking and log retrieval handlers out of
pkg/api/handlers/mcp_resources.gointo focused files.Target files
pkg/api/handlers/mcp_resources.gopkg/api/handlers/mcp_resources_network.gopkg/api/handlers/mcp_resources_logs.goFunctions in scope
GetIngressesGetNetworkPoliciesGetPodNetworkStatsGetPodLogsAcceptance criteria