Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JobSpec ¶
type JobSpec struct {
RepoOwner string `json:"account"`
RepoName string `json:"repo"`
GitRef string `json:"ref"`
GitHubAPIToken string `json:"api_token"`
Depth string `json:"depth"`
Sync bool `json:"sync"`
}
JobSpec contains the specs for a job, retrieved from parsed JSON
func NewJobSpec ¶
NewJobSpec creates a new job spec based on the arguments that would be passed along from the job goworker picks up from Redis.
Click to show internal directories.
Click to hide internal directories.