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

# Functions

NewAddFunction creates a new http.Handler for the add function operation.
NewAddFunctionBadRequest creates AddFunctionBadRequest with default headers values.
NewAddFunctionConflict creates AddFunctionConflict with default headers values.
NewAddFunctionCreated creates AddFunctionCreated with default headers values.
NewAddFunctionDefault creates AddFunctionDefault with default headers values.
NewAddFunctionForbidden creates AddFunctionForbidden with default headers values.
NewAddFunctionParams creates a new AddFunctionParams object no default values defined in spec.
NewAddFunctionUnauthorized creates AddFunctionUnauthorized with default headers values.
NewDeleteFunction creates a new http.Handler for the delete function operation.
NewDeleteFunctionBadRequest creates DeleteFunctionBadRequest with default headers values.
NewDeleteFunctionDefault creates DeleteFunctionDefault with default headers values.
NewDeleteFunctionForbidden creates DeleteFunctionForbidden with default headers values.
NewDeleteFunctionNotFound creates DeleteFunctionNotFound with default headers values.
NewDeleteFunctionOK creates DeleteFunctionOK with default headers values.
NewDeleteFunctionParams creates a new DeleteFunctionParams object no default values defined in spec.
NewDeleteFunctionUnauthorized creates DeleteFunctionUnauthorized with default headers values.
NewGetFunction creates a new http.Handler for the get function operation.
NewGetFunctionBadRequest creates GetFunctionBadRequest with default headers values.
NewGetFunctionDefault creates GetFunctionDefault with default headers values.
NewGetFunctionForbidden creates GetFunctionForbidden with default headers values.
NewGetFunctionNotFound creates GetFunctionNotFound with default headers values.
NewGetFunctionOK creates GetFunctionOK with default headers values.
NewGetFunctionParams creates a new GetFunctionParams object no default values defined in spec.
NewGetFunctions creates a new http.Handler for the get functions operation.
NewGetFunctionsBadRequest creates GetFunctionsBadRequest with default headers values.
NewGetFunctionsDefault creates GetFunctionsDefault with default headers values.
NewGetFunctionsForbidden creates GetFunctionsForbidden with default headers values.
NewGetFunctionsOK creates GetFunctionsOK with default headers values.
NewGetFunctionsParams creates a new GetFunctionsParams object no default values defined in spec.
NewGetFunctionsUnauthorized creates GetFunctionsUnauthorized with default headers values.
NewGetFunctionUnauthorized creates GetFunctionUnauthorized with default headers values.
NewUpdateFunction creates a new http.Handler for the update function operation.
NewUpdateFunctionBadRequest creates UpdateFunctionBadRequest with default headers values.
NewUpdateFunctionDefault creates UpdateFunctionDefault with default headers values.
NewUpdateFunctionForbidden creates UpdateFunctionForbidden with default headers values.
NewUpdateFunctionNotFound creates UpdateFunctionNotFound with default headers values.
NewUpdateFunctionOK creates UpdateFunctionOK with default headers values.
NewUpdateFunctionParams creates a new UpdateFunctionParams object no default values defined in spec.
NewUpdateFunctionUnauthorized creates UpdateFunctionUnauthorized with default headers values.

# Constants

AddFunctionBadRequestCode is the HTTP code returned for type AddFunctionBadRequest.
AddFunctionConflictCode is the HTTP code returned for type AddFunctionConflict.
AddFunctionCreatedCode is the HTTP code returned for type AddFunctionCreated.
AddFunctionForbiddenCode is the HTTP code returned for type AddFunctionForbidden.
AddFunctionUnauthorizedCode is the HTTP code returned for type AddFunctionUnauthorized.
DeleteFunctionBadRequestCode is the HTTP code returned for type DeleteFunctionBadRequest.
DeleteFunctionForbiddenCode is the HTTP code returned for type DeleteFunctionForbidden.
DeleteFunctionNotFoundCode is the HTTP code returned for type DeleteFunctionNotFound.
DeleteFunctionOKCode is the HTTP code returned for type DeleteFunctionOK.
DeleteFunctionUnauthorizedCode is the HTTP code returned for type DeleteFunctionUnauthorized.
GetFunctionBadRequestCode is the HTTP code returned for type GetFunctionBadRequest.
GetFunctionForbiddenCode is the HTTP code returned for type GetFunctionForbidden.
GetFunctionNotFoundCode is the HTTP code returned for type GetFunctionNotFound.
GetFunctionOKCode is the HTTP code returned for type GetFunctionOK.
GetFunctionsBadRequestCode is the HTTP code returned for type GetFunctionsBadRequest.
GetFunctionsForbiddenCode is the HTTP code returned for type GetFunctionsForbidden.
GetFunctionsOKCode is the HTTP code returned for type GetFunctionsOK.
GetFunctionsUnauthorizedCode is the HTTP code returned for type GetFunctionsUnauthorized.
GetFunctionUnauthorizedCode is the HTTP code returned for type GetFunctionUnauthorized.
UpdateFunctionBadRequestCode is the HTTP code returned for type UpdateFunctionBadRequest.
UpdateFunctionForbiddenCode is the HTTP code returned for type UpdateFunctionForbidden.
UpdateFunctionNotFoundCode is the HTTP code returned for type UpdateFunctionNotFound.
UpdateFunctionOKCode is the HTTP code returned for type UpdateFunctionOK.
UpdateFunctionUnauthorizedCode is the HTTP code returned for type UpdateFunctionUnauthorized.

# Structs

AddFunction swagger:route POST /function Store addFunction Add a new function */.
AddFunctionBadRequest Invalid input swagger:response addFunctionBadRequest */.
AddFunctionConflict Already Exists swagger:response addFunctionConflict */.
AddFunctionCreated Function created swagger:response addFunctionCreated */.
AddFunctionDefault Unknown error swagger:response addFunctionDefault */.
AddFunctionForbidden access to this resource is forbidden swagger:response addFunctionForbidden */.
AddFunctionParams contains all the bound params for the add function operation typically these are obtained from a http.Request swagger:parameters addFunction.
AddFunctionUnauthorized Unauthorized Request swagger:response addFunctionUnauthorized */.
AddFunctionURL generates an URL for the add function operation.
DeleteFunction swagger:route DELETE /function/{functionName} Store deleteFunction Deletes a function */.
DeleteFunctionBadRequest Invalid Name supplied swagger:response deleteFunctionBadRequest */.
DeleteFunctionDefault Unknown error swagger:response deleteFunctionDefault */.
DeleteFunctionForbidden access to this resource is forbidden swagger:response deleteFunctionForbidden */.
DeleteFunctionNotFound Function not found swagger:response deleteFunctionNotFound */.
DeleteFunctionOK Successful operation swagger:response deleteFunctionOK */.
DeleteFunctionParams contains all the bound params for the delete function operation typically these are obtained from a http.Request swagger:parameters deleteFunction.
DeleteFunctionUnauthorized Unauthorized Request swagger:response deleteFunctionUnauthorized */.
DeleteFunctionURL generates an URL for the delete function operation.
GetFunction swagger:route GET /function/{functionName} Store getFunction Find function by Name Returns a single function */.
GetFunctionBadRequest Invalid Name supplied swagger:response getFunctionBadRequest */.
GetFunctionDefault Unknown error swagger:response getFunctionDefault */.
GetFunctionForbidden access to this resource is forbidden swagger:response getFunctionForbidden */.
GetFunctionNotFound Function not found swagger:response getFunctionNotFound */.
GetFunctionOK Successful operation swagger:response getFunctionOK */.
GetFunctionParams contains all the bound params for the get function operation typically these are obtained from a http.Request swagger:parameters getFunction.
GetFunctions swagger:route GET /function Store getFunctions List all existing functions */.
GetFunctionsBadRequest Invalid input swagger:response getFunctionsBadRequest */.
GetFunctionsDefault Unknown error swagger:response getFunctionsDefault */.
GetFunctionsForbidden access to this resource is forbidden swagger:response getFunctionsForbidden */.
GetFunctionsOK Successful operation swagger:response getFunctionsOK */.
GetFunctionsParams contains all the bound params for the get functions operation typically these are obtained from a http.Request swagger:parameters getFunctions.
GetFunctionsUnauthorized Unauthorized Request swagger:response getFunctionsUnauthorized */.
GetFunctionsURL generates an URL for the get functions operation.
GetFunctionUnauthorized Unauthorized Request swagger:response getFunctionUnauthorized */.
GetFunctionURL generates an URL for the get function operation.
UpdateFunction swagger:route PUT /function/{functionName} Store updateFunction Update a function */.
UpdateFunctionBadRequest Invalid input swagger:response updateFunctionBadRequest */.
UpdateFunctionDefault Unknown error swagger:response updateFunctionDefault */.
UpdateFunctionForbidden access to this resource is forbidden swagger:response updateFunctionForbidden */.
UpdateFunctionNotFound Function not found swagger:response updateFunctionNotFound */.
UpdateFunctionOK Successful update swagger:response updateFunctionOK */.
UpdateFunctionParams contains all the bound params for the update function operation typically these are obtained from a http.Request swagger:parameters updateFunction.
UpdateFunctionUnauthorized Unauthorized Request swagger:response updateFunctionUnauthorized */.
UpdateFunctionURL generates an URL for the update function operation.

# Interfaces

AddFunctionHandler interface for that can handle valid add function params.
DeleteFunctionHandler interface for that can handle valid delete function params.
GetFunctionHandler interface for that can handle valid get function params.
GetFunctionsHandler interface for that can handle valid get functions params.
UpdateFunctionHandler interface for that can handle valid update function params.

# Type aliases

AddFunctionHandlerFunc turns a function with the right signature into a add function handler.
DeleteFunctionHandlerFunc turns a function with the right signature into a delete function handler.
GetFunctionHandlerFunc turns a function with the right signature into a get function handler.
GetFunctionsHandlerFunc turns a function with the right signature into a get functions handler.
UpdateFunctionHandlerFunc turns a function with the right signature into a update function handler.