Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetClusterConfigDump (0.12 sec)

  1. istioctl/pkg/writer/envoy/configdump/cluster.go

    }
    
    func (c *ConfigWriter) retrieveSortedClusterSlice() ([]*cluster.Cluster, error) {
    	if c.configDump == nil {
    		return nil, fmt.Errorf("config writer has not been primed")
    	}
    	clusterDump, err := c.configDump.GetClusterConfigDump()
    	if err != nil {
    		return nil, err
    	}
    	clusters := make([]*cluster.Cluster, 0)
    	for _, c := range clusterDump.DynamicActiveClusters {
    		if c.Cluster != nil {
    			clusterTyped := &cluster.Cluster{}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu May 11 05:38:17 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. istioctl/pkg/describe/describe.go

    		Port: int(port),
    		// Although we want inbound traffic, ask for outbound traffic, as the DR is
    		// not associated with the inbound traffic.
    		Direction: model.TrafficDirectionOutbound,
    	}
    
    	dump, err := cd.GetClusterConfigDump()
    	if err != nil {
    		return "", err
    	}
    
    	for _, dac := range dump.DynamicActiveClusters {
    		clusterTyped := &cluster.Cluster{}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top