Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for StreamDone (0.62 sec)

  1. security/pkg/nodeagent/sds/sdsservice.go

    	s.Lock()
    	defer s.Unlock()
    	for _, client := range s.clients {
    		go func(client *Context) {
    			select {
    			case client.XdsConnection().PushCh() <- secretName:
    			case <-client.XdsConnection().StreamDone():
    			}
    		}(client)
    	}
    }
    
    func (c *Context) XdsConnection() *xds.Connection {
    	return &c.BaseConnection
    }
    
    var connectionNumber = int64(0)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 25 00:20:04 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. pkg/xds/server.go

    }
    
    func (conn *Connection) StopCh() chan struct{} {
    	return conn.stop
    }
    
    func (conn *Connection) ErrorCh() chan error {
    	return conn.errorChan
    }
    
    func (conn *Connection) StreamDone() <-chan struct{} {
    	return conn.stream.Context().Done()
    }
    
    func (conn *Connection) ID() string {
    	return conn.conID
    }
    
    func (conn *Connection) Peer() string {
    	return conn.peerAddr
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. pilot/pkg/xds/discovery.go

    			proxiesQueueTime.Record(time.Since(push.Start).Seconds())
    			var closed <-chan struct{}
    			if client.deltaStream != nil {
    				closed = client.deltaStream.Context().Done()
    			} else {
    				closed = client.StreamDone()
    			}
    			go func() {
    				pushEv := &Event{
    					pushRequest: push,
    					done:        doneFunc,
    				}
    
    				select {
    				case client.PushCh() <- pushEv:
    					return
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 20:21:09 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top