package
0.41.9
Repository: https://github.com/artefactual-labs/enduro.git
Documentation: pkg.go.dev

# Functions

BuildSubmitPayload builds the payload for the batch submit endpoint from CLI flags.
DecodeHintsResponse returns a decoder for responses returned by the batch hints endpoint.
DecodeStatusResponse returns a decoder for responses returned by the batch status endpoint.
DecodeSubmitResponse returns a decoder for responses returned by the batch submit endpoint.
EncodeSubmitRequest returns an encoder for requests sent to the batch submit server.
HintsBatchPath returns the URL path to the batch service hints HTTP endpoint.
NewClient instantiates HTTP clients for all the batch service servers.
NewHintsBatchHintsResultOK builds a "batch" service "hints" endpoint result from a HTTP "OK" response.
NewStatusBatchStatusResultOK builds a "batch" service "status" endpoint result from a HTTP "OK" response.
NewSubmitBatchResultAccepted builds a "batch" service "submit" endpoint result from a HTTP "Accepted" response.
NewSubmitNotAvailable builds a batch service submit endpoint not_available error.
NewSubmitNotValid builds a batch service submit endpoint not_valid error.
NewSubmitRequestBody builds the HTTP request body from the payload of the "submit" endpoint of the "batch" service.
StatusBatchPath returns the URL path to the batch service status HTTP endpoint.
SubmitBatchPath returns the URL path to the batch service submit HTTP endpoint.
ValidateStatusResponseBody runs the validations defined on StatusResponseBody.
ValidateSubmitNotAvailableResponseBody runs the validations defined on submit_not_available_response_body.
ValidateSubmitNotValidResponseBody runs the validations defined on submit_not_valid_response_body.
ValidateSubmitResponseBody runs the validations defined on SubmitResponseBody.

# Structs

Client lists the batch service endpoint HTTP clients.
HintsResponseBody is the type of the "batch" service "hints" endpoint HTTP response body.
StatusResponseBody is the type of the "batch" service "status" endpoint HTTP response body.
SubmitNotAvailableResponseBody is the type of the "batch" service "submit" endpoint HTTP response body for the "not_available" error.
SubmitNotValidResponseBody is the type of the "batch" service "submit" endpoint HTTP response body for the "not_valid" error.
SubmitRequestBody is the type of the "batch" service "submit" endpoint HTTP request body.
SubmitResponseBody is the type of the "batch" service "submit" endpoint HTTP response body.