# Functions
All runs all given validations and exists at the first technical error.
BuildParameters validates that the parameter values specified in Build are suitable for what is defined in the BuildStrategy.
BuildRunFields runs field validations against a BuildRun to detect disallowed field combinations and issues.
BuildRunNodeSelector is used to validate nodeSelectors in the BuildRun object.
BuildRunParameters validates that the parameter values specified in Build and BuildRun are suitable for what is defined in the BuildStrategy.
BuildSchedulerName is used to validate the schedulerName in the BuildRun object.
BuildRunTolerations is used to validate tolerations in the BuildRun object.
BuildRunVolumes is used to validate volumes in the BuildRun object.
BuildVolumes is used to validate volumes in the Build object.
No description provided by the author
No description provided by the author
NewEnv instantiates a new Env passing the build object pointer along.
No description provided by the author
No description provided by the author
NewSourcesRef instantiate a new SourcesRef passing the build object pointer along.
No description provided by the author
No description provided by the author
No description provided by the author
NewTrigger instantiate Trigger validation helper.
NewValidation returns a specific structure that implements BuildPath interface.
# Constants
BuildName for validating `metadata.name` entry.
Envs for validating `spec.env` entries.
NodeSelector for validating `spec.nodeSelector` entry.
Output for validating `spec.output` entry.
OwnerReferences for validating the ownerreferences between a Build and BuildRun objects.
SchedulerName for validating `spec.schedulerName` entry.
Secrets for validating secret references in Build objects.
Sources for validating `spec.sources` entries.
SourceURL for validating the source URL in Build objects.
Strategies for validating strategy references in Build objects.
Tolerations for validating `spec.tolerations` entry.
Triggers for validating the `.spec.triggers` entries.
# Structs
BuildNameRef contains all required fields to validate a build name.
BuildSpecOutputValidator implements validation interface to add validations for `build.spec.output`.
Credentials contains all required fields to validate a Build spec secrets definitions.
Env implements the Env interface to add validations for the `build.spec.env` slice.
NodeSelectorRef contains all required fields to validate a node selector.
OwnerRef contains all required fields to validate a Build OwnerReference definition.
SchedulerNameRef contains all required fields to validate a Scheduler name.
SourcesRef implements RuntimeRef interface to add validations for `build.spec.source`.
SourceURLRef contains all required fields to validate a Build spec source definition.
Strategy contains all required fields to validate a Build spec strategy definition.
TolerationsRef contains all required fields to validate tolerations.
Trigger implements the interface BuildPath with the objective of applying validations against the `.spec.trigger` related attributes.
# Interfaces
BuildPath is an interface that holds a ValidatePath() function for validating different Build spec paths.