Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ConnectedAt (0.15 sec)

  1. pkg/xds/server.go

    }
    
    func (conn *Connection) Peer() string {
    	return conn.peerAddr
    }
    
    func (conn *Connection) SetID(id string) {
    	conn.conID = id
    }
    
    func (conn *Connection) ConnectedAt() time.Time {
    	return conn.connectedAt
    }
    
    func (conn *Connection) Stop() {
    	close(conn.stop)
    }
    
    func (conn *Connection) MarkInitialized() {
    	close(conn.initialized)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. pilot/pkg/xds/debug.go

    </table>
    <br/>
    </body>
    </html>
    `))
    
    // AdsClient defines the data that is displayed on "/adsz" endpoint.
    type AdsClient struct {
    	ConnectionID string              `json:"connectionId"`
    	ConnectedAt  time.Time           `json:"connectedAt"`
    	PeerAddress  string              `json:"address"`
    	Labels       map[string]string   `json:"labels"`
    	Metadata     *model.NodeMetadata `json:"metadata,omitempty"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  3. pilot/pkg/autoregistration/connections.go

    // This interface exists to avoid circular reference to xds.Connection as well
    // as keeps the API surface scoped to what we need for auto-registration logic.
    type connection interface {
    	ID() string
    	Proxy() *model.Proxy
    	ConnectedAt() time.Time
    	Stop()
    }
    
    // a single proxy may have multiple connections, so we track them here
    // when a WorkloadGroup is deleted, we can force disconnects
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 19 20:41:55 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. pilot/pkg/autoregistration/controller.go

    				proxy := conn.Proxy()
    				entryName := autoregisteredWorkloadEntryName(proxy)
    				if entryName == "" {
    					continue
    				}
    				if err := c.registerWorkload(entryName, proxy, conn.ConnectedAt()); err != nil {
    					log.Error(err)
    				}
    				proxy.SetWorkloadEntry(entryName, true)
    			}
    			return nil
    		}))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  5. tests/fuzz/autoregistration_controller_fuzzer.go

    }
    
    func (f *fakeConn) ID() string {
    	return fmt.Sprintf("%s-%v", f.proxy.IPAddresses[0], f.connTime)
    }
    
    func (f *fakeConn) Proxy() *model.Proxy {
    	return f.proxy
    }
    
    func (f *fakeConn) ConnectedAt() time.Time {
    	return f.connTime
    }
    
    func (f *fakeConn) Stop() {
    	f.stopped = true
    }
    
    var (
    	// A valid WorkloadGroup.
    	// This can be modified to have pseudo-random
    	// values for more randomization.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 19 20:41:55 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. pilot/pkg/autoregistration/controller_test.go

    }
    
    func (f *fakeConn) ID() string {
    	return fmt.Sprintf("%s-%v", f.proxy.IPAddresses[0], f.connTime)
    }
    
    func (f *fakeConn) Proxy() *model.Proxy {
    	return f.proxy
    }
    
    func (f *fakeConn) ConnectedAt() time.Time {
    	return f.connTime
    }
    
    func (f *fakeConn) Stop() {
    	f.Lock()
    	defer f.Unlock()
    	f.stopped = true
    }
    
    func (f *fakeConn) Stopped() bool {
    	f.RLock()
    	defer f.RUnlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 31.4K bytes
    - Viewed (0)
Back to top