Versions in this module Expand all Collapse all v1 v1.1.2 Jan 31, 2025 v1.1.1 Jan 30, 2025 Changes in this version + func IsCancellable(status *client.JobStatus) bool + type CreateJobInput struct + PlanID string + ServiceID string + StartCommand string + type ListItem struct + func NewListItem(j *clientjob.Job) ListItem + func (i ListItem) Description() string + func (i ListItem) FilterValue() string + func (i ListItem) Height() int + func (i ListItem) Job() *clientjob.Job + func (i ListItem) Title() string + type ListJobsInput struct + CreatedAfter *time.Time + CreatedBefore *time.Time + FinishedAfter *time.Time + FinishedBefore *time.Time + ServiceID string + StartedAfter *time.Time + StartedBefore *time.Time + Status []string + type Repo struct + func NewRepo(c *client.ClientWithResponses) *Repo + func (r *Repo) CancelJob(ctx context.Context, serviceID, jobID string) (*clientjob.Job, error) + func (r *Repo) CreateJob(ctx context.Context, input CreateJobInput) (*clientjob.Job, error) + func (r *Repo) GetJob(ctx context.Context, serviceID, jobID string) (*clientjob.Job, error) + func (r *Repo) ListJobs(ctx context.Context, input ListJobsInput, cur client.Cursor) (client.Cursor, []*clientjob.Job, error)