Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 251 for clusterIPs (0.18 sec)

  1. pkg/kube/multicluster/clusterstore.go

    	c.RLock()
    	defer c.RUnlock()
    	return c.clusters.Contains(string(clusterID))
    }
    
    func (c *ClusterStore) GetByID(clusterID cluster.ID) *Cluster {
    	c.RLock()
    	defer c.RUnlock()
    	for _, clusters := range c.remoteClusters {
    		c, ok := clusters[clusterID]
    		if ok {
    			return c
    		}
    	}
    	return nil
    }
    
    // All returns a copy of the current remote clusters.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 07 15:01:12 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/cluster.go

    			}
    			clusters = append(clusters, clusterTyped)
    		}
    	}
    	if len(clusters) == 0 {
    		return nil, fmt.Errorf("no clusters found")
    	}
    	sort.Slice(clusters, func(i, j int) bool {
    		iDirection, iSubset, iName, iPort := safelyParseSubsetKey(clusters[i].Name)
    		jDirection, jSubset, jName, jPort := safelyParseSubsetKey(clusters[j].Name)
    		if iName == jName {
    			if iSubset == jSubset {
    				if iPort == jPort {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 05:38:17 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. pkg/test/framework/resource/environment.go

    type Environment interface {
    	Resource
    
    	EnvironmentName() string
    
    	// Clusters in this Environment. There will always be at least one.
    	Clusters() cluster.Clusters
    
    	// AllClusters in this Environment, including external control planes.
    	AllClusters() cluster.Clusters
    	IsMultiCluster() bool
    	IsMultiNetwork() bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 27 15:52:38 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  4. pkg/kube/multicluster/component.go

    	constructor func(cluster *Cluster) T
    	clusters    map[cluster.ID]T
    }
    
    func (m *Component[T]) ForCluster(clusterID cluster.ID) *T {
    	m.mu.RLock()
    	defer m.mu.RUnlock()
    	t, f := m.clusters[clusterID]
    	if !f {
    		return nil
    	}
    	return &t
    }
    
    func (m *Component[T]) All() []T {
    	m.mu.RLock()
    	defer m.mu.RUnlock()
    	return maps.Values(m.clusters)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. releasenotes/notes/set-tcp-idle-timeout-in-http-clusters.yaml

    Jacek Ewertowski <******@****.***> 1704944248 +0100
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 11 03:37:28 UTC 2024
    - 168 bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster_waypoint.go

    	svcs map[host.Name]*model.Service,
    ) []*cluster.Cluster {
    	clusters := make([]*cluster.Cluster, 0)
    	// Creates "main_internal" cluster to route to the main internal listener.
    	// Creates "encap" cluster to route to the encap listener.
    	clusters = append(clusters, MainInternalCluster, EncapCluster)
    	// Creates per-VIP load balancing upstreams.
    	clusters = append(clusters, cb.buildWaypointInboundVIP(proxy, svcs)...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. istioctl/pkg/util/clusters/wrapper.go

    // limitations under the License.
    
    package clusters
    
    import (
    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // Wrapper is a wrapper around the Envoy Clusters
    // It has extra helper functions for handling any/struct/marshal protobuf pain
    type Wrapper struct {
    	*admin.Clusters
    }
    
    // MarshalJSON is a custom marshaller to handle protobuf pain
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/instances.go

    	}
    	return out
    }
    
    // Clusters returns a list of cluster names that the instances are deployed in
    func (i Instances) Clusters() cluster.Clusters {
    	clusters := map[string]cluster.Cluster{}
    	for _, instance := range i {
    		clusters[instance.Config().Cluster.Name()] = instance.Config().Cluster
    	}
    	out := make(cluster.Clusters, 0, len(clusters))
    	for _, c := range clusters {
    		out = append(out, c)
    	}
    	return out
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 18:26:17 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. tests/integration/pilot/piggyback_test.go

    					output, _, err := istioCtl.Invoke(args)
    					if err != nil {
    						return err
    					}
    					return expectSubstrings(output, "Clusters Match", "Listeners Match", "Routes Match")
    				})
    
    				// Test gRPC-based tapped XDS using istioctl.
    				retry.UntilSuccessOrFail(t, func() error {
    					pf, err := t.Clusters()[0].NewPortForwarder(podName, namespace, "localhost", 0, 15004)
    					if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. pkg/test/framework/components/environment/kube/fake.go

    	return false
    }
    
    func (f FakeEnvironment) EnvironmentName() string {
    	if len(f.Name) == 0 {
    		return "fake"
    	}
    	return f.Name
    }
    
    func (f FakeEnvironment) AllClusters() cluster.Clusters {
    	res := cluster.Clusters{}
    	allClusters := make(cluster.Map)
    
    	for i := 0; i < f.NumClusters; i++ {
    		topo := cluster.NewTopology(cluster.Config{
    			Name:               fmt.Sprintf("cluster-%d", i),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top