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

Method convertToPluginParameters

executor/plugin_executor.go:47–54  ·  view source on GitHub ↗
(parameters []ExecutionParameter)

Source from the content-addressed store, hash-verified

45}
46
47func (e PluginExecutor) convertToPluginParameters(parameters []ExecutionParameter) []plugin.ExecutionParameter {
48 result := []plugin.ExecutionParameter{}
49 for _, parameter := range parameters {
50 param := plugin.NewExecutionParameter(parameter.Name, parameter.Value)
51 result = append(result, *param)
52 }
53 return result
54}
55
56func (e PluginExecutor) pluginAuth(auth *auth.AuthenticatorResult) plugin.AuthResult {
57 return plugin.AuthResult{

Callers 1

CallMethod · 0.95

Calls 1

NewExecutionParameterFunction · 0.92

Tested by

no test coverage detected