Discover Packages
github.com/lucagez/qron
graph
model
package
Version:
v0.1.16
Opens a new window with list of versions in this module.
Published: Jun 26, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type CommitArgs struct {
ID int64 `json:"id"`
Expr *string `json:"expr,omitempty"`
State *string `json:"state,omitempty"`
}
type CreateJobArgs struct {
Expr string `json:"expr"`
Name string `json:"name"`
State string `json:"state"`
Timeout *int `json:"timeout,omitempty"`
StartAt *time .Time `json:"start_at,omitempty"`
Meta *string `json:"meta,omitempty"`
Retries *int `json:"retries,omitempty"`
DeduplicationKey *string `json:"deduplication_key,omitempty"`
}
type QueryJobsArgs struct {
Limit int `json:"limit"`
Skip int `json:"skip"`
Filter string `json:"filter"`
}
type QueryJobsMetaArgs struct {
Limit int `json:"limit"`
Skip int `json:"skip"`
IsOneShot bool `json:"isOneShot"`
Name *string `json:"name,omitempty"`
From time .Time `json:"from"`
To time .Time `json:"to"`
Statuses []string `json:"statuses"`
Query *string `json:"query,omitempty"`
}
type SearchJobsByMetaResult struct {
Jobs []sqlc .TinyJob `json:"jobs"`
Total int `json:"total"`
}
type UpdateJobArgs struct {
Expr *string `json:"expr,omitempty"`
State *string `json:"state,omitempty"`
Timeout *int `json:"timeout,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.