uptaskhttp

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2025 License: MIT Imports: 9 Imported by: 0

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL