1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/libnetwork/vendor/github.com/moby/ipvs
Sebastiaan van Stijn c30d55d067 vendor: update moby/ipvs v1.0.1
full diff: https://github.com/moby/ipvs/compare/v1.0.0...v1.0.1

- Fix compatibility issue on older kernels (< 3.18) where the address
  family attribute for destination servers do not exist
- Fix the stats attribute check when parsing destination addresses
- NetlinkSocketsTimeout should be a constant

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-28 17:04:14 +02:00
..
constants.go Use vendored ipvs package 2020-03-11 12:13:37 -07:00
doc.go Use vendored ipvs package 2020-03-11 12:13:37 -07:00
go.mod vendor: update vishvananda/netlink v1.1.0 2020-03-12 18:25:54 +01:00
ipvs.go Use vendored ipvs package 2020-03-11 12:13:37 -07:00
LICENSE Use vendored ipvs package 2020-03-11 12:13:37 -07:00
netlink.go vendor: update moby/ipvs v1.0.1 2020-04-28 17:04:14 +02:00
README.md vendor: update vishvananda/netlink v1.1.0 2020-03-12 18:25:54 +01:00

ipvs - networking for containers

Test GoDoc Go Report Card

ipvs provides a native Go implementation for communicating with IPVS kernel module using a netlink socket.

Using ipvs

import (
	"log"

	"github.com/moby/ipvs"
)

func main() {
	handle, err := ipvs.New("")
	if err != nil {
		log.Fatalf("ipvs.New: %s", err)
	}
	svcs, err := handle.GetServices()
	if err != nil {
		log.Fatalf("handle.GetServices: %s", err)
	}
}

Contributing

Want to hack on ipvs? Docker's contributions guidelines apply.

Code and documentation copyright 2015 Docker, inc. Code released under the Apache 2.0 license. Docs released under Creative commons.