package
2.85.0+incompatible
Repository: https://github.com/transcom/mymove.git
Documentation: pkg.go.dev
# Functions
NewApproveMove creates a new http.Handler for the approve move operation.
NewApproveMoveBadRequest creates ApproveMoveBadRequest with default headers values.
NewApproveMoveConflict creates ApproveMoveConflict with default headers values.
NewApproveMoveForbidden creates ApproveMoveForbidden with default headers values.
NewApproveMoveInternalServerError creates ApproveMoveInternalServerError with default headers values.
NewApproveMoveOK creates ApproveMoveOK with default headers values.
NewApproveMoveParams creates a new ApproveMoveParams object
There are no default values defined in the spec.
NewApproveMoveUnauthorized creates ApproveMoveUnauthorized with default headers values.
NewApproveReimbursement creates a new http.Handler for the approve reimbursement operation.
NewApproveReimbursementBadRequest creates ApproveReimbursementBadRequest with default headers values.
NewApproveReimbursementForbidden creates ApproveReimbursementForbidden with default headers values.
NewApproveReimbursementInternalServerError creates ApproveReimbursementInternalServerError with default headers values.
NewApproveReimbursementOK creates ApproveReimbursementOK with default headers values.
NewApproveReimbursementParams creates a new ApproveReimbursementParams object
There are no default values defined in the spec.
NewApproveReimbursementUnauthorized creates ApproveReimbursementUnauthorized with default headers values.
NewCancelMove creates a new http.Handler for the cancel move operation.
NewCancelMoveBadRequest creates CancelMoveBadRequest with default headers values.
NewCancelMoveConflict creates CancelMoveConflict with default headers values.
NewCancelMoveForbidden creates CancelMoveForbidden with default headers values.
NewCancelMoveInternalServerError creates CancelMoveInternalServerError with default headers values.
NewCancelMoveOK creates CancelMoveOK with default headers values.
NewCancelMoveParams creates a new CancelMoveParams object
There are no default values defined in the spec.
NewCancelMoveUnauthorized creates CancelMoveUnauthorized with default headers values.
NewShowOfficeOrders creates a new http.Handler for the show office orders operation.
NewShowOfficeOrdersBadRequest creates ShowOfficeOrdersBadRequest with default headers values.
NewShowOfficeOrdersForbidden creates ShowOfficeOrdersForbidden with default headers values.
NewShowOfficeOrdersInternalServerError creates ShowOfficeOrdersInternalServerError with default headers values.
NewShowOfficeOrdersNotFound creates ShowOfficeOrdersNotFound with default headers values.
NewShowOfficeOrdersOK creates ShowOfficeOrdersOK with default headers values.
NewShowOfficeOrdersParams creates a new ShowOfficeOrdersParams object
There are no default values defined in the spec.
NewShowOfficeOrdersUnauthorized creates ShowOfficeOrdersUnauthorized with default headers values.
# Constants
ApproveMoveBadRequestCode is the HTTP code returned for type ApproveMoveBadRequest.
ApproveMoveConflictCode is the HTTP code returned for type ApproveMoveConflict.
ApproveMoveForbiddenCode is the HTTP code returned for type ApproveMoveForbidden.
ApproveMoveInternalServerErrorCode is the HTTP code returned for type ApproveMoveInternalServerError.
ApproveMoveOKCode is the HTTP code returned for type ApproveMoveOK.
ApproveMoveUnauthorizedCode is the HTTP code returned for type ApproveMoveUnauthorized.
ApproveReimbursementBadRequestCode is the HTTP code returned for type ApproveReimbursementBadRequest.
ApproveReimbursementForbiddenCode is the HTTP code returned for type ApproveReimbursementForbidden.
ApproveReimbursementInternalServerErrorCode is the HTTP code returned for type ApproveReimbursementInternalServerError.
ApproveReimbursementOKCode is the HTTP code returned for type ApproveReimbursementOK.
ApproveReimbursementUnauthorizedCode is the HTTP code returned for type ApproveReimbursementUnauthorized.
CancelMoveBadRequestCode is the HTTP code returned for type CancelMoveBadRequest.
CancelMoveConflictCode is the HTTP code returned for type CancelMoveConflict.
CancelMoveForbiddenCode is the HTTP code returned for type CancelMoveForbidden.
CancelMoveInternalServerErrorCode is the HTTP code returned for type CancelMoveInternalServerError.
CancelMoveOKCode is the HTTP code returned for type CancelMoveOK.
CancelMoveUnauthorizedCode is the HTTP code returned for type CancelMoveUnauthorized.
ShowOfficeOrdersBadRequestCode is the HTTP code returned for type ShowOfficeOrdersBadRequest.
ShowOfficeOrdersForbiddenCode is the HTTP code returned for type ShowOfficeOrdersForbidden.
ShowOfficeOrdersInternalServerErrorCode is the HTTP code returned for type ShowOfficeOrdersInternalServerError.
ShowOfficeOrdersNotFoundCode is the HTTP code returned for type ShowOfficeOrdersNotFound.
ShowOfficeOrdersOKCode is the HTTP code returned for type ShowOfficeOrdersOK.
ShowOfficeOrdersUnauthorizedCode is the HTTP code returned for type ShowOfficeOrdersUnauthorized.
# Structs
ApproveMove swagger:route POST /moves/{moveId}/approve office approveMove
# Approves a move to proceed
Approves the basic details of a move.
ApproveMoveBadRequest invalid request
swagger:response approveMoveBadRequest
*/.
ApproveMoveConflict the move is not in a state to be approved
swagger:response approveMoveConflict
*/.
ApproveMoveForbidden not authorized to approve this move
swagger:response approveMoveForbidden
*/.
ApproveMoveInternalServerError server error
swagger:response approveMoveInternalServerError
*/.
ApproveMoveOK returns updated (approved) move object
swagger:response approveMoveOK
*/.
ApproveMoveParams contains all the bound params for the approve move operation typically these are obtained from a http.Request
swagger:parameters approveMove.
ApproveMoveUnauthorized must be authenticated to use this endpoint
swagger:response approveMoveUnauthorized
*/.
ApproveMoveURL generates an URL for the approve move operation.
ApproveReimbursement swagger:route POST /reimbursement/{reimbursementId}/approve office approveReimbursement
# Approves the reimbursement
Sets the status of the reimbursement to APPROVED.
ApproveReimbursementBadRequest invalid request
swagger:response approveReimbursementBadRequest
*/.
ApproveReimbursementForbidden user is not authorized
swagger:response approveReimbursementForbidden
*/.
ApproveReimbursementInternalServerError internal server error
swagger:response approveReimbursementInternalServerError
*/.
ApproveReimbursementOK updated instance of reimbursement
swagger:response approveReimbursementOK
*/.
ApproveReimbursementParams contains all the bound params for the approve reimbursement operation typically these are obtained from a http.Request
swagger:parameters approveReimbursement.
ApproveReimbursementUnauthorized request requires user authentication
swagger:response approveReimbursementUnauthorized
*/.
ApproveReimbursementURL generates an URL for the approve reimbursement operation.
CancelMove swagger:route POST /moves/{moveId}/cancel office cancelMove
# Cancels a move
Cancels the basic details of a move.
CancelMoveBadRequest invalid request
swagger:response cancelMoveBadRequest
*/.
CancelMoveConflict the move is not in a state to be canceled
swagger:response cancelMoveConflict
*/.
CancelMoveForbidden not authorized to cancel this move
swagger:response cancelMoveForbidden
*/.
CancelMoveInternalServerError server error
swagger:response cancelMoveInternalServerError
*/.
CancelMoveOK returns updated (canceled) move object
swagger:response cancelMoveOK
*/.
CancelMoveParams contains all the bound params for the cancel move operation typically these are obtained from a http.Request
swagger:parameters cancelMove.
CancelMoveUnauthorized must be authenticated to use this endpoint
swagger:response cancelMoveUnauthorized
*/.
CancelMoveURL generates an URL for the cancel move operation.
ShowOfficeOrders swagger:route GET /moves/{moveId}/orders office showOfficeOrders
# Returns orders information for a move for office use
Returns orders information for a move for office use
*/.
ShowOfficeOrdersBadRequest invalid request
swagger:response showOfficeOrdersBadRequest
*/.
ShowOfficeOrdersForbidden user is not authorized
swagger:response showOfficeOrdersForbidden
*/.
ShowOfficeOrdersInternalServerError internal server error
swagger:response showOfficeOrdersInternalServerError
*/.
ShowOfficeOrdersNotFound move not found
swagger:response showOfficeOrdersNotFound
*/.
ShowOfficeOrdersOK the orders information for a move for office use
swagger:response showOfficeOrdersOK
*/.
ShowOfficeOrdersParams contains all the bound params for the show office orders operation typically these are obtained from a http.Request
swagger:parameters showOfficeOrders.
ShowOfficeOrdersUnauthorized request requires user authentication
swagger:response showOfficeOrdersUnauthorized
*/.
ShowOfficeOrdersURL generates an URL for the show office orders operation.
# Interfaces
ApproveMoveHandler interface for that can handle valid approve move params.
ApproveReimbursementHandler interface for that can handle valid approve reimbursement params.
CancelMoveHandler interface for that can handle valid cancel move params.
ShowOfficeOrdersHandler interface for that can handle valid show office orders params.
# Type aliases
ApproveMoveHandlerFunc turns a function with the right signature into a approve move handler.
ApproveReimbursementHandlerFunc turns a function with the right signature into a approve reimbursement handler.
CancelMoveHandlerFunc turns a function with the right signature into a cancel move handler.
ShowOfficeOrdersHandlerFunc turns a function with the right signature into a show office orders handler.