Documentation
¶
Overview ¶
Package fixer defines repair submission for an open issue.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// QueueName identifies the validation queue.
QueueName string
}
Config identifies the queue whose repair executor is requested.
type Factory ¶
type Factory interface {
For(Config) (RepairExecutor, error)
}
Factory resolves queue-bound executors; routing belongs to service wiring.
type RepairExecutor ¶
type RepairExecutor interface {
// Submit returns a nonempty opaque fix ID on acceptance, without establishing recovery.
// An ID returned alongside an error still identifies the repair attempt.
// Errors without an ID may follow acceptance; repeated calls can start additional work.
Submit(context.Context, entity.OpenIssue) (string, error)
}
RepairExecutor submits repair work for one open issue within a configured queue. Implementations must be concurrency-safe and return promptly after submission.
Click to show internal directories.
Click to hide internal directories.