istio: istio.io/istio/istioctl/pkg/writer/compare Index | Files | Directories

package compare

import "istio.io/istio/istioctl/pkg/writer/compare"

Index

Package Files

cluster.go comparator.go listener.go route.go

type Comparator Uses

type Comparator struct {
    // contains filtered or unexported fields
}

Comparator diffs between a config dump from Pilot and one from Envoy

func NewComparator Uses

func NewComparator(w io.Writer, pilotResponses map[string][]byte, envoyResponse []byte) (*Comparator, error)

NewComparator is a comparator constructor

func (*Comparator) ClusterDiff Uses

func (c *Comparator) ClusterDiff() error

ClusterDiff prints a diff between Pilot and Envoy clusters to the passed writer

func (*Comparator) Diff Uses

func (c *Comparator) Diff() error

Diff prints a diff between Pilot and Envoy to the passed writer

func (*Comparator) ListenerDiff Uses

func (c *Comparator) ListenerDiff() error

ListenerDiff prints a diff between Pilot and Envoy listeners to the passed writer

func (*Comparator) RouteDiff Uses

func (c *Comparator) RouteDiff() error

RouteDiff prints a diff between Pilot and Envoy routes to the passed writer

Directories

PathSynopsis
sds

Package compare imports 8 packages (graph) and is imported by 4 packages. Updated 2019-12-14. Refresh now. Tools for package owners.