Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleDlq ¶ added in v0.5.0
func HandleDlq(store DlqStorer) http.HandlerFunc
func HandleTasks ¶
func HandleTasks(service CloudEventHandler) http.HandlerFunc
func NewTaskApi ¶
func NewTaskApi(client *uptask.TaskClient) *taskApi
Types ¶
type CloudEventHandler ¶ added in v0.5.0
type CloudEventHandler interface {
HandleEvent(ctx context.Context, event cloudevents.Event) error
}
type DlqStorer ¶ added in v0.5.0
type DlqStorer interface {
StoreDlqEvent(ce cloudevents.Event) error
}
type ListTasksResponse ¶
type ListTasksResponse struct {
Tasks []*uptask.TaskExecution `json:"tasks"`
}
Click to show internal directories.
Click to hide internal directories.