Help us shape the future of Go! Take the 2026 Go Developer Survey

task

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompactTemplateSummary

func CompactTemplateSummary(template taskstate.Template) map[string]any

func TemplateMatchRecommendation

func TemplateMatchRecommendation(candidates []taskstate.TemplateCandidate) map[string]any

Types

type ConfigProvider

type ConfigProvider func() config.Config

type Result

type Result = toolcore.Result

type Service

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

func New

func New(configProvider ConfigProvider, tasks *taskstate.Store) *Service

func (*Service) Manage

func (s *Service) Manage(ctx context.Context, args map[string]any) (Result, error)

func (*Service) NexusWorkflowJSON

func (s *Service) NexusWorkflowJSON(ctx context.Context, method, path string, payload any) (Result, error)

func (*Service) RuntimeTask

func (s *Service) RuntimeTask(id string) (Result, error)

func (*Service) RuntimeTaskDelete

func (s *Service) RuntimeTaskDelete(id string) (Result, error)

func (*Service) RuntimeTasks

func (s *Service) RuntimeTasks(status string, limit int) (Result, error)

func (*Service) WorkflowManage

func (s *Service) WorkflowManage(ctx context.Context, args map[string]any) (Result, error)

type ToolError

type ToolError = toolcore.ToolError

Jump to

Keyboard shortcuts

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