Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for initConnection (0.12 sec)

  1. pilot/pkg/xds/ads.go

    	return &Connection{
    		Connection: xds.NewConnection(peerAddr, stream),
    	}
    }
    
    func (conn *Connection) Initialize(node *core.Node) error {
    	return conn.s.initConnection(node, conn, conn.ids)
    }
    
    func (conn *Connection) Close() {
    	conn.s.closeConnection(conn)
    }
    
    func (conn *Connection) Watcher() xds.Watcher {
    	return conn.proxy
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. pilot/pkg/xds/delta.go

    				continue
    			}
    			firstRequest = false
    			if req.Node == nil || req.Node.Id == "" {
    				con.ErrorCh() <- status.New(codes.InvalidArgument, "missing node information").Err()
    				return
    			}
    			if err := s.initConnection(req.Node, con, identities); err != nil {
    				con.ErrorCh() <- err
    				return
    			}
    			defer s.closeConnection(con)
    			deltaLog.Infof("ADS: new delta connection for node:%s", con.ID())
    		}
    
    		select {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top