MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / resolveSSHUser

Function resolveSSHUser

internal/ui/plugins/commandrunner/plugin.go:270–276  ·  view source on GitHub ↗
(appConfig *config.Config, node *api.Node)

Source from the content-addressed store, hash-verified

268}
269
270func resolveSSHUser(appConfig *config.Config, node *api.Node) string {
271 if appConfig == nil {
272 return ""
273 }
274
275 return appConfig.ResolveSSHSettings(sourceProfileName(node)).SSHUser
276}
277
278func resolveJumpHost(appConfig *config.Config, node *api.Node) config.SSHJumpHost {
279 if appConfig == nil {

Callers 1

buildSSHClientFunction · 0.70

Calls 2

sourceProfileNameFunction · 0.85
ResolveSSHSettingsMethod · 0.80

Tested by

no test coverage detected