kubernetes/vendor/github.com/moby/ipvs
Davanum Srinivas d9b98bc36a
Update to new release of moby/ipvs
hack/pin-dependency.sh github.com/moby/ipvs v1.1.0

- go to a fixed tag for `vishvananda/netns`
- no more references to `pkg/errors`

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-01-14 16:13:24 -05:00
..
.gitignore
.golangci.yml Update to new release of moby/ipvs 2023-01-14 16:13:24 -05:00
constants_linux.go Update to new release of moby/ipvs 2023-01-14 16:13:24 -05:00
doc.go
ipvs_linux.go Update to new release of moby/ipvs 2023-01-14 16:13:24 -05:00
LICENSE Update to new release of moby/ipvs 2023-01-14 16:13:24 -05:00
netlink_linux.go Update to new release of moby/ipvs 2023-01-14 16:13:24 -05:00
README.md Update to new release of moby/ipvs 2023-01-14 16:13:24 -05: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.

Copyright 2015 Docker, inc. Code released under the Apache 2.0 license.