Documentation ¶
Index ¶
- func BatchSpec(p config.Presubmit, refs kube.Refs) kube.ProwJobSpec
- func NewProwJob(spec kube.ProwJobSpec) kube.ProwJob
- func PeriodicSpec(p config.Periodic) kube.ProwJobSpec
- func PostsubmitSpec(p config.Postsubmit, refs kube.Refs) kube.ProwJobSpec
- func PresubmitSpec(p config.Presubmit, refs kube.Refs) kube.ProwJobSpec
- type Controller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProwJob ¶
func NewProwJob(spec kube.ProwJobSpec) kube.ProwJob
NewProwJob initializes a ProwJob out of a ProwJobSpec.
func PeriodicSpec ¶
func PeriodicSpec(p config.Periodic) kube.ProwJobSpec
PeriodicSpec initializes a ProwJobSpec for a given periodic job.
func PostsubmitSpec ¶
func PostsubmitSpec(p config.Postsubmit, refs kube.Refs) kube.ProwJobSpec
PostsubmitSpec initializes a ProwJobSpec for a given postsubmit job.
func PresubmitSpec ¶
PresubmitSpec initializes a ProwJobSpec for a given presubmit job.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller manages ProwJobs.
Click to show internal directories.
Click to hide internal directories.