package
0.0.1290
Repository: https://github.com/jenkins-x/lighthouse-client.git
Documentation: pkg.go.dev

# Functions

AggregateFilter builds a filter that evaluates the child filters in order and returns the first match.
BatchSpec initializes a PipelineOptionsSpec for a given batch job and ref spec.
CommandFilter builds a filter for `/test foo`.
DeploymentSpec initializes a PipelineOptionsSpec for a given deployment job.
FilterPresubmits determines which presubmits should run and which should be skipped by evaluating the user-provided filter.
GenerateName generates a meaningful name for the LighthouseJob from the spec.
LabelsAndAnnotationsForJob returns a standard set of labels to add to pod/build/etc resources.
LabelsAndAnnotationsForSpec returns a minimal set of labels to add to LighthouseJobs or its owned resources.
LighthouseJobFields extracts logrus fields from a LighthouseJob useful for logging.
NewLighthouseJob initializes a LighthouseJob out of a LighthouseJobSpec.
NewPresubmit converts a config.Presubmit into a builder.PipelineOptions.
PartitionActive separates the provided prowjobs into pending and triggered and returns them inside channels so that they can be consumed in parallel by different goroutines.
PeriodicSpec initializes a PipelineOptionsSpec for a given periodic job.
PostsubmitSpec initializes a PipelineOptionsSpec for a given postsubmit job.
PresubmitFilter creates a filter for presubmits.
PresubmitSpec initializes a PipelineOptionsSpec for a given presubmit job.
RetestFilter builds a filter for `/retest`.
ServePProf sets up a handler for pprof debug endpoints and starts a server for them asynchronously.
TestAllFilter builds a filter for the automatic behavior of `/test all`.

# Variables

OkToTestRe provies the regex for `/ok-to-test`.
RetestRe provides the regex for `/retest`.
TestAllRe provides the regex for `/test all`.

# Type aliases

Filter digests a presubmit config to determine if: - we the presubmit matched the filter - we know that the presubmit is forced to run - what the default behavior should be if the presubmit runs conditionally and does not match trigger conditions.