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

package clusters

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

Index

Package Files

clusters.go

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 clusters output into the writer ready for printing

func (*ConfigWriter) PrintEndpoints Uses

func (c *ConfigWriter) PrintEndpoints(filter EndpointFilter) error

PrintEndpoints prints the endpoints config to the ConfigWriter stdout

func (*ConfigWriter) PrintEndpointsSummary Uses

func (c *ConfigWriter) PrintEndpointsSummary(filter EndpointFilter) error

PrintEndpointsSummary prints just the endpoints config summary to the ConfigWriter stdout

type EndpointCluster Uses

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

EndpointCluster is used to store the endpoint and cluster

type EndpointFilter Uses

type EndpointFilter struct {
    Address string
    Port    uint32
    Cluster string
    Status  string
}

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

func (*EndpointFilter) Verify Uses

func (e *EndpointFilter) Verify(host *adminapi.HostStatus, cluster string) bool

Verify returns true if the passed host matches the filter fields

Package clusters imports 11 packages (graph) and is imported by 2 packages. Updated 2019-10-17. Refresh now. Tools for package owners.