package
2.9.11+incompatible
Repository: https://github.com/haproxytech/dataplaneapi.git
Documentation: pkg.go.dev
# Functions
NewCreateUser creates a new http.Handler for the create user operation.
NewCreateUserAccepted creates CreateUserAccepted with default headers values.
NewCreateUserBadRequest creates CreateUserBadRequest with default headers values.
NewCreateUserConflict creates CreateUserConflict with default headers values.
NewCreateUserCreated creates CreateUserCreated with default headers values.
NewCreateUserDefault creates CreateUserDefault with default headers values.
NewCreateUserParams creates a new CreateUserParams object with the default values initialized.
NewDeleteUser creates a new http.Handler for the delete user operation.
NewDeleteUserAccepted creates DeleteUserAccepted with default headers values.
NewDeleteUserDefault creates DeleteUserDefault with default headers values.
NewDeleteUserNoContent creates DeleteUserNoContent with default headers values.
NewDeleteUserNotFound creates DeleteUserNotFound with default headers values.
NewDeleteUserParams creates a new DeleteUserParams object with the default values initialized.
NewGetUser creates a new http.Handler for the get user operation.
NewGetUserDefault creates GetUserDefault with default headers values.
NewGetUserNotFound creates GetUserNotFound with default headers values.
NewGetUserOK creates GetUserOK with default headers values.
NewGetUserParams creates a new GetUserParams object
There are no default values defined in the spec.
NewGetUsers creates a new http.Handler for the get users operation.
NewGetUsersDefault creates GetUsersDefault with default headers values.
NewGetUsersOK creates GetUsersOK with default headers values.
NewGetUsersParams creates a new GetUsersParams object
There are no default values defined in the spec.
NewReplaceUser creates a new http.Handler for the replace user operation.
NewReplaceUserAccepted creates ReplaceUserAccepted with default headers values.
NewReplaceUserBadRequest creates ReplaceUserBadRequest with default headers values.
NewReplaceUserDefault creates ReplaceUserDefault with default headers values.
NewReplaceUserNotFound creates ReplaceUserNotFound with default headers values.
NewReplaceUserOK creates ReplaceUserOK with default headers values.
NewReplaceUserParams creates a new ReplaceUserParams object with the default values initialized.
# Constants
CreateUserAcceptedCode is the HTTP code returned for type CreateUserAccepted.
CreateUserBadRequestCode is the HTTP code returned for type CreateUserBadRequest.
CreateUserConflictCode is the HTTP code returned for type CreateUserConflict.
CreateUserCreatedCode is the HTTP code returned for type CreateUserCreated.
DeleteUserAcceptedCode is the HTTP code returned for type DeleteUserAccepted.
DeleteUserNoContentCode is the HTTP code returned for type DeleteUserNoContent.
DeleteUserNotFoundCode is the HTTP code returned for type DeleteUserNotFound.
GetUserNotFoundCode is the HTTP code returned for type GetUserNotFound.
GetUserOKCode is the HTTP code returned for type GetUserOK.
GetUsersOKCode is the HTTP code returned for type GetUsersOK.
ReplaceUserAcceptedCode is the HTTP code returned for type ReplaceUserAccepted.
ReplaceUserBadRequestCode is the HTTP code returned for type ReplaceUserBadRequest.
ReplaceUserNotFoundCode is the HTTP code returned for type ReplaceUserNotFound.
ReplaceUserOKCode is the HTTP code returned for type ReplaceUserOK.
# Structs
CreateUser swagger:route POST /services/haproxy/configuration/users User createUser
Add a new userlist user
*/.
CreateUserAccepted Configuration change accepted and reload requested
swagger:response createUserAccepted
*/.
CreateUserBadRequest Bad request
swagger:response createUserBadRequest
*/.
CreateUserConflict The specified resource already exists
swagger:response createUserConflict
*/.
CreateUserCreated User created
swagger:response createUserCreated
*/.
CreateUserDefault General Error
swagger:response createUserDefault
*/.
CreateUserParams contains all the bound params for the create user operation typically these are obtained from a http.Request
swagger:parameters createUser.
CreateUserURL generates an URL for the create user operation.
DeleteUser swagger:route DELETE /services/haproxy/configuration/users/{username} User deleteUser
Delete a user
*/.
DeleteUserAccepted Configuration change accepted and reload requested
swagger:response deleteUserAccepted
*/.
DeleteUserDefault General Error
swagger:response deleteUserDefault
*/.
DeleteUserNoContent User deleted
swagger:response deleteUserNoContent
*/.
DeleteUserNotFound The specified resource was not found
swagger:response deleteUserNotFound
*/.
DeleteUserParams contains all the bound params for the delete user operation typically these are obtained from a http.Request
swagger:parameters deleteUser.
DeleteUserURL generates an URL for the delete user operation.
GetUser swagger:route GET /services/haproxy/configuration/users/{username} User getUser
Return one userlist user
*/.
GetUserDefault General Error
swagger:response getUserDefault
*/.
GetUserNotFound The specified resource already exists
swagger:response getUserNotFound
*/.
GetUserOK Successful operation
swagger:response getUserOK
*/.
GetUserOKBody get user o k body
swagger:model GetUserOKBody.
GetUserParams contains all the bound params for the get user operation typically these are obtained from a http.Request
swagger:parameters getUser.
GetUsers swagger:route GET /services/haproxy/configuration/users User getUsers
Return an array of userlist users
*/.
GetUsersDefault General Error
swagger:response getUsersDefault
*/.
GetUsersOK Successful operation
swagger:response getUsersOK
*/.
GetUsersOKBody get users o k body
swagger:model GetUsersOKBody.
GetUsersParams contains all the bound params for the get users operation typically these are obtained from a http.Request
swagger:parameters getUsers.
GetUsersURL generates an URL for the get users operation.
GetUserURL generates an URL for the get user operation.
ReplaceUser swagger:route PUT /services/haproxy/configuration/users/{username} User replaceUser
Replace a user
*/.
ReplaceUserAccepted Configuration change accepted and reload requested
swagger:response replaceUserAccepted
*/.
ReplaceUserBadRequest Bad request
swagger:response replaceUserBadRequest
*/.
ReplaceUserDefault General Error
swagger:response replaceUserDefault
*/.
ReplaceUserNotFound The specified resource was not found
swagger:response replaceUserNotFound
*/.
ReplaceUserOK User replaced
swagger:response replaceUserOK
*/.
ReplaceUserParams contains all the bound params for the replace user operation typically these are obtained from a http.Request
swagger:parameters replaceUser.
ReplaceUserURL generates an URL for the replace user operation.
# Interfaces
CreateUserHandler interface for that can handle valid create user params.
DeleteUserHandler interface for that can handle valid delete user params.
GetUserHandler interface for that can handle valid get user params.
GetUsersHandler interface for that can handle valid get users params.
ReplaceUserHandler interface for that can handle valid replace user params.
# Type aliases
CreateUserHandlerFunc turns a function with the right signature into a create user handler.
DeleteUserHandlerFunc turns a function with the right signature into a delete user handler.
GetUserHandlerFunc turns a function with the right signature into a get user handler.
GetUsersHandlerFunc turns a function with the right signature into a get users handler.
ReplaceUserHandlerFunc turns a function with the right signature into a replace user handler.