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

Method Close

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

Close finalizes the connection.

()

Source from the content-addressed store, hash-verified

154
155// Close finalizes the connection.
156func (s *Shell) Close() error {
157 return s.client.Close()
158}
159
160// Run runs cmd on the remote host.
161func (s *Shell) Run(cmd string) error {

Callers 15

attestMethod · 0.45
verifyDecryptedSecretMethod · 0.45
BootstrapTeamAuthorityFunction · 0.45
readJSONFunction · 0.45
readErrorFunction · 0.45
TestExtractFunction · 0.45
extractPEFunction · 0.45
rwLockKeySetFunction · 0.45
randWithDictionaryFunction · 0.45
inspectActionFunction · 0.45
discoFunction · 0.45

Calls

no outgoing calls

Tested by 8

TestExtractFunction · 0.36
reservePortFunction · 0.36
TestReadNebulaRootsFunction · 0.36
TestParseTemplateDataFunction · 0.36
TestOptionsFunction · 0.36