package
0.2.0-alpha
Repository: https://github.com/vmware-archive/dispatch.git
Documentation: pkg.go.dev

# Functions

NewGetRun creates a new http.Handler for the get run operation.
NewGetRunBadRequest creates GetRunBadRequest with default headers values.
NewGetRunDefault creates GetRunDefault with default headers values.
NewGetRunForbidden creates GetRunForbidden with default headers values.
NewGetRunNotFound creates GetRunNotFound with default headers values.
NewGetRunOK creates GetRunOK with default headers values.
NewGetRunParams creates a new GetRunParams object no default values defined in spec.
NewGetRuns creates a new http.Handler for the get runs operation.
NewGetRunsBadRequest creates GetRunsBadRequest with default headers values.
NewGetRunsDefault creates GetRunsDefault with default headers values.
NewGetRunsForbidden creates GetRunsForbidden with default headers values.
NewGetRunsNotFound creates GetRunsNotFound with default headers values.
NewGetRunsOK creates GetRunsOK with default headers values.
NewGetRunsParams creates a new GetRunsParams object no default values defined in spec.
NewGetRunsUnauthorized creates GetRunsUnauthorized with default headers values.
NewGetRunUnauthorized creates GetRunUnauthorized with default headers values.
NewRunFunction creates a new http.Handler for the run function operation.
NewRunFunctionAccepted creates RunFunctionAccepted with default headers values.
NewRunFunctionBadGateway creates RunFunctionBadGateway with default headers values.
NewRunFunctionBadRequest creates RunFunctionBadRequest with default headers values.
NewRunFunctionDefault creates RunFunctionDefault with default headers values.
NewRunFunctionForbidden creates RunFunctionForbidden with default headers values.
NewRunFunctionNotFound creates RunFunctionNotFound with default headers values.
NewRunFunctionOK creates RunFunctionOK with default headers values.
NewRunFunctionParams creates a new RunFunctionParams object no default values defined in spec.
NewRunFunctionUnauthorized creates RunFunctionUnauthorized with default headers values.
NewRunFunctionUnprocessableEntity creates RunFunctionUnprocessableEntity with default headers values.

# Constants

GetRunBadRequestCode is the HTTP code returned for type GetRunBadRequest.
GetRunForbiddenCode is the HTTP code returned for type GetRunForbidden.
GetRunNotFoundCode is the HTTP code returned for type GetRunNotFound.
GetRunOKCode is the HTTP code returned for type GetRunOK.
GetRunsBadRequestCode is the HTTP code returned for type GetRunsBadRequest.
GetRunsForbiddenCode is the HTTP code returned for type GetRunsForbidden.
GetRunsNotFoundCode is the HTTP code returned for type GetRunsNotFound.
GetRunsOKCode is the HTTP code returned for type GetRunsOK.
GetRunsUnauthorizedCode is the HTTP code returned for type GetRunsUnauthorized.
GetRunUnauthorizedCode is the HTTP code returned for type GetRunUnauthorized.
RunFunctionAcceptedCode is the HTTP code returned for type RunFunctionAccepted.
RunFunctionBadGatewayCode is the HTTP code returned for type RunFunctionBadGateway.
RunFunctionBadRequestCode is the HTTP code returned for type RunFunctionBadRequest.
RunFunctionForbiddenCode is the HTTP code returned for type RunFunctionForbidden.
RunFunctionNotFoundCode is the HTTP code returned for type RunFunctionNotFound.
RunFunctionOKCode is the HTTP code returned for type RunFunctionOK.
RunFunctionUnauthorizedCode is the HTTP code returned for type RunFunctionUnauthorized.
RunFunctionUnprocessableEntityCode is the HTTP code returned for type RunFunctionUnprocessableEntity.

# Structs

GetRun swagger:route GET /runs/{runName} Runner getRun Get function run by its name */.
GetRunBadRequest Bad Request swagger:response getRunBadRequest */.
GetRunDefault Unknown error swagger:response getRunDefault */.
GetRunForbidden access to this resource is forbidden swagger:response getRunForbidden */.
GetRunNotFound Function or Run not found swagger:response getRunNotFound */.
GetRunOK Function Run swagger:response getRunOK */.
GetRunParams contains all the bound params for the get run operation typically these are obtained from a http.Request swagger:parameters getRun.
GetRuns swagger:route GET /runs Runner getRuns Get function runs that are being executed */.
GetRunsBadRequest Invalid input swagger:response getRunsBadRequest */.
GetRunsDefault Unknown error swagger:response getRunsDefault */.
GetRunsForbidden access to this resource is forbidden swagger:response getRunsForbidden */.
GetRunsNotFound Function not found swagger:response getRunsNotFound */.
GetRunsOK List of function runs swagger:response getRunsOK */.
GetRunsParams contains all the bound params for the get runs operation typically these are obtained from a http.Request swagger:parameters getRuns.
GetRunsUnauthorized Unauthorized Request swagger:response getRunsUnauthorized */.
GetRunsURL generates an URL for the get runs operation.
GetRunUnauthorized Unauthorized Request swagger:response getRunUnauthorized */.
GetRunURL generates an URL for the get run operation.
RunFunction swagger:route POST /runs Runner runFunction Run a function */.
RunFunctionAccepted Execution started (non-blocking call) swagger:response runFunctionAccepted */.
RunFunctionBadGateway Function error occurred (blocking call) swagger:response runFunctionBadGateway */.
RunFunctionBadRequest User error swagger:response runFunctionBadRequest */.
RunFunctionDefault Unknown error swagger:response runFunctionDefault */.
RunFunctionForbidden access to this resource is forbidden swagger:response runFunctionForbidden */.
RunFunctionNotFound Function not found swagger:response runFunctionNotFound */.
RunFunctionOK Successful execution (blocking call) swagger:response runFunctionOK */.
RunFunctionParams contains all the bound params for the run function operation typically these are obtained from a http.Request swagger:parameters runFunction.
RunFunctionUnauthorized Unauthorized Request swagger:response runFunctionUnauthorized */.
RunFunctionUnprocessableEntity Input object validation failed swagger:response runFunctionUnprocessableEntity */.
RunFunctionURL generates an URL for the run function operation.

# Interfaces

GetRunHandler interface for that can handle valid get run params.
GetRunsHandler interface for that can handle valid get runs params.
RunFunctionHandler interface for that can handle valid run function params.

# Type aliases

GetRunHandlerFunc turns a function with the right signature into a get run handler.
GetRunsHandlerFunc turns a function with the right signature into a get runs handler.
RunFunctionHandlerFunc turns a function with the right signature into a run function handler.