task

package
v1.0.79 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(conn *grpc.ClientConn) *Handler

func (*Handler) GetTasks

func (h *Handler) GetTasks() ([]v2.AgentTask, error)

func (*Handler) MarkAgentTaskCompleted

func (h *Handler) MarkAgentTaskCompleted(req *pb.AgentTaskCompletedRequest) error

func (*Handler) MarkAgentTaskFailed

func (h *Handler) MarkAgentTaskFailed(req *pb.AgentTaskFailedRequest) error

func (*Handler) PollTasks

func (h *Handler) PollTasks()

func (*Handler) Run

func (h *Handler) Run()

func (*Handler) Stop

func (h *Handler) Stop()

Jump to

Keyboard shortcuts

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