Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewXdsComparator (0.09 sec)

  1. istioctl/pkg/writer/compare/comparator.go

    		return nil, err
    	}
    	c.envoy = envoyDump
    	c.w = w
    	c.context = 7
    	c.location = "Local" // the time.Location for formatting time.Time instances
    	return c, nil
    }
    
    // NewXdsComparator is a comparator constructor
    func NewXdsComparator(w io.Writer, istiodResponses map[string]*discovery.DiscoveryResponse, envoyResponse []byte) (*Comparator, error) {
    	c := &Comparator{}
    	for _, resp := range istiodResponses {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. istioctl/pkg/proxystatus/proxystatus.go

    				}
    				xdsResponses, err := multixds.FirstRequestAndProcessXds(&xdsRequest, centralOpts, ctx.IstioNamespace(), "", "", kubeClient, multiXdsOpts)
    				if err != nil {
    					return err
    				}
    				c, err := compare.NewXdsComparator(c.OutOrStdout(), xdsResponses, envoyDump)
    				if err != nil {
    					return err
    				}
    				return c.Diff()
    			}
    			xdsRequest := discovery.DiscoveryRequest{
    				TypeUrl: pilotxds.TypeDebugSyncronization,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top