package
2.9.11+incompatible
Repository: https://github.com/haproxytech/dataplaneapi.git
Documentation: pkg.go.dev
# Functions
NewGetConfigurationVersion creates a new http.Handler for the get configuration version operation.
NewGetConfigurationVersionDefault creates GetConfigurationVersionDefault with default headers values.
NewGetConfigurationVersionNotFound creates GetConfigurationVersionNotFound with default headers values.
NewGetConfigurationVersionOK creates GetConfigurationVersionOK with default headers values.
NewGetConfigurationVersionParams creates a new GetConfigurationVersionParams object
There are no default values defined in the spec.
NewGetHAProxyConfiguration creates a new http.Handler for the get h a proxy configuration operation.
NewGetHAProxyConfigurationDefault creates GetHAProxyConfigurationDefault with default headers values.
NewGetHAProxyConfigurationOK creates GetHAProxyConfigurationOK with default headers values.
NewGetHAProxyConfigurationParams creates a new GetHAProxyConfigurationParams object
There are no default values defined in the spec.
NewPostHAProxyConfiguration creates a new http.Handler for the post h a proxy configuration operation.
NewPostHAProxyConfigurationAccepted creates PostHAProxyConfigurationAccepted with default headers values.
NewPostHAProxyConfigurationBadRequest creates PostHAProxyConfigurationBadRequest with default headers values.
NewPostHAProxyConfigurationCreated creates PostHAProxyConfigurationCreated with default headers values.
NewPostHAProxyConfigurationDefault creates PostHAProxyConfigurationDefault with default headers values.
NewPostHAProxyConfigurationParams creates a new PostHAProxyConfigurationParams object with the default values initialized.
# Constants
GetConfigurationVersionNotFoundCode is the HTTP code returned for type GetConfigurationVersionNotFound.
GetConfigurationVersionOKCode is the HTTP code returned for type GetConfigurationVersionOK.
GetHAProxyConfigurationOKCode is the HTTP code returned for type GetHAProxyConfigurationOK.
PostHAProxyConfigurationAcceptedCode is the HTTP code returned for type PostHAProxyConfigurationAccepted.
PostHAProxyConfigurationBadRequestCode is the HTTP code returned for type PostHAProxyConfigurationBadRequest.
PostHAProxyConfigurationCreatedCode is the HTTP code returned for type PostHAProxyConfigurationCreated.
# Structs
GetConfigurationVersion swagger:route GET /services/haproxy/configuration/version Configuration getConfigurationVersion
# Return a configuration version
Returns configuration version.
GetConfigurationVersionDefault General Error
swagger:response getConfigurationVersionDefault
*/.
GetConfigurationVersionNotFound The specified resource was not found
swagger:response getConfigurationVersionNotFound
*/.
GetConfigurationVersionOK Configuration version
swagger:response getConfigurationVersionOK
*/.
GetConfigurationVersionParams contains all the bound params for the get configuration version operation typically these are obtained from a http.Request
swagger:parameters getConfigurationVersion.
GetConfigurationVersionURL generates an URL for the get configuration version operation.
GetHAProxyConfiguration swagger:route GET /services/haproxy/configuration/raw Configuration getHAProxyConfiguration
# Return HAProxy configuration
Returns HAProxy configuration file in plain text
*/.
GetHAProxyConfigurationDefault General Error
swagger:response getHAProxyConfigurationDefault
*/.
GetHAProxyConfigurationOK Operation successful
swagger:response getHAProxyConfigurationOK
*/.
GetHAProxyConfigurationOKBody get h a proxy configuration o k body
swagger:model GetHAProxyConfigurationOKBody.
GetHAProxyConfigurationParams contains all the bound params for the get h a proxy configuration operation typically these are obtained from a http.Request
swagger:parameters getHAProxyConfiguration.
GetHAProxyConfigurationURL generates an URL for the get h a proxy configuration operation.
PostHAProxyConfiguration swagger:route POST /services/haproxy/configuration/raw Configuration postHAProxyConfiguration
# Push new haproxy configuration
Push a new haproxy configuration file in plain text
*/.
PostHAProxyConfigurationAccepted Configuration change accepted and reload requested
swagger:response postHAProxyConfigurationAccepted
*/.
PostHAProxyConfigurationBadRequest Bad request
swagger:response postHAProxyConfigurationBadRequest
*/.
PostHAProxyConfigurationCreated New HAProxy configuration pushed
swagger:response postHAProxyConfigurationCreated
*/.
PostHAProxyConfigurationDefault General Error
swagger:response postHAProxyConfigurationDefault
*/.
PostHAProxyConfigurationParams contains all the bound params for the post h a proxy configuration operation typically these are obtained from a http.Request
swagger:parameters postHAProxyConfiguration.
PostHAProxyConfigurationURL generates an URL for the post h a proxy configuration operation.
# Interfaces
GetConfigurationVersionHandler interface for that can handle valid get configuration version params.
GetHAProxyConfigurationHandler interface for that can handle valid get h a proxy configuration params.
PostHAProxyConfigurationHandler interface for that can handle valid post h a proxy configuration params.
# Type aliases
GetConfigurationVersionHandlerFunc turns a function with the right signature into a get configuration version handler.
GetHAProxyConfigurationHandlerFunc turns a function with the right signature into a get h a proxy configuration handler.
PostHAProxyConfigurationHandlerFunc turns a function with the right signature into a post h a proxy configuration handler.