Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClaimJobInput ¶ added in v0.8.0
type ClaimJobInput struct {
RunnerPath string
}
ClaimJobInput is the input for claiming the next availble job
type ClaimJobResponse ¶ added in v0.8.0
ClaimJobResponse is the response when claiming a job
type Client ¶ added in v0.8.0
type Client interface {
ClaimJob(ctx context.Context, input *ClaimJobInput) (*ClaimJobResponse, error)
}
Client interface for claiming a job
type JobDispatcherSettings ¶ added in v0.8.0
type JobDispatcherSettings struct { PluginData map[string]string DispatcherType string ServiceDiscoveryHost string }
JobDispatcherSettings defines the job dispatcher that'll be used for this runner
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner will claim the next available job and dispatch it using the configured job dispatcher
Click to show internal directories.
Click to hide internal directories.