Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateSubmitRequest ¶
func ValidateSubmitRequest(req *api.JobSubmitRequest, config configuration.SubmissionConfig) error
ValidateSubmitRequest ensures that the incoming api.JobSubmitRequest is well-formed. It achieves this by applying a series of validators that each check a single aspect of the request. Validators may chose to validate the whole obSubmitRequest or just a single JobSubmitRequestItem. This function will return the error from the first validator that fails, or nil if all validators pass.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.