MCPcopy
hub / github.com/smallstep/cli / ShellOption

FuncType ShellOption

internal/sshutil/shell.go:33–33  ·  view source on GitHub ↗

ShellOption is the type used to add new options to the shell.

func(s *Shell) error

Source from the content-addressed store, hash-verified

31
32// ShellOption is the type used to add new options to the shell.
33type ShellOption func(s *Shell) error
34
35// WithAuthMethod adds a new ssh.AuthMethod to the shell.
36func WithAuthMethod(am ssh.AuthMethod) ShellOption {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…