(ctx plugin.ExecutionContext, writer output.OutputWriter, logger log.Logger)
| 338 | } |
| 339 | |
| 340 | func (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 | |
| 345 | type ContextPluginCommand struct { |
| 346 | Context plugin.ExecutionContext |
nothing calls this directly
no test coverage detected