package
0.2.0-alpha
Repository: https://github.com/vmware-archive/dispatch.git
Documentation: pkg.go.dev
# Functions
NewAddImage creates a new http.Handler for the add image operation.
NewAddImageBadRequest creates AddImageBadRequest with default headers values.
NewAddImageConflict creates AddImageConflict with default headers values.
NewAddImageCreated creates AddImageCreated with default headers values.
NewAddImageDefault creates AddImageDefault with default headers values.
NewAddImageForbidden creates AddImageForbidden with default headers values.
NewAddImageParams creates a new AddImageParams object no default values defined in spec.
NewAddImageUnauthorized creates AddImageUnauthorized with default headers values.
NewDeleteImageByName creates a new http.Handler for the delete image by name operation.
NewDeleteImageByNameBadRequest creates DeleteImageByNameBadRequest with default headers values.
NewDeleteImageByNameDefault creates DeleteImageByNameDefault with default headers values.
NewDeleteImageByNameForbidden creates DeleteImageByNameForbidden with default headers values.
NewDeleteImageByNameNotFound creates DeleteImageByNameNotFound with default headers values.
NewDeleteImageByNameOK creates DeleteImageByNameOK with default headers values.
NewDeleteImageByNameParams creates a new DeleteImageByNameParams object no default values defined in spec.
NewDeleteImageByNameUnauthorized creates DeleteImageByNameUnauthorized with default headers values.
NewGetImageByName creates a new http.Handler for the get image by name operation.
NewGetImageByNameBadRequest creates GetImageByNameBadRequest with default headers values.
NewGetImageByNameDefault creates GetImageByNameDefault with default headers values.
NewGetImageByNameForbidden creates GetImageByNameForbidden with default headers values.
NewGetImageByNameNotFound creates GetImageByNameNotFound with default headers values.
NewGetImageByNameOK creates GetImageByNameOK with default headers values.
NewGetImageByNameParams creates a new GetImageByNameParams object no default values defined in spec.
NewGetImageByNameUnauthorized creates GetImageByNameUnauthorized with default headers values.
NewGetImages creates a new http.Handler for the get images operation.
NewGetImagesBadRequest creates GetImagesBadRequest with default headers values.
NewGetImagesDefault creates GetImagesDefault with default headers values.
NewGetImagesForbidden creates GetImagesForbidden with default headers values.
NewGetImagesOK creates GetImagesOK with default headers values.
NewGetImagesParams creates a new GetImagesParams object no default values defined in spec.
NewGetImagesUnauthorized creates GetImagesUnauthorized with default headers values.
NewUpdateImageByName creates a new http.Handler for the update image by name operation.
NewUpdateImageByNameBadRequest creates UpdateImageByNameBadRequest with default headers values.
NewUpdateImageByNameDefault creates UpdateImageByNameDefault with default headers values.
NewUpdateImageByNameForbidden creates UpdateImageByNameForbidden with default headers values.
NewUpdateImageByNameNotFound creates UpdateImageByNameNotFound with default headers values.
NewUpdateImageByNameOK creates UpdateImageByNameOK with default headers values.
NewUpdateImageByNameParams creates a new UpdateImageByNameParams object no default values defined in spec.
NewUpdateImageByNameUnauthorized creates UpdateImageByNameUnauthorized with default headers values.
# Constants
AddImageBadRequestCode is the HTTP code returned for type AddImageBadRequest.
AddImageConflictCode is the HTTP code returned for type AddImageConflict.
AddImageCreatedCode is the HTTP code returned for type AddImageCreated.
AddImageForbiddenCode is the HTTP code returned for type AddImageForbidden.
AddImageUnauthorizedCode is the HTTP code returned for type AddImageUnauthorized.
DeleteImageByNameBadRequestCode is the HTTP code returned for type DeleteImageByNameBadRequest.
DeleteImageByNameForbiddenCode is the HTTP code returned for type DeleteImageByNameForbidden.
DeleteImageByNameNotFoundCode is the HTTP code returned for type DeleteImageByNameNotFound.
DeleteImageByNameOKCode is the HTTP code returned for type DeleteImageByNameOK.
DeleteImageByNameUnauthorizedCode is the HTTP code returned for type DeleteImageByNameUnauthorized.
GetImageByNameBadRequestCode is the HTTP code returned for type GetImageByNameBadRequest.
GetImageByNameForbiddenCode is the HTTP code returned for type GetImageByNameForbidden.
GetImageByNameNotFoundCode is the HTTP code returned for type GetImageByNameNotFound.
GetImageByNameOKCode is the HTTP code returned for type GetImageByNameOK.
GetImageByNameUnauthorizedCode is the HTTP code returned for type GetImageByNameUnauthorized.
GetImagesBadRequestCode is the HTTP code returned for type GetImagesBadRequest.
GetImagesForbiddenCode is the HTTP code returned for type GetImagesForbidden.
GetImagesOKCode is the HTTP code returned for type GetImagesOK.
GetImagesUnauthorizedCode is the HTTP code returned for type GetImagesUnauthorized.
UpdateImageByNameBadRequestCode is the HTTP code returned for type UpdateImageByNameBadRequest.
UpdateImageByNameForbiddenCode is the HTTP code returned for type UpdateImageByNameForbidden.
UpdateImageByNameNotFoundCode is the HTTP code returned for type UpdateImageByNameNotFound.
UpdateImageByNameOKCode is the HTTP code returned for type UpdateImageByNameOK.
UpdateImageByNameUnauthorizedCode is the HTTP code returned for type UpdateImageByNameUnauthorized.
# Structs
AddImage swagger:route POST /image image addImage
Add a new image
*/.
AddImageBadRequest Invalid input
swagger:response addImageBadRequest
*/.
AddImageConflict Already Exists
swagger:response addImageConflict
*/.
AddImageCreated created
swagger:response addImageCreated
*/.
AddImageDefault Generic error response
swagger:response addImageDefault
*/.
AddImageForbidden access to this resource is forbidden
swagger:response addImageForbidden
*/.
AddImageParams contains all the bound params for the add image operation typically these are obtained from a http.Request
swagger:parameters addImage.
AddImageUnauthorized Unauthorized Request
swagger:response addImageUnauthorized
*/.
AddImageURL generates an URL for the add image operation.
DeleteImageByName swagger:route DELETE /image/{imageName} image deleteImageByName
Deletes an image
*/.
DeleteImageByNameBadRequest Invalid ID supplied
swagger:response deleteImageByNameBadRequest
*/.
DeleteImageByNameDefault Generic error response
swagger:response deleteImageByNameDefault
*/.
DeleteImageByNameForbidden access to this resource is forbidden
swagger:response deleteImageByNameForbidden
*/.
DeleteImageByNameNotFound Image not found
swagger:response deleteImageByNameNotFound
*/.
DeleteImageByNameOK successful operation
swagger:response deleteImageByNameOK
*/.
DeleteImageByNameParams contains all the bound params for the delete image by name operation typically these are obtained from a http.Request
swagger:parameters deleteImageByName.
DeleteImageByNameUnauthorized Unauthorized Request
swagger:response deleteImageByNameUnauthorized
*/.
DeleteImageByNameURL generates an URL for the delete image by name operation.
GetImageByName swagger:route GET /image/{imageName} image getImageByName
Find image by ID
Returns a single image
*/.
GetImageByNameBadRequest Invalid ID supplied
swagger:response getImageByNameBadRequest
*/.
GetImageByNameDefault Generic error response
swagger:response getImageByNameDefault
*/.
GetImageByNameForbidden access to this resource is forbidden
swagger:response getImageByNameForbidden
*/.
GetImageByNameNotFound Image not found
swagger:response getImageByNameNotFound
*/.
GetImageByNameOK successful operation
swagger:response getImageByNameOK
*/.
GetImageByNameParams contains all the bound params for the get image by name operation typically these are obtained from a http.Request
swagger:parameters getImageByName.
GetImageByNameUnauthorized Unauthorized Request
swagger:response getImageByNameUnauthorized
*/.
GetImageByNameURL generates an URL for the get image by name operation.
GetImages swagger:route GET /image image getImages
Get all images
List all images
*/.
GetImagesBadRequest Invalid input
swagger:response getImagesBadRequest
*/.
GetImagesDefault Generic error response
swagger:response getImagesDefault
*/.
GetImagesForbidden access to this resource is forbidden
swagger:response getImagesForbidden
*/.
GetImagesOK successful operation
swagger:response getImagesOK
*/.
GetImagesParams contains all the bound params for the get images operation typically these are obtained from a http.Request
swagger:parameters getImages.
GetImagesUnauthorized Unauthorized Request
swagger:response getImagesUnauthorized
*/.
GetImagesURL generates an URL for the get images operation.
UpdateImageByName swagger:route PUT /image/{imageName} image updateImageByName
Updates an image
*/.
UpdateImageByNameBadRequest Invalid input
swagger:response updateImageByNameBadRequest
*/.
UpdateImageByNameDefault Generic error response
swagger:response updateImageByNameDefault
*/.
UpdateImageByNameForbidden access to this resource is forbidden
swagger:response updateImageByNameForbidden
*/.
UpdateImageByNameNotFound Image not found
swagger:response updateImageByNameNotFound
*/.
UpdateImageByNameOK updated
swagger:response updateImageByNameOK
*/.
UpdateImageByNameParams contains all the bound params for the update image by name operation typically these are obtained from a http.Request
swagger:parameters updateImageByName.
UpdateImageByNameUnauthorized Unauthorized Request
swagger:response updateImageByNameUnauthorized
*/.
UpdateImageByNameURL generates an URL for the update image by name operation.
# Interfaces
AddImageHandler interface for that can handle valid add image params.
DeleteImageByNameHandler interface for that can handle valid delete image by name params.
GetImageByNameHandler interface for that can handle valid get image by name params.
GetImagesHandler interface for that can handle valid get images params.
UpdateImageByNameHandler interface for that can handle valid update image by name params.
# Type aliases
AddImageHandlerFunc turns a function with the right signature into a add image handler.
DeleteImageByNameHandlerFunc turns a function with the right signature into a delete image by name handler.
GetImageByNameHandlerFunc turns a function with the right signature into a get image by name handler.
GetImagesHandlerFunc turns a function with the right signature into a get images handler.
UpdateImageByNameHandlerFunc turns a function with the right signature into a update image by name handler.