package
0.0.0-20221009103325-547473fcf850
Repository: https://github.com/shaardie/lb-api.git
Documentation: pkg.go.dev

# Functions

Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewCreateLoadBalancerRequest calls the generic CreateLoadBalancer builder with application/json body.
NewCreateLoadBalancerRequestWithBody generates requests for CreateLoadBalancer with any type of body.
NewDeleteLoadBalancerRequest generates requests for DeleteLoadBalancer.
NewGetHealthRequest generates requests for GetHealth.
NewGetLoadbalancerRequest generates requests for GetLoadbalancer.
NewGetLoadbalancersRequest generates requests for GetLoadbalancers.
ParseCreateLoadBalancerResponse parses an HTTP response from a CreateLoadBalancerWithResponse call.
ParseDeleteLoadBalancerResponse parses an HTTP response from a DeleteLoadBalancerWithResponse call.
ParseGetHealthResponse parses an HTTP response from a GetHealthWithResponse call.
ParseGetLoadbalancerResponse parses an HTTP response from a GetLoadbalancerWithResponse call.
ParseGetLoadbalancersResponse parses an HTTP response from a GetLoadbalancersWithResponse call.
RegisterHandlers adds each server route to the EchoRouter.
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.
WithBaseURL overrides the baseURL.
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client.
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request.

# Constants

No description provided by the author

# Structs

Backend defines model for backend.
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
Config defines model for config.
No description provided by the author
No description provided by the author
Error defines model for error.
Frontend defines model for frontend.
No description provided by the author
No description provided by the author
No description provided by the author
Loadbalancer defines model for loadbalancer.
ServerInterfaceWrapper converts echo contexts to parameters.
Status defines model for status.

# Interfaces

The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration.
Doer performs HTTP requests.
ServerInterface represents all server handlers.

# Type aliases

ClientOption allows setting custom parameters during construction.
CreateLoadBalancerJSONBody defines parameters for CreateLoadBalancer.
CreateLoadBalancerJSONRequestBody defines body for CreateLoadBalancer for application/json ContentType.
Name defines model for name.
RequestEditorFn is the function signature for the RequestEditor callback function.