Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TriggerExecutor ¶
type TriggerExecutor struct {
// contains filtered or unexported fields
}
TriggerExecutor fires a CreateRun call for a scheduled trigger execution.
func NewTriggerExecutor ¶
func NewTriggerExecutor(cfg TriggerExecutorConfig) *TriggerExecutor
NewTriggerExecutor constructs a TriggerExecutor.
type TriggerExecutorConfig ¶
type TriggerExecutorConfig struct {
// BaseURL is the URL of the runs service (e.g. "http://localhost:8090").
BaseURL string
// QPS is the token-bucket rate for CreateRun calls (tokens/second).
QPS float64
// Burst is the token-bucket burst size.
Burst int
}
TriggerExecutorConfig holds tunables for the executor.
Click to show internal directories.
Click to hide internal directories.