Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TODO: This is configurable :) DefaultAlgo = "rr" DefaultWeight = 1 )
Variables ¶
View Source
var ( OnlyOutput = flag.Bool("only-output", false, "Only output the ipvsadm-restore file instead of calling ipvsadm-restore") IPVSAdmPath = flag.String("ipvsadm", "/usr/sbin/ipvsadm", "Defines the path of ipvsadm-restore command") NodeAddress = flag.StringSlice("nodeport-address", interfaceAddresses(), "A comma-separated list of IPs to associate when using NodePort type. Defaults to all the Node addresses") IPVSExcludeCIDRS = flag.StringSlice("ipvs-exclude-cidrs", nil, "A comma-separated list of CIDR's which the ipvs proxier should not touch when cleaning up IPVS rules.") IPVSStrictArp = flag.Bool("ipvs-strict-arp", false, "Enable strict ARP by setting arp_ignore to 1 and arp_announce to 2") )
Functions ¶
func Callback ¶
func Callback(ch <-chan *client.ServiceEndpoints)
func NewDummyInterface ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.