compare

package
v0.0.0-...-a142011 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 17 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comparator

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

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

func NewComparator

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

NewComparator is a comparator constructor

func NewXdsComparator

func NewXdsComparator(w io.Writer, istiodResponses map[string]*discovery.DiscoveryResponse, envoyResponse []byte) (*Comparator, error)

NewXdsComparator is a comparator constructor

func (*Comparator) ClusterDiff

func (c *Comparator) ClusterDiff() error

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

func (*Comparator) Diff

func (c *Comparator) Diff() error

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

func (*Comparator) ListenerDiff

func (c *Comparator) ListenerDiff() error

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

func (*Comparator) RouteDiff

func (c *Comparator) RouteDiff() error

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL