Skip to content

[probes.http] Refactor http-probe:scheduler interface. - #967

Merged
manugarg merged 13 commits into
mainfrom
sched_intf
Jan 22, 2025
Merged

manugarg merged 13 commits into
mainfrom
sched_intf

Conversation

@manugarg

@manugarg manugarg commented Jan 20, 2025 •

Copy link
Copy Markdown
Contributor

This is all to support single run interface for Cloudprober probes (#969).

  • Make HTTP probe use RunProbeForTarget interface. This change centralizes scheduler logic further in the scheduler package.
  • Since we need to keep state across runs, change scheduler's RunProbeForTarget interface to pass more information through a request object, which will store "target state" across successive runs,
  • Update all probes to use the new interface.

@manugarg manugarg linked an issue Jan 21, 2025 that may be closed by this pull request
@manugarg manugarg changed the title [probes.http] Support single run interface. [probes.http] Refactor scheduler interface. Jan 21, 2025
@manugarg manugarg changed the title [probes.http] Refactor scheduler interface. [probes.http] Refactor http probe -> scheduler interface. Jan 22, 2025
@manugarg manugarg changed the title [probes.http] Refactor http probe -> scheduler interface. [probes.http] Refactor http probe:scheduler interface. Jan 22, 2025
@manugarg manugarg changed the title [probes.http] Refactor http probe:scheduler interface. [probes.http] Refactor http-probe:scheduler interface. Jan 22, 2025
@manugarg
manugarg merged commit d1fd5a7 into main Jan 22, 2025
@manugarg
manugarg deleted the sched_intf branch January 22, 2025 21: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