Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigWriter ¶
ConfigWriter is a writer for processing responses from the Envoy Admin config_dump endpoint
func (*ConfigWriter) Prime ¶
func (c *ConfigWriter) Prime(b []byte) error
Prime loads the clusters output into the writer ready for printing
func (*ConfigWriter) PrintEndpoints ¶
func (c *ConfigWriter) PrintEndpoints(filter EndpointFilter, outputFormat string) error
PrintEndpoints prints the endpoints config to the ConfigWriter stdout
func (*ConfigWriter) PrintEndpointsSummary ¶
func (c *ConfigWriter) PrintEndpointsSummary(filter EndpointFilter) error
PrintEndpointsSummary prints just the endpoints config summary to the ConfigWriter stdout
type EndpointCluster ¶
type EndpointCluster struct {
// contains filtered or unexported fields
}
EndpointCluster is used to store the endpoint and cluster
type EndpointFilter ¶
EndpointFilter is used to pass filter information into route based config writer print functions
func (*EndpointFilter) Verify ¶
func (e *EndpointFilter) Verify(host *admin.HostStatus, cluster string) bool
Verify returns true if the passed host matches the filter fields
Click to show internal directories.
Click to hide internal directories.