serverless / serverless-google-cloudfunctions

Serverless Google Cloud Functions Plugin – Adds Google Cloud Functions support to the Serverless Framework
https://www.serverless.com
MIT License
272 stars 127 forks source link

Add internal hookable lifecycle events for the Google plugin to the cheat sheet #77

Open HyperBrain opened 7 years ago

HyperBrain commented 7 years ago

Does the plugin add any internal lifecycle events (similar to the extensions, the AWS plugin does)?

If yes, then it would be great if I could add them to the Plugin author's lifecycle cheat sheet available here https://gist.github.com/HyperBrain/50d38027a8f57778d5b0f135d80ea406. Currently the GIST doc only shows the aws specific sub lifecycles, but as it is intended to be provider independent it would be great to add the other provider's hookable events too.

BTW: I keep the document consistent with any lifecycle changes in the core framework already.

pmuens commented 7 years ago

Hey @HyperBrain thanks for opening this issue and all your efforts to constantly update the holy grail of lifecycle events documentation 💯 👍 🙏

Right now the Google plugin uses only the core lifecycle hooks because the whole workflow is pretty simple to reason about.

However maybe later down the road we might want to introduce sub-lifecycles to get more fine grained control over the process.

I'll keep you posted once we add sub-lifecycles!