Documentation ¶
Index ¶
Constants ¶
View Source
const ( LT = "<" LET = "<=" Equal = "=" DoubleEqual = "==" GT = ">" GET = ">=" Regex = "regexp" IN = "in" NotIn = "notin" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BashExecutor ¶
type BashExecutor struct { }
type DagCondition ¶
type DagContext ¶
type DagNode ¶
type DagNode struct { Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Command string `json:"command,omitempty"` Content string `json:"content,omitempty"` OutputAlias map[string]string `json:"output_alias,omitempty"` // alias any=$(echo 'hello') Headers map[string]string `json:"headers,omitempty"` // for http type Timeout int `json:"timeout,omitempty"` Depends []string `json:"depends,omitempty"` // dep and condition Conditions []DagCondition `json:"conditions,omitempty"` Debug bool `json:"debug,omitempty"` Retry int `json:"retry,omitempty"` RetryWaitTime int `json:"retry_wait_time,omitempty"` // for more context PreContext DagContext `json:"-"` Next []*DagNode `json:"-"` // contains filtered or unexported fields }
func (*DagNode) ConditionValid ¶
func (*DagNode) WaitDependDone ¶
type HTTPExecutor ¶
type HTTPExecutor struct {
// contains filtered or unexported fields
}
func NewHTTPExecutor ¶
Click to show internal directories.
Click to hide internal directories.