Cover API validation functions that were previously untested: - validateIPAddress: IPv4/IPv6 validation with edge cases - validatePort: Port range validation (1-65535) - defaultPortForNodeType: Proxmox node type to default port mapping
27 test cases covering URL/host:port parsing for node configuration: - Scheme stripping (http://, https://) - Path removal from URLs - IPv4 addresses with and without ports - IPv6 addresses (bracketed with port, unbracketed) - Edge cases (empty string, localhost, port-only) - Error cases (malformed brackets) Documents current behavior: bracketed IPv6 without port returns error (net.SplitHostPort limitation).
Run gofmt -w to fix tab/space inconsistencies across 33 files.