compare

package
v0.0.0-...-edfa39e Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

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 Pilot and one from Envoy

func NewComparator

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

NewComparator is a comparator constructor

func (*Comparator) ClusterDiff

func (c *Comparator) ClusterDiff() error

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

func (*Comparator) Diff

func (c *Comparator) Diff() error

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

func (*Comparator) ListenerDiff

func (c *Comparator) ListenerDiff() error

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

func (*Comparator) RouteDiff

func (c *Comparator) RouteDiff() error

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

Jump to

Keyboard shortcuts

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