MCPcopy Index your code
hub / github.com/cloudfoundry/cli / displayEmptyResult

Method displayEmptyResult

command/v7/service_keys_command.go:68–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66}
67
68func (cmd ServiceKeysCommand) displayEmptyResult() {
69 cmd.UI.DisplayText("No service keys for service instance {{.ServiceInstanceName}}", map[string]interface{}{
70 "ServiceInstanceName": string(cmd.RequiredArgs.ServiceInstance),
71 })
72}
73
74func (cmd ServiceKeysCommand) displayKeysTable(keys []resources.ServiceCredentialBinding) {
75 table := [][]string{{"name", "last operation", "message"}}

Callers 1

ExecuteMethod · 0.95

Calls 1

DisplayTextMethod · 0.65

Tested by

no test coverage detected