MCPcopy Create free account
hub / github.com/commander-cli/commander / WithIdentityFile

Function WithIdentityFile

pkg/runtime/ssh_executor.go:24–28  ·  view source on GitHub ↗

WithIdentityFile sets the identity file option for the ssh executor

(identityFile string)

Source from the content-addressed store, hash-verified

22
23// WithIdentityFile sets the identity file option for the ssh executor
24func WithIdentityFile(identityFile string) func(e *SSHExecutor) {
25 return func(e *SSHExecutor) {
26 e.IdentityFile = identityFile
27 }
28}
29
30// WithPassword sets the identity file option for the ssh executor
31func WithPassword(pass string) func(e *SSHExecutor) {

Callers 1

getExecutorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected