Index
A
- AsyncLogger — Class in namespace ForsakenThreads\GetHooked
- WebhookHandler::addReceiver() — Method in class WebhookHandler
- Register an implementation of
EventReceiverInterface
C
- CommandInterface — Class in namespace ForsakenThreads\GetHooked
D
- DeployOnEvent — Class in namespace ForsakenThreads\GetHooked
- DeployOnMerge — Class in namespace ForsakenThreads\GetHooked
- DeployOnPush — Class in namespace ForsakenThreads\GetHooked
E
- Emitter — Class in namespace ForsakenThreads\GetHooked
- Emitter::emit() — Method in class Emitter
- Override of parent
emit()
to handleonAny
listeners - EventReceiverFluentSetter — Class in namespace ForsakenThreads\GetHooked
- EventReceiverInterface — Class in namespace ForsakenThreads\GetHooked
F
- EventReceiverFluentSetter::forRepo() — Method in class EventReceiverFluentSetter
- Apply repository criterion to the setter, in vendor-name/project-name format
- EventReceiverFluentSetter::from() — Method in class EventReceiverFluentSetter
- Apply from branch criterion to the setter
G
- EventReceiverFluentSetter::getEventType() — Method in class EventReceiverFluentSetter
- Return the event type for which this receiver listens
- EventReceiverInterface::getEventType() — Method in class EventReceiverInterface
- Get event type for which this receiver listens
- GitLabHook — Class in namespace ForsakenThreads\GetHooked
- QueueManager::getActiveQueues() — Method in class QueueManager
- Get the active queues with their pending items
- QueueManager::getQueueItem() — Method in class QueueManager
- Get the payload for a queue item
H
- AsyncLogger::handle() — Method in class AsyncLogger
- Receive the event and do something with it.
- DeployOnEvent::handle() — Method in class DeployOnEvent
- Receive the event and do something with it.
- EventReceiverFluentSetter::handle() — Method in class EventReceiverFluentSetter
- Handle the received event.
I
- EventReceiverFluentSetter::initiatedBy() — Method in class EventReceiverFluentSetter
- Apply username criterion to the setter, formatted as the formal name, e.g. 'Keith Freeman'
O
- Emitter::onAny() — Method in class Emitter
- Register listener for every event
- EventReceiverFluentSetter::on() — Method in class EventReceiverFluentSetter
- Apply eventType criterion to the setter
- WebhookHandler::on() — Method in class WebhookHandler
- Register a listener callback for a specific event
- WebhookHandler::onAny() — Method in class WebhookHandler
- Register a listener callback for all events
Q
- QueueAccess — Class in namespace ForsakenThreads\GetHooked
- QueueManager — Class in namespace ForsakenThreads\GetHooked
- QueueManager::queueUp() — Method in class QueueManager
- Queue up a command for the specified worker.
- QueueReceiverInterface — Class in namespace ForsakenThreads\GetHooked
- QueueWorker — Class in namespace ForsakenThreads\GetHooked
R
- AsyncLogger::run() — Method in class AsyncLogger
- Run a command received off the queue
- CommandInterface::run() — Method in class CommandInterface
- Run the command using the supplied payload
- DeployOnEvent::run() — Method in class DeployOnEvent
- Run a command received off the queue
- EventReceiverFluentSetter::receive() — Method in class EventReceiverFluentSetter
- Called by the Event Emitter and will determine if the Event matches the set criteria
- EventReceiverInterface::receive() — Method in class EventReceiverInterface
- Receive an event from a WebhookHandler
- QueueManager::removeQueueItem() — Method in class QueueManager
- Remove an item from a queue
- WebhookHandler::receiveHook() — Method in class WebhookHandler
- Processes the request, and if valid, emits the appropriate emits
S
- QueueAccess::setQueue() — Method in class QueueAccess
- Set the storage instance
- QueueManager::singleton() — Method in class QueueManager
- Set a singleton queue item
- QueueReceiverInterface::setQueue() — Method in class QueueReceiverInterface
- Receive an injected instance of the
QueueManager
T
- EventReceiverFluentSetter::to() — Method in class EventReceiverFluentSetter
- Apply to branch criterion to the setter
W
- QueueWorker::work() — Method in class QueueWorker
- Work the queue
- WebhookHandler — Class in namespace ForsakenThreads\GetHooked
_
- AsyncLogger::__construct() — Method in class AsyncLogger
- AsyncLogger constructor.
- DeployOnEvent::__construct() — Method in class DeployOnEvent
- DeployOnMerge constructor.
- DeployOnMerge::__construct() — Method in class DeployOnMerge
- DeployOnMerge constructor.
- DeployOnPush::__construct() — Method in class DeployOnPush
- DeployOnMerge constructor.
- QueueManager::__construct() — Method in class QueueManager
- QueueManager constructor.
- QueueWorker::__construct() — Method in class QueueWorker
- QueueWorker constructor.
- WebhookHandler::__construct() — Method in class WebhookHandler
- Handler constructor, accepts the secret that authenticates the webhook from GitLab and the directory path for the database.