Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ValidateCluster (0.24 sec)

  1. pilot/test/xdstest/validate.go

    	found := sets.New[string]()
    	for _, l := range ls {
    		if found.Contains(l.Name) {
    			t.Errorf("duplicate cluster name %v", l.Name)
    		}
    		found.Insert(l.Name)
    		ValidateCluster(t, l)
    	}
    }
    
    func ValidateCluster(t testing.TB, c *cluster.Cluster) {
    	if err := c.Validate(); err != nil {
    		t.Errorf("cluster %v is invalid: %v", c.Name, err)
    	}
    	validateClusterTLS(t, c)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top