kubekey/pkg/connector
liujian 620b7f56a3
feat: enhance connector interface and implementations (#2675)
- Updated the Connector interface to return both stdout and stderr for command execution.
- Modified implementations in local, kubernetes, and ssh connectors to support the new return values.
- Improved documentation for the Connector interface methods for clarity.
- Added error handling for stderr in command execution across connectors.
- Introduced new utility functions for IP parsing and checking localhost IPs.

Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-30 08:02:34 +00:00
..
connector.go feat: enhance connector interface and implementations (#2675) 2025-07-30 08:02:34 +00:00
gather_facts.go feat: add gather_facts cache (#2558) 2025-05-12 06:20:01 +00:00
helper.go feat: add more golangci lint rule. (#2366) 2024-08-21 16:33:36 +08:00
helper_test.go fix: add gather_facts interface to connector 2024-06-24 18:10:45 +08:00
kubernetes_connector.go feat: enhance connector interface and implementations (#2675) 2025-07-30 08:02:34 +00:00
local_connector.go feat: enhance connector interface and implementations (#2675) 2025-07-30 08:02:34 +00:00
prometheus_connector.go feat: enhance connector interface and implementations (#2675) 2025-07-30 08:02:34 +00:00
ssh_connector.go feat: enhance connector interface and implementations (#2675) 2025-07-30 08:02:34 +00:00