MCPcopy Create free account
hub / github.com/UiPath/uipathcli / Execute

Method Execute

test/plugin_test.go:340–343  ·  view source on GitHub ↗
(ctx plugin.ExecutionContext, writer output.OutputWriter, logger log.Logger)

Source from the content-addressed store, hash-verified

338}
339
340func (c SimplePluginCommand) Execute(ctx plugin.ExecutionContext, writer output.OutputWriter, logger log.Logger) error {
341 logger.LogError("Simple plugin logging output")
342 return writer.WriteResponse(*output.NewResponseInfo(http.StatusOK, "200 OK", "https", map[string][]string{}, bytes.NewReader([]byte("Simple plugin output"))))
343}
344
345type ContextPluginCommand struct {
346 Context plugin.ExecutionContext

Callers

nothing calls this directly

Calls 3

NewResponseInfoFunction · 0.92
LogErrorMethod · 0.65
WriteResponseMethod · 0.65

Tested by

no test coverage detected