8000 Add API and Backend packages by jacobweinstock · Pull Request #4 · tinkerbell/tinkerbell · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add API and Backend packages #4

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

Merged
merged 3 commits into from
Jan 29, 2025

Conversation

jacobweinstock
Copy link
Member

Description

Backends allow communicating with either the Kube or File backends. Some Smee updates were added as well.

Why is this needed

Fixes: #

How Has This Been Tested?

How are existing users impacted? What migration steps/scripts do we need?

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • added unit or e2e tests
  • provided instructions on how to upgrade

Add constructor with some defaulting.
Add code comments to public structs.
Add validation of IPs and Ports.
Handle case where all services are disabled.

Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
Backends implement just what Smee needs.
Future Services will need the backends to
support more functionality and it will be added
then.

Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
Add mock client creation gets around
not having a working kubeconfig or a kube api url.

Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
@jacobweinstock jacobweinstock merged commit c235fd3 into tinkerbell:main Jan 29, 2025
2 checks passed
@jacobweinstock jacobweinstock deleted the backend branch January 29, 2025 04:08
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
0