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

# Functions

DecodeListRequest returns a decoder for requests sent to the pipeline list endpoint.
DecodeProcessingRequest returns a decoder for requests sent to the pipeline processing endpoint.
DecodeShowRequest returns a decoder for requests sent to the pipeline show endpoint.
EncodeListResponse returns an encoder for responses returned by the pipeline list endpoint.
EncodeProcessingError returns an encoder for errors returned by the processing pipeline endpoint.
EncodeProcessingResponse returns an encoder for responses returned by the pipeline processing endpoint.
EncodeShowError returns an encoder for errors returned by the show pipeline endpoint.
EncodeShowResponse returns an encoder for responses returned by the pipeline show endpoint.
HandlePipelineOrigin applies the CORS response headers corresponding to the origin for the service pipeline.
ListPipelinePath returns the URL path to the pipeline service list HTTP endpoint.
Mount configures the mux to serve the pipeline endpoints.
MountCORSHandler configures the mux to serve the CORS endpoints for the service pipeline.
MountListHandler configures the mux to serve the "pipeline" service "list" endpoint.
MountProcessingHandler configures the mux to serve the "pipeline" service "processing" endpoint.
MountShowHandler configures the mux to serve the "pipeline" service "show" endpoint.
New instantiates HTTP handlers for all the pipeline service endpoints using the provided encoder and decoder.
NewCORSHandler creates a HTTP handler which returns a simple 200 response.
NewListHandler creates a HTTP handler which loads the HTTP request and calls the "pipeline" service "list" endpoint.
NewListPayload builds a pipeline service list endpoint payload.
NewListResponseBody builds the HTTP response body from the result of the "list" endpoint of the "pipeline" service.
NewProcessingHandler creates a HTTP handler which loads the HTTP request and calls the "pipeline" service "processing" endpoint.
NewProcessingNotFoundResponseBody builds the HTTP response body from the result of the "processing" endpoint of the "pipeline" service.
NewProcessingPayload builds a pipeline service processing endpoint payload.
NewShowHandler creates a HTTP handler which loads the HTTP request and calls the "pipeline" service "show" endpoint.
NewShowNotFoundResponseBody builds the HTTP response body from the result of the "show" endpoint of the "pipeline" service.
NewShowPayload builds a pipeline service show endpoint payload.
NewShowResponseBody builds the HTTP response body from the result of the "show" endpoint of the "pipeline" service.
ProcessingPipelinePath returns the URL path to the pipeline service processing HTTP endpoint.
ShowPipelinePath returns the URL path to the pipeline service show HTTP endpoint.

# Structs

EnduroStoredPipelineResponse is used to define fields on response body types.
MountPoint holds information about the mounted endpoints.
ProcessingNotFoundResponseBody is the type of the "pipeline" service "processing" endpoint HTTP response body for the "not_found" error.
Server lists the pipeline service endpoint HTTP handlers.
ShowNotFoundResponseBody is the type of the "pipeline" service "show" endpoint HTTP response body for the "not_found" error.
ShowResponseBody is the type of the "pipeline" service "show" endpoint HTTP response body.

# Type aliases

ListResponseBody is the type of the "pipeline" service "list" endpoint HTTP response body.