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

# Functions

NewAddAPI creates a new http.Handler for the add API operation.
NewAddAPIBadRequest creates AddAPIBadRequest with default headers values.
NewAddAPIConflict creates AddAPIConflict with default headers values.
NewAddAPIDefault creates AddAPIDefault with default headers values.
NewAddAPIForbidden creates AddAPIForbidden with default headers values.
NewAddAPIOK creates AddAPIOK with default headers values.
NewAddAPIParams creates a new AddAPIParams object no default values defined in spec.
NewAddAPIUnauthorized creates AddAPIUnauthorized with default headers values.
NewDeleteAPI creates a new http.Handler for the delete API operation.
NewDeleteAPIBadRequest creates DeleteAPIBadRequest with default headers values.
NewDeleteAPIDefault creates DeleteAPIDefault with default headers values.
NewDeleteAPIForbidden creates DeleteAPIForbidden with default headers values.
NewDeleteAPINotFound creates DeleteAPINotFound with default headers values.
NewDeleteAPIOK creates DeleteAPIOK with default headers values.
NewDeleteAPIParams creates a new DeleteAPIParams object no default values defined in spec.
NewDeleteAPIUnauthorized creates DeleteAPIUnauthorized with default headers values.
NewGetAPI creates a new http.Handler for the get API operation.
NewGetAPIBadRequest creates GetAPIBadRequest with default headers values.
NewGetAPIDefault creates GetAPIDefault with default headers values.
NewGetAPIForbidden creates GetAPIForbidden with default headers values.
NewGetAPINotFound creates GetAPINotFound with default headers values.
NewGetAPIOK creates GetAPIOK with default headers values.
NewGetAPIParams creates a new GetAPIParams object no default values defined in spec.
NewGetApis creates a new http.Handler for the get apis operation.
NewGetApisDefault creates GetApisDefault with default headers values.
NewGetApisForbidden creates GetApisForbidden with default headers values.
NewGetApisOK creates GetApisOK with default headers values.
NewGetApisParams creates a new GetApisParams object no default values defined in spec.
NewGetApisUnauthorized creates GetApisUnauthorized with default headers values.
NewGetAPIUnauthorized creates GetAPIUnauthorized with default headers values.
NewUpdateAPI creates a new http.Handler for the update API operation.
NewUpdateAPIBadRequest creates UpdateAPIBadRequest with default headers values.
NewUpdateAPIDefault creates UpdateAPIDefault with default headers values.
NewUpdateAPIForbidden creates UpdateAPIForbidden with default headers values.
NewUpdateAPINotFound creates UpdateAPINotFound with default headers values.
NewUpdateAPIOK creates UpdateAPIOK with default headers values.
NewUpdateAPIParams creates a new UpdateAPIParams object no default values defined in spec.
NewUpdateAPIUnauthorized creates UpdateAPIUnauthorized with default headers values.

# Constants

AddAPIBadRequestCode is the HTTP code returned for type AddAPIBadRequest.
AddAPIConflictCode is the HTTP code returned for type AddAPIConflict.
AddAPIForbiddenCode is the HTTP code returned for type AddAPIForbidden.
AddAPIOKCode is the HTTP code returned for type AddAPIOK.
AddAPIUnauthorizedCode is the HTTP code returned for type AddAPIUnauthorized.
DeleteAPIBadRequestCode is the HTTP code returned for type DeleteAPIBadRequest.
DeleteAPIForbiddenCode is the HTTP code returned for type DeleteAPIForbidden.
DeleteAPINotFoundCode is the HTTP code returned for type DeleteAPINotFound.
DeleteAPIOKCode is the HTTP code returned for type DeleteAPIOK.
DeleteAPIUnauthorizedCode is the HTTP code returned for type DeleteAPIUnauthorized.
GetAPIBadRequestCode is the HTTP code returned for type GetAPIBadRequest.
GetAPIForbiddenCode is the HTTP code returned for type GetAPIForbidden.
GetAPINotFoundCode is the HTTP code returned for type GetAPINotFound.
GetAPIOKCode is the HTTP code returned for type GetAPIOK.
GetApisForbiddenCode is the HTTP code returned for type GetApisForbidden.
GetApisOKCode is the HTTP code returned for type GetApisOK.
GetApisUnauthorizedCode is the HTTP code returned for type GetApisUnauthorized.
GetAPIUnauthorizedCode is the HTTP code returned for type GetAPIUnauthorized.
UpdateAPIBadRequestCode is the HTTP code returned for type UpdateAPIBadRequest.
UpdateAPIForbiddenCode is the HTTP code returned for type UpdateAPIForbidden.
UpdateAPINotFoundCode is the HTTP code returned for type UpdateAPINotFound.
UpdateAPIOKCode is the HTTP code returned for type UpdateAPIOK.
UpdateAPIUnauthorizedCode is the HTTP code returned for type UpdateAPIUnauthorized.

# Structs

AddAPI swagger:route POST / endpoint addApi Add a new API */.
AddAPIBadRequest Invalid Input swagger:response addApiBadRequest */.
AddAPIConflict Already Exists swagger:response addApiConflict */.
AddAPIDefault Unknown error swagger:response addApiDefault */.
AddAPIForbidden access to this resource is forbidden swagger:response addApiForbidden */.
AddAPIOK API created swagger:response addApiOK */.
AddAPIParams contains all the bound params for the add API operation typically these are obtained from a http.Request swagger:parameters addAPI.
AddAPIUnauthorized Unauthorized Request swagger:response addApiUnauthorized */.
AddAPIURL generates an URL for the add API operation.
DeleteAPI swagger:route DELETE /{api} endpoint deleteApi Deletes an API */.
DeleteAPIBadRequest Invalid Name supplied swagger:response deleteApiBadRequest */.
DeleteAPIDefault Unknown error swagger:response deleteApiDefault */.
DeleteAPIForbidden access to this resource is forbidden swagger:response deleteApiForbidden */.
DeleteAPINotFound API not found swagger:response deleteApiNotFound */.
DeleteAPIOK Successful operation swagger:response deleteApiOK */.
DeleteAPIParams contains all the bound params for the delete API operation typically these are obtained from a http.Request swagger:parameters deleteAPI.
DeleteAPIUnauthorized Unauthorized Request swagger:response deleteApiUnauthorized */.
DeleteAPIURL generates an URL for the delete API operation.
GetAPI swagger:route GET /{api} endpoint getApi Find API by name get an API by name */.
GetAPIBadRequest Invalid Name supplied swagger:response getApiBadRequest */.
GetAPIDefault Unknown error swagger:response getApiDefault */.
GetAPIForbidden access to this resource is forbidden swagger:response getApiForbidden */.
GetAPINotFound API not found swagger:response getApiNotFound */.
GetAPIOK Successful operation swagger:response getApiOK */.
GetAPIParams contains all the bound params for the get API operation typically these are obtained from a http.Request swagger:parameters getAPI.
GetApis swagger:route GET / endpoint getApis List all existing APIs */.
GetApisDefault Unexpected Error swagger:response getApisDefault */.
GetApisForbidden access to this resource is forbidden swagger:response getApisForbidden */.
GetApisOK Successful operation swagger:response getApisOK */.
GetApisParams contains all the bound params for the get apis operation typically these are obtained from a http.Request swagger:parameters getAPIs.
GetApisUnauthorized Unauthorized Request swagger:response getApisUnauthorized */.
GetApisURL generates an URL for the get apis operation.
GetAPIUnauthorized Unauthorized Request swagger:response getApiUnauthorized */.
GetAPIURL generates an URL for the get API operation.
UpdateAPI swagger:route PUT /{api} endpoint updateApi Update an API */.
UpdateAPIBadRequest Invalid input swagger:response updateApiBadRequest */.
UpdateAPIDefault Unknown error swagger:response updateApiDefault */.
UpdateAPIForbidden access to this resource is forbidden swagger:response updateApiForbidden */.
UpdateAPINotFound API not found swagger:response updateApiNotFound */.
UpdateAPIOK Successful update swagger:response updateApiOK */.
UpdateAPIParams contains all the bound params for the update API operation typically these are obtained from a http.Request swagger:parameters updateAPI.
UpdateAPIUnauthorized Unauthorized Request swagger:response updateApiUnauthorized */.
UpdateAPIURL generates an URL for the update API operation.

# Interfaces

AddAPIHandler interface for that can handle valid add API params.
DeleteAPIHandler interface for that can handle valid delete API params.
GetAPIHandler interface for that can handle valid get API params.
GetApisHandler interface for that can handle valid get apis params.
UpdateAPIHandler interface for that can handle valid update API params.

# Type aliases

AddAPIHandlerFunc turns a function with the right signature into a add API handler.
DeleteAPIHandlerFunc turns a function with the right signature into a delete API handler.
GetAPIHandlerFunc turns a function with the right signature into a get API handler.
GetApisHandlerFunc turns a function with the right signature into a get apis handler.
UpdateAPIHandlerFunc turns a function with the right signature into a update API handler.