/models

HAProxy Go structs for API

Apache License 2.0Apache-2.0

HAProxy

HAProxy Swagger Models

This project contains structs and validation methods that are autogenerated using go-swagger from the swagger spec found here.These structs and are used in the DataPlaneAPI and client-native.

Contributing

You can generate the models using the following command in build directory:

swagger generate model -f haproxy_spec.yaml \
    -r ../copyright.txt \
    -m models \
    -t $GOPATH/src/github.com/haproxytech/

For commit messages and general style please follow the haproxy project's CONTRIBUTING guide and use that where applicable.