Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Datasets []Dataset `yaml:"datasets" json:"datasets"`
DataConnections []DataConnection `yaml:"data_connections" json:"data_connections"`
Workflows []Workflow `yaml:"workflows" json:"workflows"`
}
type DataConnection ¶ added in v0.2.0
type DataConnection struct {
ID string `yaml:"id" json:"id"`
Type string `yaml:"type" json:"type"`
Path string `yaml:"path" json:"path"`
ConnectionString string `yaml:"connection_string" json:"connection_string"`
}
func (*DataConnection) ExpandConnectionString ¶ added in v0.2.0
func (dc *DataConnection) ExpandConnectionString()
type DataSource ¶
type Dataset ¶ added in v0.2.0
type Dataset struct {
ID string `yaml:"id" json:"id"`
Refresh *Refresh `yaml:"refresh" json:"refresh"`
DataSource *DataSource `yaml:"data_source" json:"data_source"`
Joins []Join `yaml:"joins" json:"joins"`
}
type Join ¶
type Join struct {
Type string `yaml:"type" json:"type"`
Columns []JoinColumns `yaml:"columns" json:"columns"`
DataSource *DataSource `yaml:"data_source" json:"data_source"`
}
type JoinColumns ¶
type Refresh ¶ added in v0.2.0
type Refresh struct {
Interval string `yaml:"interval" json:"interval"`
}
type Workflow ¶ added in v0.2.0
type Workflow struct {
ID string `yaml:"id" json:"id"`
Start string `yaml:"start" json:"start"`
On *WorkflowTrigger `yaml:"on" json:"on"`
Tasks map[string]*WorkflowTask `yaml:"tasks" json:"tasks"`
}
type WorkflowTask ¶ added in v0.2.0
type WorkflowTask struct {
Next string `yaml:"next,omitempty" json:"next,omitempty"`
Type string `yaml:"type" json:"type"`
Env map[string]string `yaml:"env" json:"env"`
With map[string]interface{} `yaml:"with" json:"with"`
WithDatasets []string `yaml:"with_datasets" json:"with_datasets"`
Image string `yaml:"image,omitempty" json:"image,omitempty"` // for "container" type
Script string `yaml:"script,omitempty" json:"script,omitempty"`
}
type WorkflowTrigger ¶ added in v0.2.0
type WorkflowTrigger struct {
DatasetRefresh []string `yaml:"dataset_refresh" json:"dataset_refresh"`
}
Click to show internal directories.
Click to hide internal directories.