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

functional PoC #2

Merged
merged 12 commits into from
Mar 11, 2024
Merged

functional PoC #2

merged 12 commits into from
Mar 11, 2024

Conversation

joelrebel
Copy link
Member

  • Renames a few variables for consistency.
  • Adds Makefile, Dockerfile and other housekeeping configuration.
  • Move action execution into the handler{} type.
  • Update README

joelrebel added 12 commits March 7, 2024 14:34
…hods from handlers.go

id field renamed so its less ambiguous and event processing methods
were moved here so that handlers.go is limited to actual work execution
This consolidates all action execution, helper methods under the handler
for ease of maintainability
This was done so its clear what the identifier is for
this moves the kv update payload init into the publish method
This keeps the flow clearer to the caller, since it is responsible
to call Open() and later invoke Close().

This also limits bmc providers to the ones that supports power related actions.
This was copy pasted and isn't required in flipflop since there is not
other kinds of flipflop apps
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@coffeefreak101 coffeefreak101 merged commit 17f580e into main Mar 11, 2024
6 checks passed
@coffeefreak101 coffeefreak101 deleted the handler branch March 11, 2024 20:13
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.

2 participants