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

# Functions

NewCreateNameserver creates a new http.Handler for the create nameserver operation.
NewCreateNameserverAccepted creates CreateNameserverAccepted with default headers values.
NewCreateNameserverBadRequest creates CreateNameserverBadRequest with default headers values.
NewCreateNameserverConflict creates CreateNameserverConflict with default headers values.
NewCreateNameserverCreated creates CreateNameserverCreated with default headers values.
NewCreateNameserverDefault creates CreateNameserverDefault with default headers values.
NewCreateNameserverParams creates a new CreateNameserverParams object with the default values initialized.
NewDeleteNameserver creates a new http.Handler for the delete nameserver operation.
NewDeleteNameserverAccepted creates DeleteNameserverAccepted with default headers values.
NewDeleteNameserverDefault creates DeleteNameserverDefault with default headers values.
NewDeleteNameserverNoContent creates DeleteNameserverNoContent with default headers values.
NewDeleteNameserverNotFound creates DeleteNameserverNotFound with default headers values.
NewDeleteNameserverParams creates a new DeleteNameserverParams object with the default values initialized.
NewGetNameserver creates a new http.Handler for the get nameserver operation.
NewGetNameserverDefault creates GetNameserverDefault with default headers values.
NewGetNameserverNotFound creates GetNameserverNotFound with default headers values.
NewGetNameserverOK creates GetNameserverOK with default headers values.
NewGetNameserverParams creates a new GetNameserverParams object There are no default values defined in the spec.
NewGetNameservers creates a new http.Handler for the get nameservers operation.
NewGetNameserversDefault creates GetNameserversDefault with default headers values.
NewGetNameserversOK creates GetNameserversOK with default headers values.
NewGetNameserversParams creates a new GetNameserversParams object There are no default values defined in the spec.
NewReplaceNameserver creates a new http.Handler for the replace nameserver operation.
NewReplaceNameserverAccepted creates ReplaceNameserverAccepted with default headers values.
NewReplaceNameserverBadRequest creates ReplaceNameserverBadRequest with default headers values.
NewReplaceNameserverDefault creates ReplaceNameserverDefault with default headers values.
NewReplaceNameserverNotFound creates ReplaceNameserverNotFound with default headers values.
NewReplaceNameserverOK creates ReplaceNameserverOK with default headers values.
NewReplaceNameserverParams creates a new ReplaceNameserverParams object with the default values initialized.

# Constants

CreateNameserverAcceptedCode is the HTTP code returned for type CreateNameserverAccepted.
CreateNameserverBadRequestCode is the HTTP code returned for type CreateNameserverBadRequest.
CreateNameserverConflictCode is the HTTP code returned for type CreateNameserverConflict.
CreateNameserverCreatedCode is the HTTP code returned for type CreateNameserverCreated.
DeleteNameserverAcceptedCode is the HTTP code returned for type DeleteNameserverAccepted.
DeleteNameserverNoContentCode is the HTTP code returned for type DeleteNameserverNoContent.
DeleteNameserverNotFoundCode is the HTTP code returned for type DeleteNameserverNotFound.
GetNameserverNotFoundCode is the HTTP code returned for type GetNameserverNotFound.
GetNameserverOKCode is the HTTP code returned for type GetNameserverOK.
GetNameserversOKCode is the HTTP code returned for type GetNameserversOK.
ReplaceNameserverAcceptedCode is the HTTP code returned for type ReplaceNameserverAccepted.
ReplaceNameserverBadRequestCode is the HTTP code returned for type ReplaceNameserverBadRequest.
ReplaceNameserverNotFoundCode is the HTTP code returned for type ReplaceNameserverNotFound.
ReplaceNameserverOKCode is the HTTP code returned for type ReplaceNameserverOK.

# Structs

CreateNameserver swagger:route POST /services/haproxy/configuration/nameservers Nameserver createNameserver # Add a nameserver Adds a new nameserver to the resolvers section.
CreateNameserverAccepted Configuration change accepted and reload requested swagger:response createNameserverAccepted */.
CreateNameserverBadRequest Bad request swagger:response createNameserverBadRequest */.
CreateNameserverConflict The specified resource already exists swagger:response createNameserverConflict */.
CreateNameserverCreated Nameserver created swagger:response createNameserverCreated */.
CreateNameserverDefault General Error swagger:response createNameserverDefault */.
CreateNameserverParams contains all the bound params for the create nameserver operation typically these are obtained from a http.Request swagger:parameters createNameserver.
CreateNameserverURL generates an URL for the create nameserver operation.
DeleteNameserver swagger:route DELETE /services/haproxy/configuration/nameservers/{name} Nameserver deleteNameserver # Delete a nameserver Deletes a nameserver from the resolvers section by it's name.
DeleteNameserverAccepted Configuration change accepted and reload requested swagger:response deleteNameserverAccepted */.
DeleteNameserverDefault General Error swagger:response deleteNameserverDefault */.
DeleteNameserverNoContent Nameserver deleted swagger:response deleteNameserverNoContent */.
DeleteNameserverNotFound The specified resource was not found swagger:response deleteNameserverNotFound */.
DeleteNameserverParams contains all the bound params for the delete nameserver operation typically these are obtained from a http.Request swagger:parameters deleteNameserver.
DeleteNameserverURL generates an URL for the delete nameserver operation.
GetNameserver swagger:route GET /services/haproxy/configuration/nameservers/{name} Nameserver getNameserver # Return a nameserver Returns one nameserver configuration by it's name.
GetNameserverDefault General Error swagger:response getNameserverDefault */.
GetNameserverNotFound The specified resource was not found swagger:response getNameserverNotFound */.
GetNameserverOK Successful operation swagger:response getNameserverOK */.
GetNameserverParams contains all the bound params for the get nameserver operation typically these are obtained from a http.Request swagger:parameters getNameserver.
GetNameservers swagger:route GET /services/haproxy/configuration/nameservers Nameserver getNameservers # Return an array of nameservers Returns an array of all configured nameservers.
GetNameserversDefault General Error swagger:response getNameserversDefault */.
GetNameserversOK Successful operation swagger:response getNameserversOK */.
GetNameserversParams contains all the bound params for the get nameservers operation typically these are obtained from a http.Request swagger:parameters getNameservers.
GetNameserversURL generates an URL for the get nameservers operation.
GetNameserverURL generates an URL for the get nameserver operation.
ReplaceNameserver swagger:route PUT /services/haproxy/configuration/nameservers/{name} Nameserver replaceNameserver # Replace a nameserver Replaces a nameserver configuration by it's name.
ReplaceNameserverAccepted Configuration change accepted and reload requested swagger:response replaceNameserverAccepted */.
ReplaceNameserverBadRequest Bad request swagger:response replaceNameserverBadRequest */.
ReplaceNameserverDefault General Error swagger:response replaceNameserverDefault */.
ReplaceNameserverNotFound The specified resource was not found swagger:response replaceNameserverNotFound */.
ReplaceNameserverOK Nameserver replaced swagger:response replaceNameserverOK */.
ReplaceNameserverParams contains all the bound params for the replace nameserver operation typically these are obtained from a http.Request swagger:parameters replaceNameserver.
ReplaceNameserverURL generates an URL for the replace nameserver operation.

# Interfaces

CreateNameserverHandler interface for that can handle valid create nameserver params.
DeleteNameserverHandler interface for that can handle valid delete nameserver params.
GetNameserverHandler interface for that can handle valid get nameserver params.
GetNameserversHandler interface for that can handle valid get nameservers params.
ReplaceNameserverHandler interface for that can handle valid replace nameserver params.

# Type aliases

CreateNameserverHandlerFunc turns a function with the right signature into a create nameserver handler.
DeleteNameserverHandlerFunc turns a function with the right signature into a delete nameserver handler.
GetNameserverHandlerFunc turns a function with the right signature into a get nameserver handler.
GetNameserversHandlerFunc turns a function with the right signature into a get nameservers handler.
ReplaceNameserverHandlerFunc turns a function with the right signature into a replace nameserver handler.