alexellis / alexellis/derek

Suggestion: SDK for Derek

Aperta
#62 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
820
Fork
68
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Would it be useful to provide Derek as an SDK?

The GitHub auth that we've written has already been useful for the GitHub App in OpenFaaS Cloud and could be useful as a separate package.

Due to [forking of Derek](https://github.com/miekg/dreck) over one user not wanting to follow DCO process, would it be advantageous for us to release Derek as an SDK so the functionality can be invoked via other processes such as a regular HTTP server or as suggested in another issue - an AWS Lambda function? #13

If Derek was packaged as an SDK a few things would need to change:

* secrets would have to be read ahead of time into memory and passed in a configuration object
* any `log.Fatal*` lines may need to be removed
* regression testing would also be needed
* updates to docs for consumption of SDK

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.