webhookd/pkg/worker/work_request.go
Nicolas Carlier 14c214efdf refactor(): Complete refactoring.
- No external dependencies
- No predefined directory structure
- Able to launch any kind of shell script with custom parameters
- Get script output as text event stream (SSE)
- Using common Makefiles
- Extends docker/dind Docker image
2018-01-02 16:11:59 +00:00

11 lines
200 B
Go

package worker
// WorkRequest is a request of work for a worker
type WorkRequest struct {
Name string
Script string
Payload string
Args []string
MessageChan chan []byte
}