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

Function resolveJumpHost

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

Source from the content-addressed store, hash-verified

276}
277
278func resolveJumpHost(appConfig *config.Config, node *api.Node) config.SSHJumpHost {
279 if appConfig == nil {
280 return config.SSHJumpHost{}
281 }
282
283 return appConfig.ResolveSSHSettings(sourceProfileName(node)).SSHJumpHost
284}
285
286func sourceProfileName(node *api.Node) string {
287 if node == nil {

Callers 1

buildSSHClientFunction · 0.85

Calls 2

sourceProfileNameFunction · 0.85
ResolveSSHSettingsMethod · 0.80

Tested by

no test coverage detected