Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetClusterConfigDump (0.29 sec)

  1. istioctl/pkg/util/configdump/cluster.go

    		for i := range dac {
    			dac[i].VersionInfo = ""
    			dac[i].LastUpdated = nil
    		}
    	}
    	return &admin.ClustersConfigDump{DynamicActiveClusters: dac}, nil
    }
    
    // GetClusterConfigDump retrieves the cluster config dump from the ConfigDump
    func (w *Wrapper) GetClusterConfigDump() (*admin.ClustersConfigDump, error) {
    	clusterDumpAny, err := w.getSection(clusters)
    	if err != nil {
    		return nil, err
    	}
    	clusterDump := &admin.ClustersConfigDump{}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  2. 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)
  3. 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