Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnsibleRun ¶ added in v0.2.0
func AnsibleRun()
AnsibleRun starts consuming jobs into a channel of size prefetchLimit
Types ¶
type Consumer ¶ added in v0.2.0
type Consumer struct {
// contains filtered or unexported fields
}
Consumer is implementation of rmq.Consumer interface
func NewConsumer ¶ added in v0.2.0
NewConsumer is the entrypoint for runners.Consumer
type QueueJob ¶ added in v0.2.0
type QueueJob struct {
Job models.Job
Template models.JobTemplate
MachineCred models.Credential
NetworkCred models.Credential
SCMCred models.Credential
CloudCred models.Credential
Inventory models.Inventory
Project models.Project
User models.User
PreviousJob *QueueJob
Token string
CredentialPath string // for system jobs
}
QueueJob contains all the information required to start a job
Click to show internal directories.
Click to hide internal directories.