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

Function resolveSSHKeyfile

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

Source from the content-addressed store, hash-verified

260}
261
262func resolveSSHKeyfile(appConfig *config.Config, node *api.Node) string {
263 if appConfig == nil {
264 return ""
265 }
266
267 return appConfig.ResolveSSHSettings(sourceProfileName(node)).SSHKeyfile
268}
269
270func resolveSSHUser(appConfig *config.Config, node *api.Node) string {
271 if appConfig == nil {

Callers 1

buildSSHClientFunction · 0.85

Calls 2

sourceProfileNameFunction · 0.85
ResolveSSHSettingsMethod · 0.80

Tested by

no test coverage detected