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
Click to show internal directories.
Click to hide internal directories.