Documentation ¶
Index ¶
- Constants
- Variables
- func JobNameFromPath(filePath, suffix string) string
- func NewScheduler(bucketFac BucketFactory, httpClient HTTPClient, compiler models.JobCompiler) *scheduler
- func PathForJobDirectory(prefix, namespace string) string
- func PathFromJobName(prefix, namespace, jobName, suffix string) string
- type Bucket
- type BucketFactory
- type DagRun
- type DagRunListResponse
- type DagRunRequest
- type HTTPClient
Constants ¶
View Source
const ( JobsDir = "dags" JobsExtension = ".py" ConcurrentTicketPerSec = 40 ConcurrentLimit = 600 )
Variables ¶
View Source
var ErrEmptyJobName = errors.New("job name cannot be an empty string")
Functions ¶
func JobNameFromPath ¶ added in v0.0.3
func NewScheduler ¶
func NewScheduler(bucketFac BucketFactory, httpClient HTTPClient, compiler models.JobCompiler) *scheduler
func PathForJobDirectory ¶ added in v0.0.3
func PathFromJobName ¶ added in v0.0.3
Types ¶
type BucketFactory ¶ added in v0.0.3
type DagRun ¶ added in v0.2.0
type DagRun struct { DagRunID string `json:"dag_run_id"` DagID string `json:"dag_id"` LogicalDate time.Time `json:"logical_date"` ExecutionDate time.Time `json:"execution_date"` StartDate time.Time `json:"start_date"` EndDate time.Time `json:"end_date"` State string `json:"state"` ExternalTrigger bool `json:"external_trigger"` Conf struct{} `json:"conf"` }
type DagRunListResponse ¶ added in v0.2.0
type DagRunRequest ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.