MCPcopy
hub / github.com/google/seesaw / DummyLBInterface

Struct DummyLBInterface

ncc/client/dummy.go:63–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61func (nc *dummyNCC) RouteDefaultIPv4() (net.IP, error) { return nil, nil }
62
63type DummyLBInterface struct {
64 Vips map[seesaw.VIP]bool
65 Vlans map[uint16]bool
66 Vservers map[string]map[seesaw.AF]bool
67}
68
69// NewDummyLBInterface returns a dummy LBInterface for testing purpose.
70// Internally it tracks the vips, vlans and vservers resources it manages and

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected