Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidActionType = errors.Business("invalid action type [%s/%s]", "DP:002") ErrSourceIsEmpty = errors.Business("source is empty", "DP:003") ErrSourceListIsEmpty = errors.Business("source list is empty", "DP:004") ErrActionSourceIsNotAvailable = errors.Business("action source (%s) is not available [%s/%s]", "DP:005") )
View Source
var ErrMissingAction = errors.Business("missing action value", "DP:001")
Functions ¶
This section is empty.
Types ¶
type ActionDefinition ¶
type ActionDefinition struct { ID string `yml:"id"` Type Action `yml:"type"` Params collection.Params `yml:"params"` Source ActionSource `yml:"source"` Sources []ActionSource `yml:"sources"` }
type ActionSource ¶
func (*ActionSource) UnmarshalYAML ¶
func (e *ActionSource) UnmarshalYAML(unmarshal func(interface{}) error) error
type Pipeline ¶
type Pipeline struct { Name string `yaml:"name"` Data collection.Params `yaml:"data"` Values map[string]collection.Params `yaml:"values"` Actions []ActionDefinition `yaml:"actions"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.