Documentation ¶
Index ¶
- Constants
- func WriteDredgeFile(dredgeFile *DredgeFile, filename SourcePath) error
- type BrowserStep
- type Bucket
- type ConfirmStep
- type DredgeFile
- type EditDredgeFileStep
- type ExecuteStep
- type IfStep
- type ImportBucket
- type ImportWorkflow
- type Input
- type Insert
- type LogStep
- type Resource
- type ResourceProvider
- type Resources
- type Runtime
- type SetStep
- 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" LOG_FATAL = "fatal" LOG_ERROR = "error" LOG_WARN = "warn" LOG_INFO = "info" LOG_DEBUG = "debug" LOG_TRACE = "trace" )
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 ConfirmStep ¶ added in v0.0.7
type ConfirmStep struct {
Message string
}
func (ConfirmStep) Validate ¶ added in v0.0.7
func (c ConfirmStep) Validate() error
type DredgeFile ¶
type DredgeFile struct { Variables Variables `yaml:",omitempty"` Runtimes []Runtime `yaml:",omitempty"` Workflows []Workflow `yaml:",omitempty"` Buckets []Bucket `yaml:",omitempty"` Resources Resources `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 ExecuteStep ¶ added in v0.0.7
func (ExecuteStep) Validate ¶ added in v0.0.7
func (e ExecuteStep) 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 Resource ¶ added in v0.0.7
type Resource []ResourceProvider
type ResourceProvider ¶ added in v0.0.7
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"` Execute *ExecuteStep `yaml:",omitempty"` Set *SetStep `yaml:",omitempty"` Log *LogStep `yaml:",omitempty"` Confirm *ConfirmStep `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.