Documentation
¶
Index ¶
- Constants
- func WriteDredgeFile(dredgeFile *DredgeFile, filename SourcePath) error
- type BrowserStep
- type Bucket
- type DredgeFile
- type EditDredgeFileStep
- type IfStep
- type ImportBucket
- type ImportWorkflow
- type Input
- type Insert
- type Runtime
- type ShellStep
- type SourcePath
- type Step
- type TemplateStep
- type Variables
- type Workflow
Constants ¶
View Source
const ( DEFAULT_HOME = "/home" INPUT_TEXT = "text" INPUT_SELECT = "select" INSERT_BEGIN = "begin" INSERT_END = "end" INSERT_UNIQUE = "unique" RUNTIME_NATIVE = "native" RUNTIME_CONTAINER = "container" )
Variables ¶
This section is empty.
Functions ¶
func WriteDredgeFile ¶ added in v0.0.3
func WriteDredgeFile(dredgeFile *DredgeFile, filename SourcePath) error
Types ¶
type BrowserStep ¶ added in v0.0.3
type BrowserStep struct {
Url string
}
func (BrowserStep) Validate ¶ added in v0.0.3
func (b BrowserStep) Validate() error
type Bucket ¶ added in v0.0.2
type Bucket struct {
Name string
Description string `yaml:",omitempty"`
Workflows []Workflow `yaml:",omitempty"`
Import *ImportBucket `yaml:",omitempty"`
}
type DredgeFile ¶
type DredgeFile struct {
Variables Variables `yaml:",omitempty"`
Runtimes []Runtime `yaml:",omitempty"`
Workflows []Workflow `yaml:",omitempty"`
Buckets []Bucket `yaml:",omitempty"`
}
func NewDredgeFile ¶ added in v0.0.3
func NewDredgeFile(buf []byte) (*DredgeFile, error)
func (*DredgeFile) Validate ¶ added in v0.0.3
func (dredgeFile *DredgeFile) Validate() error
type EditDredgeFileStep ¶ added in v0.0.3
type EditDredgeFileStep struct {
AddVariables Variables `yaml:"add_variables,omitempty"`
AddWorkflows []Workflow `yaml:"add_workflows,omitempty"`
AddBuckets []Bucket `yaml:"add_buckets,omitempty"`
}
func (EditDredgeFileStep) Validate ¶ added in v0.0.3
func (e EditDredgeFileStep) Validate() error
type ImportBucket ¶ added in v0.0.3
type ImportBucket struct {
Source SourcePath
Bucket string
}
func (ImportBucket) Validate ¶ added in v0.0.3
func (i ImportBucket) Validate() error
type ImportWorkflow ¶ added in v0.0.3
type ImportWorkflow struct {
Source SourcePath
Bucket string
Workflow string
}
func (ImportWorkflow) Validate ¶ added in v0.0.3
func (i ImportWorkflow) Validate() error
type Input ¶ added in v0.0.4
type Runtime ¶
type ShellStep ¶
type SourcePath ¶ added in v0.0.3
type SourcePath string
type Step ¶
type Step struct {
Name string `yaml:",omitempty"`
Shell *ShellStep `yaml:",omitempty"`
Template *TemplateStep `yaml:",omitempty"`
Browser *BrowserStep `yaml:",omitempty"`
EditDredgeFile *EditDredgeFileStep `yaml:"edit_dredgefile,omitempty"`
If *IfStep `yaml:",omitempty"`
}
type TemplateStep ¶
type TemplateStep struct {
Source SourcePath `yaml:",omitempty"`
Input string `yaml:",omitempty"`
Dest string
Insert *Insert `yaml:",omitempty"`
}
func (TemplateStep) Validate ¶ added in v0.0.3
func (t TemplateStep) Validate() error
Click to show internal directories.
Click to hide internal directories.