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

Function printTriggerSummary

commands/util.go:396–401  ·  view source on GitHub ↗
(trigger *whisk.Trigger)

Source from the content-addressed store, hash-verified

394}
395
396func printTriggerSummary(trigger *whisk.Trigger) {
397 printEntitySummary(fmt.Sprintf("%7s", "trigger"),
398 getFullName(trigger.Namespace, "", trigger.Name),
399 getValueString(trigger.Annotations, "description"),
400 strings.Join(getParamUnion(trigger.Annotations, trigger.Parameters, "name"), ", "))
401}
402
403func printRuleSummary(rule *whisk.Rule) {
404 fmt.Fprintf(color.Output, "%s %s\n", boldString(fmt.Sprintf("%4s", "rule")),

Callers 1

printSummaryFunction · 0.85

Calls 4

printEntitySummaryFunction · 0.85
getFullNameFunction · 0.85
getValueStringFunction · 0.85
getParamUnionFunction · 0.85

Tested by

no test coverage detected