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

# Functions

NewAddSubscription creates a new http.Handler for the add subscription operation.
NewAddSubscriptionBadRequest creates AddSubscriptionBadRequest with default headers values.
NewAddSubscriptionConflict creates AddSubscriptionConflict with default headers values.
NewAddSubscriptionCreated creates AddSubscriptionCreated with default headers values.
NewAddSubscriptionDefault creates AddSubscriptionDefault with default headers values.
NewAddSubscriptionForbidden creates AddSubscriptionForbidden with default headers values.
NewAddSubscriptionParams creates a new AddSubscriptionParams object no default values defined in spec.
NewAddSubscriptionUnauthorized creates AddSubscriptionUnauthorized with default headers values.
NewDeleteSubscription creates a new http.Handler for the delete subscription operation.
NewDeleteSubscriptionBadRequest creates DeleteSubscriptionBadRequest with default headers values.
NewDeleteSubscriptionDefault creates DeleteSubscriptionDefault with default headers values.
NewDeleteSubscriptionForbidden creates DeleteSubscriptionForbidden with default headers values.
NewDeleteSubscriptionNotFound creates DeleteSubscriptionNotFound with default headers values.
NewDeleteSubscriptionOK creates DeleteSubscriptionOK with default headers values.
NewDeleteSubscriptionParams creates a new DeleteSubscriptionParams object no default values defined in spec.
NewDeleteSubscriptionUnauthorized creates DeleteSubscriptionUnauthorized with default headers values.
NewGetSubscription creates a new http.Handler for the get subscription operation.
NewGetSubscriptionBadRequest creates GetSubscriptionBadRequest with default headers values.
NewGetSubscriptionDefault creates GetSubscriptionDefault with default headers values.
NewGetSubscriptionForbidden creates GetSubscriptionForbidden with default headers values.
NewGetSubscriptionNotFound creates GetSubscriptionNotFound with default headers values.
NewGetSubscriptionOK creates GetSubscriptionOK with default headers values.
NewGetSubscriptionParams creates a new GetSubscriptionParams object no default values defined in spec.
NewGetSubscriptions creates a new http.Handler for the get subscriptions operation.
NewGetSubscriptionsBadRequest creates GetSubscriptionsBadRequest with default headers values.
NewGetSubscriptionsDefault creates GetSubscriptionsDefault with default headers values.
NewGetSubscriptionsForbidden creates GetSubscriptionsForbidden with default headers values.
NewGetSubscriptionsOK creates GetSubscriptionsOK with default headers values.
NewGetSubscriptionsParams creates a new GetSubscriptionsParams object no default values defined in spec.
NewGetSubscriptionsUnauthorized creates GetSubscriptionsUnauthorized with default headers values.
NewGetSubscriptionUnauthorized creates GetSubscriptionUnauthorized with default headers values.
NewUpdateSubscription creates a new http.Handler for the update subscription operation.
NewUpdateSubscriptionBadRequest creates UpdateSubscriptionBadRequest with default headers values.
NewUpdateSubscriptionDefault creates UpdateSubscriptionDefault with default headers values.
NewUpdateSubscriptionForbidden creates UpdateSubscriptionForbidden with default headers values.
NewUpdateSubscriptionNotFound creates UpdateSubscriptionNotFound with default headers values.
NewUpdateSubscriptionOK creates UpdateSubscriptionOK with default headers values.
NewUpdateSubscriptionParams creates a new UpdateSubscriptionParams object no default values defined in spec.
NewUpdateSubscriptionUnauthorized creates UpdateSubscriptionUnauthorized with default headers values.

# Constants

AddSubscriptionBadRequestCode is the HTTP code returned for type AddSubscriptionBadRequest.
AddSubscriptionConflictCode is the HTTP code returned for type AddSubscriptionConflict.
AddSubscriptionCreatedCode is the HTTP code returned for type AddSubscriptionCreated.
AddSubscriptionForbiddenCode is the HTTP code returned for type AddSubscriptionForbidden.
AddSubscriptionUnauthorizedCode is the HTTP code returned for type AddSubscriptionUnauthorized.
DeleteSubscriptionBadRequestCode is the HTTP code returned for type DeleteSubscriptionBadRequest.
DeleteSubscriptionForbiddenCode is the HTTP code returned for type DeleteSubscriptionForbidden.
DeleteSubscriptionNotFoundCode is the HTTP code returned for type DeleteSubscriptionNotFound.
DeleteSubscriptionOKCode is the HTTP code returned for type DeleteSubscriptionOK.
DeleteSubscriptionUnauthorizedCode is the HTTP code returned for type DeleteSubscriptionUnauthorized.
GetSubscriptionBadRequestCode is the HTTP code returned for type GetSubscriptionBadRequest.
GetSubscriptionForbiddenCode is the HTTP code returned for type GetSubscriptionForbidden.
GetSubscriptionNotFoundCode is the HTTP code returned for type GetSubscriptionNotFound.
GetSubscriptionOKCode is the HTTP code returned for type GetSubscriptionOK.
GetSubscriptionsBadRequestCode is the HTTP code returned for type GetSubscriptionsBadRequest.
GetSubscriptionsForbiddenCode is the HTTP code returned for type GetSubscriptionsForbidden.
GetSubscriptionsOKCode is the HTTP code returned for type GetSubscriptionsOK.
GetSubscriptionsUnauthorizedCode is the HTTP code returned for type GetSubscriptionsUnauthorized.
GetSubscriptionUnauthorizedCode is the HTTP code returned for type GetSubscriptionUnauthorized.
UpdateSubscriptionBadRequestCode is the HTTP code returned for type UpdateSubscriptionBadRequest.
UpdateSubscriptionForbiddenCode is the HTTP code returned for type UpdateSubscriptionForbidden.
UpdateSubscriptionNotFoundCode is the HTTP code returned for type UpdateSubscriptionNotFound.
UpdateSubscriptionOKCode is the HTTP code returned for type UpdateSubscriptionOK.
UpdateSubscriptionUnauthorizedCode is the HTTP code returned for type UpdateSubscriptionUnauthorized.

# Structs

AddSubscription swagger:route POST /subscriptions subscriptions addSubscription Add a new subscription */.
AddSubscriptionBadRequest Invalid input swagger:response addSubscriptionBadRequest */.
AddSubscriptionConflict Already Exists swagger:response addSubscriptionConflict */.
AddSubscriptionCreated Subscription created swagger:response addSubscriptionCreated */.
AddSubscriptionDefault Unknown error swagger:response addSubscriptionDefault */.
AddSubscriptionForbidden access to this resource is forbidden swagger:response addSubscriptionForbidden */.
AddSubscriptionParams contains all the bound params for the add subscription operation typically these are obtained from a http.Request swagger:parameters addSubscription.
AddSubscriptionUnauthorized Unauthorized Request swagger:response addSubscriptionUnauthorized */.
AddSubscriptionURL generates an URL for the add subscription operation.
DeleteSubscription swagger:route DELETE /subscriptions/{subscriptionName} subscriptions deleteSubscription Deletes a subscription */.
DeleteSubscriptionBadRequest Invalid ID supplied swagger:response deleteSubscriptionBadRequest */.
DeleteSubscriptionDefault Generic error response swagger:response deleteSubscriptionDefault */.
DeleteSubscriptionForbidden access to this resource is forbidden swagger:response deleteSubscriptionForbidden */.
DeleteSubscriptionNotFound Subscription not found swagger:response deleteSubscriptionNotFound */.
DeleteSubscriptionOK successful operation swagger:response deleteSubscriptionOK */.
DeleteSubscriptionParams contains all the bound params for the delete subscription operation typically these are obtained from a http.Request swagger:parameters deleteSubscription.
DeleteSubscriptionUnauthorized Unauthorized Request swagger:response deleteSubscriptionUnauthorized */.
DeleteSubscriptionURL generates an URL for the delete subscription operation.
GetSubscription swagger:route GET /subscriptions/{subscriptionName} subscriptions getSubscription Find subscription by Name Returns a single subscription */.
GetSubscriptionBadRequest Invalid Name supplied swagger:response getSubscriptionBadRequest */.
GetSubscriptionDefault Unknown error swagger:response getSubscriptionDefault */.
GetSubscriptionForbidden access to this resource is forbidden swagger:response getSubscriptionForbidden */.
GetSubscriptionNotFound Subscription not found swagger:response getSubscriptionNotFound */.
GetSubscriptionOK Successful operation swagger:response getSubscriptionOK */.
GetSubscriptionParams contains all the bound params for the get subscription operation typically these are obtained from a http.Request swagger:parameters getSubscription.
GetSubscriptions swagger:route GET /subscriptions subscriptions getSubscriptions List all existing subscriptions */.
GetSubscriptionsBadRequest Bad Request swagger:response getSubscriptionsBadRequest */.
GetSubscriptionsDefault Unknown error swagger:response getSubscriptionsDefault */.
GetSubscriptionsForbidden access to this resource is forbidden swagger:response getSubscriptionsForbidden */.
GetSubscriptionsOK Successful operation swagger:response getSubscriptionsOK */.
GetSubscriptionsParams contains all the bound params for the get subscriptions operation typically these are obtained from a http.Request swagger:parameters getSubscriptions.
GetSubscriptionsUnauthorized Unauthorized Request swagger:response getSubscriptionsUnauthorized */.
GetSubscriptionsURL generates an URL for the get subscriptions operation.
GetSubscriptionUnauthorized Unauthorized Request swagger:response getSubscriptionUnauthorized */.
GetSubscriptionURL generates an URL for the get subscription operation.
UpdateSubscription swagger:route PUT /subscriptions/{subscriptionName} subscriptions updateSubscription Update subscription by Name Updates a single subscription */.
UpdateSubscriptionBadRequest Invalid Name supplied swagger:response updateSubscriptionBadRequest */.
UpdateSubscriptionDefault Unknown error swagger:response updateSubscriptionDefault */.
UpdateSubscriptionForbidden access to this resource is forbidden swagger:response updateSubscriptionForbidden */.
UpdateSubscriptionNotFound Subscription not found swagger:response updateSubscriptionNotFound */.
UpdateSubscriptionOK Successful operation swagger:response updateSubscriptionOK */.
UpdateSubscriptionParams contains all the bound params for the update subscription operation typically these are obtained from a http.Request swagger:parameters updateSubscription.
UpdateSubscriptionUnauthorized Unauthorized Request swagger:response updateSubscriptionUnauthorized */.
UpdateSubscriptionURL generates an URL for the update subscription operation.

# Interfaces

AddSubscriptionHandler interface for that can handle valid add subscription params.
DeleteSubscriptionHandler interface for that can handle valid delete subscription params.
GetSubscriptionHandler interface for that can handle valid get subscription params.
GetSubscriptionsHandler interface for that can handle valid get subscriptions params.
UpdateSubscriptionHandler interface for that can handle valid update subscription params.

# Type aliases

AddSubscriptionHandlerFunc turns a function with the right signature into a add subscription handler.
DeleteSubscriptionHandlerFunc turns a function with the right signature into a delete subscription handler.
GetSubscriptionHandlerFunc turns a function with the right signature into a get subscription handler.
GetSubscriptionsHandlerFunc turns a function with the right signature into a get subscriptions handler.
UpdateSubscriptionHandlerFunc turns a function with the right signature into a update subscription handler.