Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BundledContent ¶
type BundledContent struct {
Source []byte `json:"source"`
BundleHash string `json:"hash"`
Settings WorkflowSettings `json:"settings"`
}
type BundlerOptions ¶
type BundlerResult ¶
type BundlerResult struct {
Content BundledContent `json:"bundle"`
Errors []string `json:"errors"`
CompilationErrors []interface{} `json:"compilation_errors"`
}
func (*BundlerResult) HasOutput ¶
func (br *BundlerResult) HasOutput() bool
type PolicyAction ¶ added in v0.1.2
type PolicyAction string
const ( PolicyActionStop PolicyAction = "stop" PolicyActionContinue PolicyAction = "continue" )
func (PolicyAction) IsValid ¶ added in v0.1.2
func (a PolicyAction) IsValid() bool
type ResultPolicy ¶ added in v0.1.2
type ResultPolicy struct {
Action PolicyAction `json:"action"`
}
type WorkflowBundler ¶
type WorkflowBundler interface {
Bundle() BundlerResult
}
func NewWorkflowBundler ¶
func NewWorkflowBundler(options BundlerOptions) WorkflowBundler
type WorkflowSettings ¶
type WorkflowSettings struct {
ID string `json:"id"`
Other map[string]interface{} `json:"other"`
Bindings map[string]runtimesRegistry.BindingSettings `json:"bindings"`
FailurePolicy ResultPolicy `json:"failure_policy"`
}
Click to show internal directories.
Click to hide internal directories.