package
0.2.0-alpha
Repository: https://github.com/vmware-archive/dispatch.git
Documentation: pkg.go.dev
# Functions
NewAddApp creates a new http.Handler for the add app operation.
NewAddAppBadRequest creates AddAppBadRequest with default headers values.
NewAddAppConflict creates AddAppConflict with default headers values.
NewAddAppDefault creates AddAppDefault with default headers values.
NewAddAppForbidden creates AddAppForbidden with default headers values.
NewAddAppOK creates AddAppOK with default headers values.
NewAddAppParams creates a new AddAppParams object no default values defined in spec.
NewAddAppUnauthorized creates AddAppUnauthorized with default headers values.
NewDeleteApp creates a new http.Handler for the delete app operation.
NewDeleteAppBadRequest creates DeleteAppBadRequest with default headers values.
NewDeleteAppDefault creates DeleteAppDefault with default headers values.
NewDeleteAppForbidden creates DeleteAppForbidden with default headers values.
NewDeleteAppNotFound creates DeleteAppNotFound with default headers values.
NewDeleteAppOK creates DeleteAppOK with default headers values.
NewDeleteAppParams creates a new DeleteAppParams object no default values defined in spec.
NewDeleteAppUnauthorized creates DeleteAppUnauthorized with default headers values.
NewGetApp creates a new http.Handler for the get app operation.
NewGetAppBadRequest creates GetAppBadRequest with default headers values.
NewGetAppDefault creates GetAppDefault with default headers values.
NewGetAppForbidden creates GetAppForbidden with default headers values.
NewGetAppNotFound creates GetAppNotFound with default headers values.
NewGetAppOK creates GetAppOK with default headers values.
NewGetAppParams creates a new GetAppParams object no default values defined in spec.
NewGetApps creates a new http.Handler for the get apps operation.
NewGetAppsDefault creates GetAppsDefault with default headers values.
NewGetAppsForbidden creates GetAppsForbidden with default headers values.
NewGetAppsOK creates GetAppsOK with default headers values.
NewGetAppsParams creates a new GetAppsParams object no default values defined in spec.
NewGetAppsUnauthorized creates GetAppsUnauthorized with default headers values.
NewGetAppUnauthorized creates GetAppUnauthorized with default headers values.
NewUpdateApp creates a new http.Handler for the update app operation.
NewUpdateAppBadRequest creates UpdateAppBadRequest with default headers values.
NewUpdateAppDefault creates UpdateAppDefault with default headers values.
NewUpdateAppForbidden creates UpdateAppForbidden with default headers values.
NewUpdateAppNotFound creates UpdateAppNotFound with default headers values.
NewUpdateAppOK creates UpdateAppOK with default headers values.
NewUpdateAppParams creates a new UpdateAppParams object no default values defined in spec.
NewUpdateAppUnauthorized creates UpdateAppUnauthorized with default headers values.
# Constants
AddAppBadRequestCode is the HTTP code returned for type AddAppBadRequest.
AddAppConflictCode is the HTTP code returned for type AddAppConflict.
AddAppForbiddenCode is the HTTP code returned for type AddAppForbidden.
AddAppOKCode is the HTTP code returned for type AddAppOK.
AddAppUnauthorizedCode is the HTTP code returned for type AddAppUnauthorized.
DeleteAppBadRequestCode is the HTTP code returned for type DeleteAppBadRequest.
DeleteAppForbiddenCode is the HTTP code returned for type DeleteAppForbidden.
DeleteAppNotFoundCode is the HTTP code returned for type DeleteAppNotFound.
DeleteAppOKCode is the HTTP code returned for type DeleteAppOK.
DeleteAppUnauthorizedCode is the HTTP code returned for type DeleteAppUnauthorized.
GetAppBadRequestCode is the HTTP code returned for type GetAppBadRequest.
GetAppForbiddenCode is the HTTP code returned for type GetAppForbidden.
GetAppNotFoundCode is the HTTP code returned for type GetAppNotFound.
GetAppOKCode is the HTTP code returned for type GetAppOK.
GetAppsForbiddenCode is the HTTP code returned for type GetAppsForbidden.
GetAppsOKCode is the HTTP code returned for type GetAppsOK.
GetAppsUnauthorizedCode is the HTTP code returned for type GetAppsUnauthorized.
GetAppUnauthorizedCode is the HTTP code returned for type GetAppUnauthorized.
UpdateAppBadRequestCode is the HTTP code returned for type UpdateAppBadRequest.
UpdateAppForbiddenCode is the HTTP code returned for type UpdateAppForbidden.
UpdateAppNotFoundCode is the HTTP code returned for type UpdateAppNotFound.
UpdateAppOKCode is the HTTP code returned for type UpdateAppOK.
UpdateAppUnauthorizedCode is the HTTP code returned for type UpdateAppUnauthorized.
# Structs
AddApp swagger:route POST / application addApp
Add a new Application
*/.
AddAppBadRequest Invalid Input
swagger:response addAppBadRequest
*/.
AddAppConflict Already Exists
swagger:response addAppConflict
*/.
AddAppDefault Unknown error
swagger:response addAppDefault
*/.
AddAppForbidden access to this resource is forbidden
swagger:response addAppForbidden
*/.
AddAppOK Application created
swagger:response addAppOK
*/.
AddAppParams contains all the bound params for the add app operation typically these are obtained from a http.Request
swagger:parameters addApp.
AddAppUnauthorized Unauthorized Request
swagger:response addAppUnauthorized
*/.
AddAppURL generates an URL for the add app operation.
DeleteApp swagger:route DELETE /{application} application deleteApp
Deletes an Application
*/.
DeleteAppBadRequest Invalid Name supplied
swagger:response deleteAppBadRequest
*/.
DeleteAppDefault Unknown error
swagger:response deleteAppDefault
*/.
DeleteAppForbidden access to this resource is forbidden
swagger:response deleteAppForbidden
*/.
DeleteAppNotFound Application not found
swagger:response deleteAppNotFound
*/.
DeleteAppOK Successful operation
swagger:response deleteAppOK
*/.
DeleteAppParams contains all the bound params for the delete app operation typically these are obtained from a http.Request
swagger:parameters deleteApp.
DeleteAppUnauthorized Unauthorized Request
swagger:response deleteAppUnauthorized
*/.
DeleteAppURL generates an URL for the delete app operation.
GetApp swagger:route GET /{application} application getApp
Find Application by name
get an Application by name
*/.
GetAppBadRequest Invalid Name supplied
swagger:response getAppBadRequest
*/.
GetAppDefault Unknown error
swagger:response getAppDefault
*/.
GetAppForbidden access to this resource is forbidden
swagger:response getAppForbidden
*/.
GetAppNotFound Application not found
swagger:response getAppNotFound
*/.
GetAppOK Successful operation
swagger:response getAppOK
*/.
GetAppParams contains all the bound params for the get app operation typically these are obtained from a http.Request
swagger:parameters getApp.
GetApps swagger:route GET / application getApps
List all existing Applications
*/.
GetAppsDefault Unexpected Error
swagger:response getAppsDefault
*/.
GetAppsForbidden access to this resource is forbidden
swagger:response getAppsForbidden
*/.
GetAppsOK Successful operation
swagger:response getAppsOK
*/.
GetAppsParams contains all the bound params for the get apps operation typically these are obtained from a http.Request
swagger:parameters getApps.
GetAppsUnauthorized Unauthorized Request
swagger:response getAppsUnauthorized
*/.
GetAppsURL generates an URL for the get apps operation.
GetAppUnauthorized Unauthorized Request
swagger:response getAppUnauthorized
*/.
GetAppURL generates an URL for the get app operation.
UpdateApp swagger:route PUT /{application} application updateApp
Update an Application
*/.
UpdateAppBadRequest Invalid input
swagger:response updateAppBadRequest
*/.
UpdateAppDefault Unknown error
swagger:response updateAppDefault
*/.
UpdateAppForbidden access to this resource is forbidden
swagger:response updateAppForbidden
*/.
UpdateAppNotFound Application not found
swagger:response updateAppNotFound
*/.
UpdateAppOK Successful update
swagger:response updateAppOK
*/.
UpdateAppParams contains all the bound params for the update app operation typically these are obtained from a http.Request
swagger:parameters updateApp.
UpdateAppUnauthorized Unauthorized Request
swagger:response updateAppUnauthorized
*/.
UpdateAppURL generates an URL for the update app operation.
# Interfaces
AddAppHandler interface for that can handle valid add app params.
DeleteAppHandler interface for that can handle valid delete app params.
GetAppHandler interface for that can handle valid get app params.
GetAppsHandler interface for that can handle valid get apps params.
UpdateAppHandler interface for that can handle valid update app params.
# Type aliases
AddAppHandlerFunc turns a function with the right signature into a add app handler.
DeleteAppHandlerFunc turns a function with the right signature into a delete app handler.
GetAppHandlerFunc turns a function with the right signature into a get app handler.
GetAppsHandlerFunc turns a function with the right signature into a get apps handler.
UpdateAppHandlerFunc turns a function with the right signature into a update app handler.