client-native icon indicating copy to clipboard operation
client-native copied to clipboard

Go client for HAProxy configuration and runtime API

Results 18 client-native issues
Sort by recently updated
recently updated
newest added

Hi, I'd like to bring your attention to a minor problem with Site objects. The `SiteService` and `SiteFarm` objects don't have a `From` field which prevents users from specifying a...

In this location, we use `err.Error()` after a potential situation of `err == nil`. https://github.com/haproxytech/client-native/blob/bee8caf96cec8431a372773d15ad657086fb8363/runtime/acls.go#L177 ``` response, err := s.ExecuteWithResponse(cmd) if err != nil { return "", fmt.Errorf("%s %w", err.Error(),...

### Adding model and specification for OpenNebula Service Discovery This PR is as close as possible to AWS with OpenNebula terminology. Dataplaneapi with OpenNebula support at the testing stage

`storage.Storage` struct creates SSL certificate files on disk with `0o644` permission. https://github.com/haproxytech/client-native/blob/63b32cc413b1ba29e747ce37d1308e1c4fe79159/storage/storage.go#L195C21-L195C21 Can this be made configurable by user as needed?

If I understand correctly, `clientnative.HAProxyClient` is the interface that is used to manage HAProxy instance in this library. I can see that, an operation like `AddMapEntry` is available via both...

Please improve usage examples. Current Readme is hard to understand. A good usage examples would be small application snippets with all imports and results are visible. I.e. see https://github.com/nats-io/go-nats-examples/tree/main/api-examples https://github.com/gnet-io/gnet-examples

enhancement

It seems that the global part lacks the maxconnrate option. Do you have any idea to solve this problem?

The commit ea81ccc (which intended to add support for options `http-no-delay` and `http_proxy`) introduced three new `model.Backend` attributes that clash with `HTTPConnectionMode`. These new attributes override whatever value `HTTPConnectionMode` has...

How can I interact with the runtime api over tcp? I've created a fork [https://github.com/theunknownport/client-native](https://github.com/theunknownport/client-native) where I just override the net.DialTimeout Function ``` - if api, err = net.DialTimeout("unix", s.socketPath,...