Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Types = []Type{ BuildSubmitted, BuildStarted, BuildFinished, BuildTagged, InviteSent, InviteAccepted, Namespaces, Cron, Images, Objects, Variables, SSHKeys, } ErrUnknown = errors.New("unknown event") ErrNilDispatcher = errors.New("nil dispatcher") )
Functions ¶
This section is empty.
Types ¶
type Dispatcher ¶
func MultiDispatcher ¶
func MultiDispatcher(dispatchers ...Dispatcher) Dispatcher
type Event ¶
type Type ¶
type Type uint
const ( BuildSubmitted Type = 1 << iota // build.submitted BuildStarted // build.started BuildFinished // build.finished BuildTagged // build.tagged InviteSent // invite.sent InviteAccepted // invite.accepted InviteRejected // invite.rejected Namespaces // namespaces Cron // cron Images // images Objects // objects Variables // variables SSHKeys // ssh_keys )
func UnmarshalType ¶
Click to show internal directories.
Click to hide internal directories.