denibertovic / docker-hs

A Haskell library for the Docker Engine API
BSD 3-Clause "New" or "Revised" License
76 stars 48 forks source link

Network endpoints #70

Open protoben opened 5 years ago

protoben commented 5 years ago

Hi, and sorry for the unsolicited PR.

I've been using your library for a project, and I ended up needing some additional endpoints and other features dealing with docker networking. I've implemented them, and I'm currently using them on my own fork, but I thought I would make them available to you guys, in case you were interested in merging them. I'm happy to make changes, if it would help get this merged, as it would be nice to be able to use the Hackage version of your library for my project.

Here is a list of the endpoints I've implemented:

In addition, I've filled out the CreateNetworkOpts fields for createNetwork, to allow for more configurability on network creation. I've also added integration tests for the new features.

Thanks.