MCPcopy Create free account
hub / github.com/apache/openwhisk-cli / printRuleSummary

Function printRuleSummary

commands/util.go:403–407  ·  view source on GitHub ↗
(rule *whisk.Rule)

Source from the content-addressed store, hash-verified

401}
402
403func printRuleSummary(rule *whisk.Rule) {
404 fmt.Fprintf(color.Output, "%s %s\n", boldString(fmt.Sprintf("%4s", "rule")),
405 getFullName(rule.Namespace, "", rule.Name))
406 fmt.Fprintf(color.Output, " (%s: %s)\n", boldString(wski18n.T("status")), rule.Status)
407}
408
409func printEntitySummary(entityType string, fullName string, description string, params string) {
410 emptyParams := "none defined"

Callers 1

rule.goFile · 0.85

Calls 1

getFullNameFunction · 0.85

Tested by

no test coverage detected