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

Adds a HTTP controller implementation #17

Merged
merged 11 commits into from
Aug 7, 2024
Merged

Adds a HTTP controller implementation #17

merged 11 commits into from
Aug 7, 2024

Conversation

joelrebel
Copy link
Member

This controller interfaces with the Orchestrator API to carry out Condition work and publish updates.

Copy link

@DoctorVin DoctorVin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commenting, but nothing here precludes a merge when ready.

controller_http.go Show resolved Hide resolved
controller_http.go Show resolved Hide resolved
controller_http.go Show resolved Hide resolved
controller_http.go Outdated Show resolved Hide resolved
controller_http.go Show resolved Hide resolved
controller_http.go Show resolved Hide resolved
}

// state active
if cond.State == condition.Active {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like we could smooth this interaction between Orchestrator and an HTTP client. Maybe condense this into a single interaction? I have some thoughts about implementing it, maybe I can get some time to help out.

this could be used by controllers regardless of how they are deployed
(inband/oob)
@joelrebel joelrebel merged commit 3684b10 into main Aug 7, 2024
6 checks passed
@joelrebel joelrebel deleted the http-controller-a branch August 7, 2024 14:59
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