- Sort Score
- Result 10 results
- Languages All
Results 21 - 25 of 25 for newConnections (0.21 sec)
-
internal/grid/manager.go
if host == o.Local { if found { return nil, fmt.Errorf("grid: local host found multiple times") } found = true // No connection to local. continue } m.targets[host] = newConnection(connectionParams{ ctx: ctx, id: m.ID, local: o.Local, remote: host, dial: o.Dialer, handlers: &m.handlers, auth: o.AddAuth,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 17:40:33 UTC 2024 - 9.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go
} } client := &http.Client{Transport: spdyTransport} resp, err := client.Do(req) var conn httpstream.Connection if err == nil { conn, err = spdyTransport.NewConnection(resp) } haveErr := err != nil if e, a := testCase.shouldError, haveErr; e != a { t.Fatalf("shouldError=%t, got %t: %v", e, a, err) } if testCase.shouldError { return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 23 22:33:38 UTC 2023 - 32.7K bytes - Viewed (0) -
pkg/xds/server.go
reqChan chan *discovery.DiscoveryRequest // errorChan is used to process error during discovery request processing. errorChan chan error } func NewConnection(peerAddr string, stream DiscoveryStream) Connection { return Connection{ pushChannel: make(chan any), initialized: make(chan struct{}), stop: make(chan struct{}),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 20:55:20 UTC 2024 - 16.3K bytes - Viewed (0) -
internal/grid/connection.go
outgoingBytes func(n int64) // Record outgoing bytes. publisher *pubsub.PubSub[madmin.TraceInfo, madmin.TraceType] blockConnect chan struct{} } // newConnection will create an unconnected connection to a remote. func newConnection(o connectionParams) *Connection { c := &Connection{ state: StateUnconnected, Remote: o.remote, Local: o.local,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 44.8K bytes - Viewed (0) -
pilot/pkg/xds/delta.go
} // Else fallback based on type return xds.IsWildcardTypeURL(w.TypeUrl) } func newDeltaConnection(peerAddr string, stream DeltaDiscoveryStream) *Connection { return &Connection{ Connection: xds.NewConnection(peerAddr, nil), deltaStream: stream, deltaReqChan: make(chan *discovery.DeltaDiscoveryRequest, 1), } } // To satisfy methods that need DiscoveryRequest. Not suitable for real usage
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 25.6K bytes - Viewed (0)