MCPcopy Create free account
hub / github.com/eth-easl/dirigent / API

Struct API

internal/data_plane/haproxy/manager.go:55–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53type ReviseDataplanesInLBCall func(func([]string) bool) bool
54
55type 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
64func NewHAProxyAPI(loadBalancerAddress string) *API {
65 api := &API{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected