Versions in this module Expand all Collapse all v0 v0.22.0 Oct 26, 2026 Changes in this version + func IsTerminalStatus(status string) bool type Task + Reopened bool v0.21.0 Oct 26, 2026 Changes in this version + type AlreadyExistsError struct + Code string + Status string + TaskIdentifier string + What string + func (e *AlreadyExistsError) Error() string + func (e *AlreadyExistsError) Unwrap() error type Client + ReaddressTask func(ctx context.Context, id string, next string) (*Task, error) + type CreateOptions struct + ReopenTerminal bool v0.20.0 Oct 26, 2026 Changes in this version + var ErrAlreadyExists = stderrors.New("task already exists") + var ErrAmbiguous = stderrors.New("name is ambiguous") + var ErrNotFound = stderrors.New("task not found") + type Client interface + CreateTask func(ctx context.Context, task Task) (*Task, error) + ListTasks func(ctx context.Context, filter Filter) ([]Task, error) + PatchTask func(ctx context.Context, id string, fields map[string]any) (*Task, error) + PutBody func(ctx context.Context, id string, body string) error + ReadTask func(ctx context.Context, id string) (*Task, error) + func NewClient(baseURL, gatewaySecret, gatewayInitiator string) Client + type Filter struct + Assignee string + Cluster string + Goal string + Phase string + Status string + TaskTypes []string + type Task struct + Body string + Frontmatter map[string]any + ID string + Title string