Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy API #410

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Deploy API #410

wants to merge 4 commits into from

Conversation

denismakogon
Copy link
Member

Extracting deploy core API to make it reusable outside of the Fn CLI.

Deploy API is quite useful, however, it appeared to be very coupled with the existing CLI framework.
This PR extracts core methods: DeployAll and DeploySingle that may be used to deploy the whole application or a single function.

 - Why? DeployAll is the exact method that encapsulates a lot of useful logic and can be
   reused to run the deploy against a folder within other tools.
 - extracting DeploySingle core API method
…nfig

 DeployConfig represents a set of CLI args (deploy parameters) that are used for "fn deploy"

 DeployConfig makes method signatures shorter and simpler to read and work with
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant