Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewNodes (0.06 sec)

  1. pkg/test/loadbalancersim/mesh/mesh.go

    			}, time.Now().Add(networkLatency))
    		}
    	}
    
    	return network.NewConnection(dest.Name(), request)
    }
    
    func (m *Instance) ShutDown() {
    	m.networkQ.ShutDown()
    	m.nodes.ShutDown()
    }
    
    func (m *Instance) NewNodes(count int, serviceTime time.Duration, enableQueueLatency bool, locality locality.Instance) Nodes {
    	out := make(Nodes, 0, count)
    	for i := 0; i < count; i++ {
    		name := fmt.Sprintf("%s_%d", locality, i)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 27 20:55:37 UTC 2022
    - 2.3K bytes
    - Viewed (0)
Back to top