Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultAction = "default"
)
DefaultAction the name for default action name
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action interface { Init(map[interface{}]interface{}) error TakeAction(obj interface{}) }
Action interface so that other actions like slack can implement this
func MapToAction ¶
MapToAction maps the action name to the actual action type
func PopulateFromConfig ¶
PopulateFromConfig populates the actions for a specific controller from config
type Default ¶
type Default struct { }
Default class with empty implementations for any action that we dont support currently
func (*Default) TakeAction ¶
func (d *Default) TakeAction(obj interface{})
TakeAction the main business logic of Action
Click to show internal directories.
Click to hide internal directories.