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

Add dbHostCheck entity to the store #1085

Merged
merged 9 commits into from Mar 25, 2024
Merged

Add dbHostCheck entity to the store #1085

merged 9 commits into from Mar 25, 2024

Conversation

peterjan
Copy link
Member

@peterjan peterjan commented Mar 20, 2024

This PR adds a new entity called dbHostCheck. It combines a series of checks the autopilot performs on a host, and are stored in the bus. The bus now returns a new type, simply called api.Host which is a superset of hostdb.HostInfo, it adds a map that holds every check for that host, indexed by the identifier of the autopilot that performed the check.

@peterjan peterjan self-assigned this Mar 20, 2024
stores/hostdb.go Outdated Show resolved Hide resolved
stores/hostdb.go Outdated Show resolved Hide resolved
stores/hostdb.go Outdated Show resolved Hide resolved
stores/hostdb.go Outdated Show resolved Hide resolved
stores/hostdb.go Outdated Show resolved Hide resolved
stores/hostdb.go Outdated Show resolved Hide resolved
stores/hostdb.go Outdated Show resolved Hide resolved
@peterjan peterjan changed the title Add dbHostInfo entity to the store Add dbHostCheck entity to the store Mar 21, 2024
api/host.go Show resolved Hide resolved
stores/migrations.go Show resolved Hide resolved
@ChrisSchinnerl ChrisSchinnerl merged commit e208c96 into dev Mar 25, 2024
8 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the pj/host-infos-db branch March 25, 2024 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants