package
3.1.3+incompatible
Repository: https://github.com/haproxytech/dataplaneapi.git
Documentation: pkg.go.dev

# Functions

NewCreateSite creates a new http.Handler for the create site operation.
NewCreateSiteAccepted creates CreateSiteAccepted with default headers values.
NewCreateSiteBadRequest creates CreateSiteBadRequest with default headers values.
NewCreateSiteConflict creates CreateSiteConflict with default headers values.
NewCreateSiteCreated creates CreateSiteCreated with default headers values.
NewCreateSiteDefault creates CreateSiteDefault with default headers values.
NewCreateSiteParams creates a new CreateSiteParams object with the default values initialized.
NewDeleteSite creates a new http.Handler for the delete site operation.
NewDeleteSiteAccepted creates DeleteSiteAccepted with default headers values.
NewDeleteSiteDefault creates DeleteSiteDefault with default headers values.
NewDeleteSiteNoContent creates DeleteSiteNoContent with default headers values.
NewDeleteSiteNotFound creates DeleteSiteNotFound with default headers values.
NewDeleteSiteParams creates a new DeleteSiteParams object with the default values initialized.
NewGetSite creates a new http.Handler for the get site operation.
NewGetSiteDefault creates GetSiteDefault with default headers values.
NewGetSiteNotFound creates GetSiteNotFound with default headers values.
NewGetSiteOK creates GetSiteOK with default headers values.
NewGetSiteParams creates a new GetSiteParams object There are no default values defined in the spec.
NewGetSites creates a new http.Handler for the get sites operation.
NewGetSitesDefault creates GetSitesDefault with default headers values.
NewGetSitesOK creates GetSitesOK with default headers values.
NewGetSitesParams creates a new GetSitesParams object There are no default values defined in the spec.
NewReplaceSite creates a new http.Handler for the replace site operation.
NewReplaceSiteAccepted creates ReplaceSiteAccepted with default headers values.
NewReplaceSiteBadRequest creates ReplaceSiteBadRequest with default headers values.
NewReplaceSiteDefault creates ReplaceSiteDefault with default headers values.
NewReplaceSiteNotFound creates ReplaceSiteNotFound with default headers values.
NewReplaceSiteOK creates ReplaceSiteOK with default headers values.
NewReplaceSiteParams creates a new ReplaceSiteParams object with the default values initialized.

# Constants

CreateSiteAcceptedCode is the HTTP code returned for type CreateSiteAccepted.
CreateSiteBadRequestCode is the HTTP code returned for type CreateSiteBadRequest.
CreateSiteConflictCode is the HTTP code returned for type CreateSiteConflict.
CreateSiteCreatedCode is the HTTP code returned for type CreateSiteCreated.
DeleteSiteAcceptedCode is the HTTP code returned for type DeleteSiteAccepted.
DeleteSiteNoContentCode is the HTTP code returned for type DeleteSiteNoContent.
DeleteSiteNotFoundCode is the HTTP code returned for type DeleteSiteNotFound.
GetSiteNotFoundCode is the HTTP code returned for type GetSiteNotFound.
GetSiteOKCode is the HTTP code returned for type GetSiteOK.
GetSitesOKCode is the HTTP code returned for type GetSitesOK.
ReplaceSiteAcceptedCode is the HTTP code returned for type ReplaceSiteAccepted.
ReplaceSiteBadRequestCode is the HTTP code returned for type ReplaceSiteBadRequest.
ReplaceSiteNotFoundCode is the HTTP code returned for type ReplaceSiteNotFound.
ReplaceSiteOKCode is the HTTP code returned for type ReplaceSiteOK.

# Structs

CreateSite swagger:route POST /services/haproxy/sites Sites createSite # Add a site Adds a new site to the configuration file.
CreateSiteAccepted Configuration change accepted and reload requested swagger:response createSiteAccepted */.
CreateSiteBadRequest Bad request swagger:response createSiteBadRequest */.
CreateSiteConflict The specified resource already exists swagger:response createSiteConflict */.
CreateSiteCreated Site created swagger:response createSiteCreated */.
CreateSiteDefault General Error swagger:response createSiteDefault */.
CreateSiteParams contains all the bound params for the create site operation typically these are obtained from a http.Request swagger:parameters createSite.
CreateSiteURL generates an URL for the create site operation.
DeleteSite swagger:route DELETE /services/haproxy/sites/{name} Sites deleteSite # Delete a site Deletes a site from the configuration by it's name.
DeleteSiteAccepted Configuration change accepted and reload requested swagger:response deleteSiteAccepted */.
DeleteSiteDefault General Error swagger:response deleteSiteDefault */.
DeleteSiteNoContent Site deleted swagger:response deleteSiteNoContent */.
DeleteSiteNotFound The specified resource was not found swagger:response deleteSiteNotFound */.
DeleteSiteParams contains all the bound params for the delete site operation typically these are obtained from a http.Request swagger:parameters deleteSite.
DeleteSiteURL generates an URL for the delete site operation.
GetSite swagger:route GET /services/haproxy/sites/{name} Sites getSite # Return a site Returns one site configuration by it's name.
GetSiteDefault General Error swagger:response getSiteDefault */.
GetSiteNotFound The specified resource was not found swagger:response getSiteNotFound */.
GetSiteOK Successful operation swagger:response getSiteOK */.
GetSiteParams contains all the bound params for the get site operation typically these are obtained from a http.Request swagger:parameters getSite.
GetSites swagger:route GET /services/haproxy/sites Sites getSites # Return an array of sites Returns an array of all configured sites.
GetSitesDefault General Error swagger:response getSitesDefault */.
GetSitesOK Successful operation swagger:response getSitesOK */.
GetSitesParams contains all the bound params for the get sites operation typically these are obtained from a http.Request swagger:parameters getSites.
GetSitesURL generates an URL for the get sites operation.
GetSiteURL generates an URL for the get site operation.
ReplaceSite swagger:route PUT /services/haproxy/sites/{name} Sites replaceSite # Replace a site Replaces a site configuration by it's name.
ReplaceSiteAccepted Configuration change accepted and reload requested swagger:response replaceSiteAccepted */.
ReplaceSiteBadRequest Bad request swagger:response replaceSiteBadRequest */.
ReplaceSiteDefault General Error swagger:response replaceSiteDefault */.
ReplaceSiteNotFound The specified resource was not found swagger:response replaceSiteNotFound */.
ReplaceSiteOK Site replaced swagger:response replaceSiteOK */.
ReplaceSiteParams contains all the bound params for the replace site operation typically these are obtained from a http.Request swagger:parameters replaceSite.
ReplaceSiteURL generates an URL for the replace site operation.

# Interfaces

CreateSiteHandler interface for that can handle valid create site params.
DeleteSiteHandler interface for that can handle valid delete site params.
GetSiteHandler interface for that can handle valid get site params.
GetSitesHandler interface for that can handle valid get sites params.
ReplaceSiteHandler interface for that can handle valid replace site params.

# Type aliases

CreateSiteHandlerFunc turns a function with the right signature into a create site handler.
DeleteSiteHandlerFunc turns a function with the right signature into a delete site handler.
GetSiteHandlerFunc turns a function with the right signature into a get site handler.
GetSitesHandlerFunc turns a function with the right signature into a get sites handler.
ReplaceSiteHandlerFunc turns a function with the right signature into a replace site handler.