Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ClusterDiff (0.19 sec)

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

    package compare
    
    import (
    	"bytes"
    	"fmt"
    
    	"github.com/pmezard/go-difflib/difflib"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // ClusterDiff prints a diff between Istiod and Envoy clusters to the passed writer
    func (c *Comparator) ClusterDiff() error {
    	envoyBytes, istiodBytes := &bytes.Buffer{}, &bytes.Buffer{}
    	envoyClusterDump, err := c.envoy.GetDynamicClusterDump(true)
    	if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/comparator.go

    	c.location = "Local" // the time.Location for formatting time.Time instances
    	return c, nil
    }
    
    // Diff prints a diff between Istiod and Envoy to the passed writer
    func (c *Comparator) Diff() error {
    	if err := c.ClusterDiff(); err != nil {
    		return err
    	}
    	if err := c.ListenerDiff(); err != nil {
    		return err
    	}
    	return c.RouteDiff()
    }
    
    // nonstrictResolver is an AnyResolver that ignores unknown proto messages
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 3.7K bytes
    - Viewed (1)
Back to top