Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fillDefaults (0.17 sec)

  1. pilot/pkg/networking/core/cluster_test.go

    }
    
    func (c clusterTest) fillDefaults() clusterTest {
    	if c.proxyIps == nil {
    		c.proxyIps = []string{"6.6.6.6", "::1"}
    	}
    	if c.istioVersion == nil {
    		c.istioVersion = model.MaxIstioVersion
    	}
    	if c.meta == nil {
    		c.meta = &model.NodeMetadata{}
    	}
    	return c
    }
    
    func buildTestClusters(c clusterTest) []*cluster.Cluster {
    	c = c.fillDefaults()
    
    	servicePort := model.PortList{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
Back to top