Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ExtractCluster (0.14 sec)

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

    	// settings specified at the destination level
    	g.Expect(getTLSContext(t, xdstest.ExtractCluster("outbound|8080|foobar|foo.example.org", clusters))).To(BeNil())
    
    	expected := []string{
    		"outbound|8080||foo.example.org",
    		"outbound|9090||foo.example.org",
    		"outbound|9090|foobar|foo.example.org",
    	}
    	for _, e := range expected {
    		c := xdstest.ExtractCluster(e, clusters)
    		tlsContext := getTLSContext(t, c)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  2. pilot/test/xdstest/extract.go

    }
    
    func ExtractClusters(cc []*cluster.Cluster) map[string]*cluster.Cluster {
    	res := map[string]*cluster.Cluster{}
    	for _, c := range cc {
    		res[c.Name] = c
    	}
    	return res
    }
    
    func ExtractCluster(name string, cc []*cluster.Cluster) *cluster.Cluster {
    	return ExtractClusters(cc)[name]
    }
    
    func ExtractClusterEndpoints(clusters []*cluster.Cluster) map[string][]string {
    	cla := []*endpoint.ClusterLoadAssignment{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
Back to top