Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Expression ¶
type Expression struct {
Script string
}
Expression - Describes a expression which evaluates to a bool
type Pipeline ¶
type Pipeline struct { Name string `json:"name" bson:"name"` Parameters []string `json:"parameters" bson:"parameters"` Stages []Stage `json:"stages" bson:"stages"` }
Pipeline -
func CreateFromBytes ¶
CreateFromBytes - loads a new pipeline instance from a byte array
type Stage ¶
type Stage struct { Name string `json:"name" bson:"name"` Tasks []Task `json:"tasks" bson:"tasks"` }
Stage -
type Task ¶
type Task struct { Name string `json:"name" bson:"name"` Service string `json:"service" bson:"service"` Parameters map[string]interface{} `json:"input" bson:"input"` IgnoreErrors bool `json:"ignore_errors" bson:"ignore_errors"` Register string `json:"register" bson:"register"` Notify []string `json:"notify" bson:"notify"` // NotifyRef When Expression `json:"when" bson:"when"` }
Task -
Click to show internal directories.
Click to hide internal directories.