This document shows Go type definitions from the codebase.
Generated types:
types/generated/typescript/schedule.tstypes/generated/rust/schedule.rsSource: pulse/schedule/execution.go
const ExecutionStatusCompleted = "completed"
const ExecutionStatusFailed = "failed"
const ExecutionStatusRunning = "running"
const StateActive = "active"
const StateDeleted = "deleted"
const StateInactive = "inactive"
const StatePaused = "paused"
const StateStopping = "stopping"
Source: pulse/schedule/execution.go:13
type Execution struct {
ID string `json:"id"`
ScheduledJobID string `json:"scheduled_job_id"`
AsyncJobID *string `json:"async_job_id,omitempty"`
Status string `json:"status"`
StartedAt string `json:"started_at"`
CompletedAt *string `json:"completed_at,omitempty"`
DurationMs *int `json:"duration_ms,omitempty"`
Logs *string `json:"logs,omitempty"`
ResultSummary *string `json:"result_summary,omitempty"`
ErrorMessage *string `json:"error_message,omitempty"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
}
Source: pulse/schedule/store.go:792
type ForceTriggerParams struct {
ATSCode string
HandlerName string
Payload []byte
SourceURL string
AsyncJobID string
}
Source: pulse/schedule/store.go:801
type ForceTriggerResult struct {
ScheduledJobID string
ExecutionID string
CreatedNewJob bool
}
Source: pulse/schedule/task_log_store.go:23
type LogEntry struct {
Timestamp string `json:"timestamp"`
Level string `json:"level"`
Message string `json:"message"`
Metadata map[string]any `json:"metadata,omitempty"`
}
Source: pulse/schedule/task_log_store.go:17
type StageInfo struct {
Stage string `json:"stage"`
Tasks []TaskInfo `json:"tasks"`
}
Source: pulse/schedule/task_log_store.go:11
type TaskInfo struct {
TaskID string `json:"task_id"`
LogCount int `json:"log_count,omitempty"`
}
Source: pulse/schedule/task_log_store.go:32
type TaskLogStore struct {
}