package
2.9.11+incompatible
Repository: https://github.com/haproxytech/dataplaneapi.git
Documentation: pkg.go.dev
# Functions
NewCreateCache creates a new http.Handler for the create cache operation.
NewCreateCacheAccepted creates CreateCacheAccepted with default headers values.
NewCreateCacheBadRequest creates CreateCacheBadRequest with default headers values.
NewCreateCacheConflict creates CreateCacheConflict with default headers values.
NewCreateCacheCreated creates CreateCacheCreated with default headers values.
NewCreateCacheDefault creates CreateCacheDefault with default headers values.
NewCreateCacheParams creates a new CreateCacheParams object with the default values initialized.
NewDeleteCache creates a new http.Handler for the delete cache operation.
NewDeleteCacheAccepted creates DeleteCacheAccepted with default headers values.
NewDeleteCacheDefault creates DeleteCacheDefault with default headers values.
NewDeleteCacheNoContent creates DeleteCacheNoContent with default headers values.
NewDeleteCacheNotFound creates DeleteCacheNotFound with default headers values.
NewDeleteCacheParams creates a new DeleteCacheParams object with the default values initialized.
NewGetCache creates a new http.Handler for the get cache operation.
NewGetCacheDefault creates GetCacheDefault with default headers values.
NewGetCacheNotFound creates GetCacheNotFound with default headers values.
NewGetCacheOK creates GetCacheOK with default headers values.
NewGetCacheParams creates a new GetCacheParams object
There are no default values defined in the spec.
NewGetCaches creates a new http.Handler for the get caches operation.
NewGetCachesDefault creates GetCachesDefault with default headers values.
NewGetCachesOK creates GetCachesOK with default headers values.
NewGetCachesParams creates a new GetCachesParams object
There are no default values defined in the spec.
NewReplaceCache creates a new http.Handler for the replace cache operation.
NewReplaceCacheAccepted creates ReplaceCacheAccepted with default headers values.
NewReplaceCacheBadRequest creates ReplaceCacheBadRequest with default headers values.
NewReplaceCacheDefault creates ReplaceCacheDefault with default headers values.
NewReplaceCacheNotFound creates ReplaceCacheNotFound with default headers values.
NewReplaceCacheOK creates ReplaceCacheOK with default headers values.
NewReplaceCacheParams creates a new ReplaceCacheParams object with the default values initialized.
# Constants
CreateCacheAcceptedCode is the HTTP code returned for type CreateCacheAccepted.
CreateCacheBadRequestCode is the HTTP code returned for type CreateCacheBadRequest.
CreateCacheConflictCode is the HTTP code returned for type CreateCacheConflict.
CreateCacheCreatedCode is the HTTP code returned for type CreateCacheCreated.
DeleteCacheAcceptedCode is the HTTP code returned for type DeleteCacheAccepted.
DeleteCacheNoContentCode is the HTTP code returned for type DeleteCacheNoContent.
DeleteCacheNotFoundCode is the HTTP code returned for type DeleteCacheNotFound.
GetCacheNotFoundCode is the HTTP code returned for type GetCacheNotFound.
GetCacheOKCode is the HTTP code returned for type GetCacheOK.
GetCachesOKCode is the HTTP code returned for type GetCachesOK.
ReplaceCacheAcceptedCode is the HTTP code returned for type ReplaceCacheAccepted.
ReplaceCacheBadRequestCode is the HTTP code returned for type ReplaceCacheBadRequest.
ReplaceCacheNotFoundCode is the HTTP code returned for type ReplaceCacheNotFound.
ReplaceCacheOKCode is the HTTP code returned for type ReplaceCacheOK.
# Structs
CreateCache swagger:route POST /services/haproxy/configuration/caches Cache createCache
# Add a cache
Adds a new cache section to the configuration file.
CreateCacheAccepted Configuration change accepted and reload requested
swagger:response createCacheAccepted
*/.
CreateCacheBadRequest Bad request
swagger:response createCacheBadRequest
*/.
CreateCacheConflict The specified resource already exists
swagger:response createCacheConflict
*/.
CreateCacheCreated Cache created
swagger:response createCacheCreated
*/.
CreateCacheDefault General Error
swagger:response createCacheDefault
*/.
CreateCacheParams contains all the bound params for the create cache operation typically these are obtained from a http.Request
swagger:parameters createCache.
CreateCacheURL generates an URL for the create cache operation.
DeleteCache swagger:route DELETE /services/haproxy/configuration/caches/{name} Cache deleteCache
# Delete a cache
Deletes a cache from the configuration by it's name.
DeleteCacheAccepted Configuration change accepted and reload requested
swagger:response deleteCacheAccepted
*/.
DeleteCacheDefault General Error
swagger:response deleteCacheDefault
*/.
DeleteCacheNoContent Cache deleted
swagger:response deleteCacheNoContent
*/.
DeleteCacheNotFound The specified resource was not found
swagger:response deleteCacheNotFound
*/.
DeleteCacheParams contains all the bound params for the delete cache operation typically these are obtained from a http.Request
swagger:parameters deleteCache.
DeleteCacheURL generates an URL for the delete cache operation.
GetCache swagger:route GET /services/haproxy/configuration/caches/{name} Cache getCache
# Return a cache
Returns one cache section configuration by it's name.
GetCacheDefault General Error
swagger:response getCacheDefault
*/.
GetCacheNotFound The specified resource was not found
swagger:response getCacheNotFound
*/.
GetCacheOK Successful operation
swagger:response getCacheOK
*/.
GetCacheOKBody get cache o k body
swagger:model GetCacheOKBody.
GetCacheParams contains all the bound params for the get cache operation typically these are obtained from a http.Request
swagger:parameters getCache.
GetCaches swagger:route GET /services/haproxy/configuration/caches Cache getCaches
# Return an array of caches
Returns an array of all configured caches.
GetCachesDefault General Error
swagger:response getCachesDefault
*/.
GetCachesOK Successful operation
swagger:response getCachesOK
*/.
GetCachesOKBody get caches o k body
swagger:model GetCachesOKBody.
GetCachesParams contains all the bound params for the get caches operation typically these are obtained from a http.Request
swagger:parameters getCaches.
GetCachesURL generates an URL for the get caches operation.
GetCacheURL generates an URL for the get cache operation.
ReplaceCache swagger:route PUT /services/haproxy/configuration/caches/{name} Cache replaceCache
# Replace a cache
Replaces a cache configuration by it's name.
ReplaceCacheAccepted Configuration change accepted and reload requested
swagger:response replaceCacheAccepted
*/.
ReplaceCacheBadRequest Bad request
swagger:response replaceCacheBadRequest
*/.
ReplaceCacheDefault General Error
swagger:response replaceCacheDefault
*/.
ReplaceCacheNotFound The specified resource was not found
swagger:response replaceCacheNotFound
*/.
ReplaceCacheOK Cache replaced
swagger:response replaceCacheOK
*/.
ReplaceCacheParams contains all the bound params for the replace cache operation typically these are obtained from a http.Request
swagger:parameters replaceCache.
ReplaceCacheURL generates an URL for the replace cache operation.
# Interfaces
CreateCacheHandler interface for that can handle valid create cache params.
DeleteCacheHandler interface for that can handle valid delete cache params.
GetCacheHandler interface for that can handle valid get cache params.
GetCachesHandler interface for that can handle valid get caches params.
ReplaceCacheHandler interface for that can handle valid replace cache params.
# Type aliases
CreateCacheHandlerFunc turns a function with the right signature into a create cache handler.
DeleteCacheHandlerFunc turns a function with the right signature into a delete cache handler.
GetCacheHandlerFunc turns a function with the right signature into a get cache handler.
GetCachesHandlerFunc turns a function with the right signature into a get caches handler.
ReplaceCacheHandlerFunc turns a function with the right signature into a replace cache handler.