const testLoadBalanceClientUsername …
type staticURLServiceResolver …
func (u staticURLServiceResolver) ResolveEndpoint(namespace, name string, port int32) (*url.URL, error) { … }
func TestWebhookLoadBalance(t *testing.T) { … }
type connectionRecorder …
func (i *connectionRecorder) Reset() chan struct{ … }
func (i *connectionRecorder) MarkerReceived() { … }
func newLoadBalanceWebhookHandler(recorder *connectionRecorder) http.Handler { … }
var loadBalanceMarkerFixture …
type connectionTrackingListener …
func (c *connectionTrackingListener) Reset() { … }
func (c *connectionTrackingListener) Accept() (net.Conn, error) { … }
func (c *connectionTrackingListener) Close() error { … }
func (c *connectionTrackingListener) Addr() net.Addr { … }