MCPcopy Index your code
hub / github.com/devopsctl/gitlabctl / printSSHKeysOut

Function printSSHKeysOut

cmd/helpers.go:316–324  ·  view source on GitHub ↗
(format string, keys ...*gitlab.SSHKey)

Source from the content-addressed store, hash-verified

314}
315
316func printSSHKeysOut(format string, keys ...*gitlab.SSHKey) {
317 switch format {
318 case YAML:
319 printYAML(keys)
320 // NOTE: Printing long ssh key in table is ugly..
321 default:
322 printJSON(keys)
323 }
324}
325
326func printBranchOut(format string, branches ...*gitlab.Branch) {
327 switch format {

Callers 2

runGetSSHKeyForUserFunction · 0.85
runGetSSHKeyFunction · 0.85

Calls 2

printYAMLFunction · 0.85
printJSONFunction · 0.85

Tested by

no test coverage detected