package
2.85.0+incompatible
Repository: https://github.com/transcom/mymove.git
Documentation: pkg.go.dev
# Functions
NewCreateOrders creates a new http.Handler for the create orders operation.
NewCreateOrdersBadRequest creates CreateOrdersBadRequest with default headers values.
NewCreateOrdersCreated creates CreateOrdersCreated with default headers values.
NewCreateOrdersForbidden creates CreateOrdersForbidden with default headers values.
NewCreateOrdersInternalServerError creates CreateOrdersInternalServerError with default headers values.
NewCreateOrdersParams creates a new CreateOrdersParams object
There are no default values defined in the spec.
NewCreateOrdersUnauthorized creates CreateOrdersUnauthorized with default headers values.
NewShowOrders creates a new http.Handler for the show orders operation.
NewShowOrdersBadRequest creates ShowOrdersBadRequest with default headers values.
NewShowOrdersForbidden creates ShowOrdersForbidden with default headers values.
NewShowOrdersInternalServerError creates ShowOrdersInternalServerError with default headers values.
NewShowOrdersNotFound creates ShowOrdersNotFound with default headers values.
NewShowOrdersOK creates ShowOrdersOK with default headers values.
NewShowOrdersParams creates a new ShowOrdersParams object
There are no default values defined in the spec.
NewShowOrdersUnauthorized creates ShowOrdersUnauthorized with default headers values.
NewUpdateOrders creates a new http.Handler for the update orders operation.
NewUpdateOrdersBadRequest creates UpdateOrdersBadRequest with default headers values.
NewUpdateOrdersForbidden creates UpdateOrdersForbidden with default headers values.
NewUpdateOrdersInternalServerError creates UpdateOrdersInternalServerError with default headers values.
NewUpdateOrdersNotFound creates UpdateOrdersNotFound with default headers values.
NewUpdateOrdersOK creates UpdateOrdersOK with default headers values.
NewUpdateOrdersParams creates a new UpdateOrdersParams object
There are no default values defined in the spec.
NewUpdateOrdersUnauthorized creates UpdateOrdersUnauthorized with default headers values.
NewUploadAmendedOrders creates a new http.Handler for the upload amended orders operation.
NewUploadAmendedOrdersBadRequest creates UploadAmendedOrdersBadRequest with default headers values.
NewUploadAmendedOrdersCreated creates UploadAmendedOrdersCreated with default headers values.
NewUploadAmendedOrdersForbidden creates UploadAmendedOrdersForbidden with default headers values.
NewUploadAmendedOrdersInternalServerError creates UploadAmendedOrdersInternalServerError with default headers values.
NewUploadAmendedOrdersNotFound creates UploadAmendedOrdersNotFound with default headers values.
NewUploadAmendedOrdersParams creates a new UploadAmendedOrdersParams object
There are no default values defined in the spec.
NewUploadAmendedOrdersRequestEntityTooLarge creates UploadAmendedOrdersRequestEntityTooLarge with default headers values.
# Constants
CreateOrdersBadRequestCode is the HTTP code returned for type CreateOrdersBadRequest.
CreateOrdersCreatedCode is the HTTP code returned for type CreateOrdersCreated.
CreateOrdersForbiddenCode is the HTTP code returned for type CreateOrdersForbidden.
CreateOrdersInternalServerErrorCode is the HTTP code returned for type CreateOrdersInternalServerError.
CreateOrdersUnauthorizedCode is the HTTP code returned for type CreateOrdersUnauthorized.
ShowOrdersBadRequestCode is the HTTP code returned for type ShowOrdersBadRequest.
ShowOrdersForbiddenCode is the HTTP code returned for type ShowOrdersForbidden.
ShowOrdersInternalServerErrorCode is the HTTP code returned for type ShowOrdersInternalServerError.
ShowOrdersNotFoundCode is the HTTP code returned for type ShowOrdersNotFound.
ShowOrdersOKCode is the HTTP code returned for type ShowOrdersOK.
ShowOrdersUnauthorizedCode is the HTTP code returned for type ShowOrdersUnauthorized.
UpdateOrdersBadRequestCode is the HTTP code returned for type UpdateOrdersBadRequest.
UpdateOrdersForbiddenCode is the HTTP code returned for type UpdateOrdersForbidden.
UpdateOrdersInternalServerErrorCode is the HTTP code returned for type UpdateOrdersInternalServerError.
UpdateOrdersNotFoundCode is the HTTP code returned for type UpdateOrdersNotFound.
UpdateOrdersOKCode is the HTTP code returned for type UpdateOrdersOK.
UpdateOrdersUnauthorizedCode is the HTTP code returned for type UpdateOrdersUnauthorized.
UploadAmendedOrdersBadRequestCode is the HTTP code returned for type UploadAmendedOrdersBadRequest.
UploadAmendedOrdersCreatedCode is the HTTP code returned for type UploadAmendedOrdersCreated.
UploadAmendedOrdersForbiddenCode is the HTTP code returned for type UploadAmendedOrdersForbidden.
UploadAmendedOrdersInternalServerErrorCode is the HTTP code returned for type UploadAmendedOrdersInternalServerError.
UploadAmendedOrdersNotFoundCode is the HTTP code returned for type UploadAmendedOrdersNotFound.
UploadAmendedOrdersRequestEntityTooLargeCode is the HTTP code returned for type UploadAmendedOrdersRequestEntityTooLarge.
# Variables
UploadAmendedOrdersMaxParseMemory sets the maximum size in bytes for the multipart form parser for this operation.
# Structs
CreateOrders swagger:route POST /orders orders createOrders
# Creates an orders model for a logged-in user
Creates an instance of orders tied to a service member
*/.
CreateOrdersBadRequest invalid request
swagger:response createOrdersBadRequest
*/.
CreateOrdersCreated created instance of orders
swagger:response createOrdersCreated
*/.
CreateOrdersForbidden user is not authorized
swagger:response createOrdersForbidden
*/.
CreateOrdersInternalServerError internal server error
swagger:response createOrdersInternalServerError
*/.
CreateOrdersParams contains all the bound params for the create orders operation typically these are obtained from a http.Request
swagger:parameters createOrders.
CreateOrdersUnauthorized request requires user authentication
swagger:response createOrdersUnauthorized
*/.
CreateOrdersURL generates an URL for the create orders operation.
ShowOrders swagger:route GET /orders/{ordersId} orders showOrders
# Returns the given order
Returns the given order
*/.
ShowOrdersBadRequest invalid request
swagger:response showOrdersBadRequest
*/.
ShowOrdersForbidden user is not authorized
swagger:response showOrdersForbidden
*/.
ShowOrdersInternalServerError internal server error
swagger:response showOrdersInternalServerError
*/.
ShowOrdersNotFound order is not found
swagger:response showOrdersNotFound
*/.
ShowOrdersOK the instance of the order
swagger:response showOrdersOK
*/.
ShowOrdersParams contains all the bound params for the show orders operation typically these are obtained from a http.Request
swagger:parameters showOrders.
ShowOrdersUnauthorized request requires user authentication
swagger:response showOrdersUnauthorized
*/.
ShowOrdersURL generates an URL for the show orders operation.
UpdateOrders swagger:route PUT /orders/{ordersId} orders updateOrders
# Updates orders
All fields sent in this request will be set on the orders referenced
*/.
UpdateOrdersBadRequest invalid request
swagger:response updateOrdersBadRequest
*/.
UpdateOrdersForbidden user is not authorized
swagger:response updateOrdersForbidden
*/.
UpdateOrdersInternalServerError internal server error
swagger:response updateOrdersInternalServerError
*/.
UpdateOrdersNotFound orders not found
swagger:response updateOrdersNotFound
*/.
UpdateOrdersOK updated instance of orders
swagger:response updateOrdersOK
*/.
UpdateOrdersParams contains all the bound params for the update orders operation typically these are obtained from a http.Request
swagger:parameters updateOrders.
UpdateOrdersUnauthorized request requires user authentication
swagger:response updateOrdersUnauthorized
*/.
UpdateOrdersURL generates an URL for the update orders operation.
UploadAmendedOrders swagger:route PATCH /orders/{ordersId}/upload_amended_orders orders uploadAmendedOrders
# Patch the amended orders for a given order
Patch the amended orders for a given order
*/.
UploadAmendedOrdersBadRequest invalid request
swagger:response uploadAmendedOrdersBadRequest
*/.
UploadAmendedOrdersCreated created upload
swagger:response uploadAmendedOrdersCreated
*/.
UploadAmendedOrdersForbidden not authorized
swagger:response uploadAmendedOrdersForbidden
*/.
UploadAmendedOrdersInternalServerError server error
swagger:response uploadAmendedOrdersInternalServerError
*/.
UploadAmendedOrdersNotFound not found
swagger:response uploadAmendedOrdersNotFound
*/.
UploadAmendedOrdersParams contains all the bound params for the upload amended orders operation typically these are obtained from a http.Request
swagger:parameters uploadAmendedOrders.
UploadAmendedOrdersRequestEntityTooLarge payload is too large
swagger:response uploadAmendedOrdersRequestEntityTooLarge
*/.
UploadAmendedOrdersURL generates an URL for the upload amended orders operation.
# Interfaces
CreateOrdersHandler interface for that can handle valid create orders params.
ShowOrdersHandler interface for that can handle valid show orders params.
UpdateOrdersHandler interface for that can handle valid update orders params.
UploadAmendedOrdersHandler interface for that can handle valid upload amended orders params.
# Type aliases
CreateOrdersHandlerFunc turns a function with the right signature into a create orders handler.
ShowOrdersHandlerFunc turns a function with the right signature into a show orders handler.
UpdateOrdersHandlerFunc turns a function with the right signature into a update orders handler.
UploadAmendedOrdersHandlerFunc turns a function with the right signature into a upload amended orders handler.