Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CoreTypes = map[string]reflect.Type{ "workspace": WorkspaceType, "datastore": DataStoreType, "layer": LayerType, "process": ProcessType, "service": ServiceType, "job": JobType, "workflow": WorkflowType, }
View Source
var DataStoreType = reflect.TypeOf(DataStore{})
View Source
var JobType = reflect.TypeOf(Job{})
View Source
var LayerType = reflect.TypeOf(Layer{})
View Source
var ProcessType = reflect.TypeOf(Process{})
View Source
var ServiceType = reflect.TypeOf(Service{})
View Source
var WorkflowType = reflect.TypeOf(Workflow{})
View Source
var WorkspaceType = reflect.TypeOf(Workspace{})
Functions ¶
This section is empty.
Types ¶
type DataStore ¶
type DataStore struct { Workspace *Workspace `rest:"workspace, the name of the containing workspace" required:"yes"` Name string `rest:"name, the unique name of the data store" required:"yes"` Title string `rest:"title, the title of the data store"` Description string `rest:"description, a verbose description of the data store"` Uri dfl.Node `rest:"uri, a uri to the data (local or AWS s3)" required:"yes"` Format string `rest:"format, the format of the data (default inferred from uri)"` Compression string `rest:"compression, the compression of the data (default inferred from uri)"` Extent []float64 `rest:"extent, the extent of the data"` }
type Job ¶
type Job struct { Service *Service `rest:"service, the name of the service" required:"yes"` Name string `rest:"name, the name of the job, not required"` Title string `rest:"title, the title of the job, not required"` Description string `rest:"description, a verbose description of the job, not required"` Variables map[string]interface{} `rest:"variables, the input variables for the job"` Output *DataStore `rest:"output, the output for the job"` }
type Layer ¶
type Layer struct { Name string `rest:"name, the unique name of the workspace" required:"yes"` Title string `rest:"title, the title of the workspace"` Description string `rest:"description, a verbose description of the workspace"` DataStore *DataStore `rest:"datastore, the name of the data store" required:"yes"` Node dfl.Node `rest:"expression, the DFL expression of the layer" required:"yes"` Defaults map[string]interface{} `rest:"defaults, the default values of the variables for this service"` Extent []float64 `rest:"extent, the extent of the data"` Tags []string `rest:"tags, tags for the service"` Cache *cache.Cache }
type Process ¶
type Process struct { Name string `rest:"name, the unique name of the process" required:"yes"` Title string `rest:"title, the title of the process"` Description string `rest:"description, a verbose description of the process"` Node dfl.Node `rest:"expression, the DFL expression of the process" required:"yes"` Tags []string `rest:"tags, tags for the service"` }
type Service ¶
type Service struct { Name string `rest:"name, the unique name of the service" required:"yes"` Title string `rest:"title, the title of the service"` Description string `rest:"description, a verbose description of the service"` DataStore *DataStore `rest:"datastore, the name of the data store" required:"yes"` Process *Process `rest:"process, the name of the process" required:"yes"` Defaults map[string]interface{} `rest:"defaults, the default values of the variables for this service"` Tags []string `rest:"tags, tags for the service"` }
type Workflow ¶
type Workflow struct { Name string `rest:"name, the name of the workflow" required:"yes"` Title string `rest:"title, the title of the workflow, not required"` Description string `rest:"description, a verbose description of the workflow, not required"` Variables map[string]interface{} `rest:"variables, global variables for the workflow"` Jobs []*Job `rest:"jobs, the jobs for the workflow, in order of execution" required:"yes"` }
type Workspace ¶
type Workspace struct { Name string `rest:"name, the unique name of the workspace" required:"yes"` Title string `rest:"title, the title of the workspace"` Description string `rest:"description, a verbose description of the workspace"` }
func NewDefaultWorkspace ¶
func NewDefaultWorkspace() *Workspace
Click to show internal directories.
Click to hide internal directories.