Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Golang client for the HAProxy Data Plane API.

License

Notifications You must be signed in to change notification settings

form3tech-oss/haproxy-data-plane-api-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

haproxy-data-plane-api-client

Golang client for the HAProxy Data Plane API.

Prerequisites

Generating

# Clone https://github.com/haproxytech/models.git.
$ git clone https://github.com/haproxytech/models.git \
    $GOPATH/src/github.com/haproxytech/models
$ cd $GOPATH/src/github.com/haproxytech/models
$ git checkout acf2bae
# Clone https://github.com/haproxytech/dataplaneapi-specification.git.
$ git clone ttps://github.com/haproxytech/dataplaneapi-specification.git \
    $GOPATH/src/github.com/haproxytech/dataplaceapi-specification
$ cd $GOPATH/src/github.com/haproxytech/dataplaceapi-specification
$ git checkout 93629aa
# Generate the 'haproxy_spec.yaml' file.
$ cd $GOPATH/src/github.com/haproxytech/dataplaceapi-specification/build
$ go run build.go -file ../haproxy-spec.yaml > haproxy_spec.yaml
# Generate the client.
$ swagger generate client -f haproxy_spec.yaml \
    -A "Data Plane" \
    -t $GOPATH/src/github.com/form3tech-oss/haproxy-data-plane-api-client \
    --existing-models github.com/haproxytech/models \
    -r ../copyright.txt

About

Golang client for the HAProxy Data Plane API.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •