Versions in this module Expand all Collapse all v0 v0.0.75 May 13, 2026 Changes in this version + func ExpandTemplate(s string, t time.Time) string + func FormatExample(t time.Time) string + func SupportedPlaceholders() []string + type Repository interface + Create func(ctx context.Context, s *Schedule) error + Delete func(ctx context.Context, id string) error + Get func(ctx context.Context, id string) (*Schedule, error) + List func(ctx context.Context, projectID string, limit, offset int) ([]*Schedule, int, error) + ListAll func(ctx context.Context) ([]*Schedule, error) + Update func(ctx context.Context, s *Schedule) error + type Schedule struct + CreatedAt time.Time + CronExpression string + Description string + Effort string + Enabled bool + ID string + LastError string + LastRunAt time.Time + Name string + NextRunAt time.Time + ProjectID string + StatusID string + TaskDescription string + TaskMetadata map[string]string + TaskTitle string + UpdatedAt time.Time + UseWorktree bool + WorkflowID string + type Scheduler interface + Add func(s *Schedule) error + NextRun func(expr string, from time.Time) time.Time + Remove func(id string) + Update func(s *Schedule) error + type Server struct + func NewServer(repo Repository, workflowRepo workflow.Repository, sched Scheduler) *Server + func (s *Server) CreateSchedule(ctx context.Context, req *connect.Request[taskguildv1.CreateScheduleRequest]) (*connect.Response[taskguildv1.CreateScheduleResponse], error) + func (s *Server) DeleteSchedule(ctx context.Context, req *connect.Request[taskguildv1.DeleteScheduleRequest]) (*connect.Response[taskguildv1.DeleteScheduleResponse], error) + func (s *Server) GetSchedule(ctx context.Context, req *connect.Request[taskguildv1.GetScheduleRequest]) (*connect.Response[taskguildv1.GetScheduleResponse], error) + func (s *Server) ListSchedules(ctx context.Context, req *connect.Request[taskguildv1.ListSchedulesRequest]) (*connect.Response[taskguildv1.ListSchedulesResponse], error) + func (s *Server) SetScheduleEnabled(ctx context.Context, ...) (*connect.Response[taskguildv1.SetScheduleEnabledResponse], error) + func (s *Server) UpdateSchedule(ctx context.Context, req *connect.Request[taskguildv1.UpdateScheduleRequest]) (*connect.Response[taskguildv1.UpdateScheduleResponse], error)