| 53 | type ReviseDataplanesInLBCall func(func([]string) bool) bool |
| 54 | |
| 55 | type API struct { |
| 56 | client *clientnative.HAProxyClient |
| 57 | lbAddress string |
| 58 | |
| 59 | // addressTo - e.g., 10.0.1.2:8080 -> dataplane_123 |
| 60 | addressToName map[string]string |
| 61 | mutex sync.Mutex |
| 62 | } |
| 63 | |
| 64 | func NewHAProxyAPI(loadBalancerAddress string) *API { |
| 65 | api := &API{ |
nothing calls this directly
no outgoing calls
no test coverage detected