Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MeshClusters (0.22 sec)

  1. pkg/test/framework/components/cluster/clusters.go

    func (c Clusters) Remotes(excluded ...Cluster) Clusters {
    	return c.filterClusters(func(cc Cluster) bool {
    		return cc.IsRemote()
    	}, exclude(excluded...))
    }
    
    // MeshClusters returns the subset that are not external control plane clusters.
    func (c Clusters) MeshClusters(excluded ...Cluster) Clusters {
    	return c.filterClusters(func(cc Cluster) bool {
    		return !cc.IsExternalControlPlane()
    	}, exclude(excluded...))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. pkg/test/framework/components/environment/kube/fake.go

    		}, allClusters)
    		c := &kube.Cluster{Topology: topo}
    		res = append(res, c)
    		allClusters[c.Name()] = c
    	}
    	return res
    }
    
    func (f FakeEnvironment) Clusters() cluster.Clusters {
    	return f.AllClusters().MeshClusters()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. pkg/test/framework/components/environment/kube/kube.go

    	out := make([]cluster.Cluster, 0, len(e.clusters))
    	out = append(out, e.clusters...)
    	return out
    }
    
    func (e *Environment) Clusters() cluster.Clusters {
    	return e.AllClusters().MeshClusters()
    }
    
    // ClustersByNetwork returns an inverse mapping of the network topolgoy to a slice of clusters in a given network.
    func (e *Environment) ClustersByNetwork() map[string][]cluster.Cluster {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top