google / seesaw

Seesaw v2 is a Linux Virtual Server (LVS) based load balancing platform.
Apache License 2.0
5.65k stars 511 forks source link

ncclient package cleanup #101

Closed unicell closed 4 years ago

unicell commented 4 years ago

This change colocates dummyNCC implementation to ncclient package to make the package boundary clear.

As part of the change, it also split out the ncclient interface definition to its own file (client.go). And default implementation to default.go

Also expoese dummyLBInterface struct details for testing purposes.

unicell commented 4 years ago

Just to provide more context for the change. This is to allow dummy NCC implementation to be consumed by 3rd party projects, as part of the ncc/client package itself.