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

Method Read

utils/read_test.go:19–21  ·  view source on GitHub ↗
([]byte)

Source from the content-addressed store, hash-verified

17}
18
19func (r *mockReader) Read([]byte) (int, error) {
20 return r.n, r.err
21}
22
23// Helper function for setting os.Stdin for mocking in tests.
24func setStdin(f *os.File) (cleanup func()) {

Callers 12

signActionFunction · 0.45
verifyActionFunction · 0.45
certificateActionFunction · 0.45
p12ActionFunction · 0.45
RevokeMethod · 0.45
signCertificateActionFunction · 0.45
initActionFunction · 0.45
PublicKeyFunction · 0.45
CreateSignerFunction · 0.45
TestClaims_SignFunction · 0.45
TestGenerateKeyIDFunction · 0.45
TestToken_SignedStringFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected