Documentation ¶ Index ¶ func Format(blocking Blocking, hook Hook, action Action) string type Action func (t Action) String() string type Blocking func (t Blocking) String() string type Hook func (t Hook) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Format ¶ func Format(blocking Blocking, hook Hook, action Action) string Types ¶ type Action ¶ type Action int const ( Start Action = iota Stop Provision Unprovision Startstandby Shutdown SyncNodes SyncDRP SyncAll SyncResync SyncUpdate SyncRestore Run OnError // tasks use that as an action Command // tasks use that as an action ) func (Action) String ¶ func (t Action) String() string type Blocking ¶ type Blocking int const ( Block Blocking = iota NoBlock ) func (Blocking) String ¶ func (t Blocking) String() string type Hook ¶ type Hook int const ( Pre Hook = iota Post ) func (Hook) String ¶ func (t Hook) String() string Source Files ¶ View all Source files trigger.go Click to show internal directories. Click to hide internal directories.