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

Function invokeAction

commands/action.go:198–211  ·  view source on GitHub ↗
(
	qualifiedName QualifiedName,
	parameters interface{},
	blocking bool,
	result bool)

Source from the content-addressed store, hash-verified

196}
197
198func invokeAction(
199 qualifiedName QualifiedName,
200 parameters interface{},
201 blocking bool,
202 result bool) (map[string]interface{}, error) {
203 // TODO remove all global modifiers
204 Client.Namespace = qualifiedName.GetNamespace()
205 res, _, err := Client.Actions.Invoke(
206 qualifiedName.GetEntityName(),
207 parameters,
208 blocking,
209 result)
210 return res, err
211}
212
213func printInvocationResponse(
214 qualifiedName QualifiedName,

Callers 4

configureFeedFunction · 0.85
CreateMethod · 0.85
CreateExtendedVersionFunction · 0.85
action.goFile · 0.85

Calls 2

GetNamespaceMethod · 0.80
GetEntityNameMethod · 0.80

Tested by

no test coverage detected