Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutorFactory ¶
type ExecutorFactory interface {
NewDefault(cfg execute.NewDefaultInput) execute.Executor
}
ExecutorFactory facilitates creation of execute.Executor instances.
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider provides automations for events.
func NewProvider ¶
func NewProvider(log logrus.FieldLogger, cfg config.Actions, executorFactory ExecutorFactory) *Provider
NewProvider returns new instance of Provider.
func (*Provider) ExecuteAction ¶ added in v1.0.0
func (p *Provider) ExecuteAction(ctx context.Context, action Action) interactive.CoreMessage
ExecuteAction executes action for given event.
Click to show internal directories.
Click to hide internal directories.