istio: istio.io/istio/istioctl/pkg/writer/envoy/configdump Index | Files

package configdump

import "istio.io/istio/istioctl/pkg/writer/envoy/configdump"

Index

Package Files

cluster.go configdump.go listener.go route.go

Constants

const (
    // HTTPListener identifies a listener as being of HTTP type by the presence of an HTTP connection manager filter
    HTTPListener = "envoy.http_connection_manager"

    // TCPListener identifies a listener as being of TCP type by the presence of TCP proxy filter
    TCPListener = "envoy.tcp_proxy"
)

type ClusterFilter Uses

type ClusterFilter struct {
    FQDN      host.Name
    Port      int
    Subset    string
    Direction model.TrafficDirection
}

ClusterFilter is used to pass filter information into cluster based config writer print functions

func (*ClusterFilter) Verify Uses

func (c *ClusterFilter) Verify(cluster *xdsapi.Cluster) bool

Verify returns true if the passed cluster matches the filter fields

type ConfigWriter Uses

type ConfigWriter struct {
    Stdout io.Writer
    // contains filtered or unexported fields
}

ConfigWriter is a writer for processing responses from the Envoy Admin config_dump endpoint

func (*ConfigWriter) Prime Uses

func (c *ConfigWriter) Prime(b []byte) error

Prime loads the config dump into the writer ready for printing

func (*ConfigWriter) PrintBootstrapDump Uses

func (c *ConfigWriter) PrintBootstrapDump() error

PrintBootstrapDump prints just the bootstrap config dump to the ConfigWriter stdout

func (*ConfigWriter) PrintClusterDump Uses

func (c *ConfigWriter) PrintClusterDump(filter ClusterFilter) error

PrintClusterDump prints the relevant clusters in the config dump to the ConfigWriter stdout

func (*ConfigWriter) PrintClusterSummary Uses

func (c *ConfigWriter) PrintClusterSummary(filter ClusterFilter) error

PrintClusterSummary prints a summary of the relevant clusters in the config dump to the ConfigWriter stdout

func (*ConfigWriter) PrintListenerDump Uses

func (c *ConfigWriter) PrintListenerDump(filter ListenerFilter) error

PrintListenerDump prints the relevant listeners in the config dump to the ConfigWriter stdout

func (*ConfigWriter) PrintListenerSummary Uses

func (c *ConfigWriter) PrintListenerSummary(filter ListenerFilter) error

PrintListenerSummary prints a summary of the relevant listeners in the config dump to the ConfigWriter stdout

func (*ConfigWriter) PrintRouteDump Uses

func (c *ConfigWriter) PrintRouteDump(filter RouteFilter) error

PrintRouteDump prints the relevant routes in the config dump to the ConfigWriter stdout

func (*ConfigWriter) PrintRouteSummary Uses

func (c *ConfigWriter) PrintRouteSummary(filter RouteFilter) error

PrintRouteSummary prints a summary of the relevant routes in the config dump to the ConfigWriter stdout

func (*ConfigWriter) PrintSecretDump Uses

func (c *ConfigWriter) PrintSecretDump() error

PrintSecretDump prints just the secret config dump to the ConfigWriter stdout

func (*ConfigWriter) PrintSecretSummary Uses

func (c *ConfigWriter) PrintSecretSummary() error

PrintSecretSummary prints a summary of dynamic active secrets from the config dump

type ListenerFilter Uses

type ListenerFilter struct {
    Address string
    Port    uint32
    Type    string
}

ListenerFilter is used to pass filter information into listener based config writer print functions

func (*ListenerFilter) Verify Uses

func (l *ListenerFilter) Verify(listener *xdsapi.Listener) bool

Verify returns true if the passed listener matches the filter fields

type RouteFilter Uses

type RouteFilter struct {
    Name string
}

RouteFilter is used to pass filter information into route based config writer print functions

func (*RouteFilter) Verify Uses

func (r *RouteFilter) Verify(route *xdsapi.RouteConfiguration) bool

Verify returns true if the passed route matches the filter fields

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