configdump

package
v0.0.0-...-873615e Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 17 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wrapper

type Wrapper struct {
	*admin.ConfigDump
}

Wrapper is a wrapper around the Envoy ConfigDump It has extra helper functions for handling any/struct/marshal protobuf pain

func (*Wrapper) GetBootstrapConfigDump

func (w *Wrapper) GetBootstrapConfigDump() (*admin.BootstrapConfigDump, error)

GetBootstrapConfigDump retrieves the bootstrap config dump from the ConfigDump

func (*Wrapper) GetClusterConfigDump

func (w *Wrapper) GetClusterConfigDump() (*admin.ClustersConfigDump, error)

GetClusterConfigDump retrieves the cluster config dump from the ConfigDump

func (*Wrapper) GetDynamicClusterDump

func (w *Wrapper) GetDynamicClusterDump(stripVersions bool) (*admin.ClustersConfigDump, error)

GetDynamicClusterDump retrieves a cluster dump with just dynamic active clusters in it

func (*Wrapper) GetDynamicListenerDump

func (w *Wrapper) GetDynamicListenerDump(stripVersions bool) (*admin.ListenersConfigDump, error)

GetDynamicListenerDump retrieves a listener dump with just dynamic active listeners in it

func (*Wrapper) GetDynamicRouteDump

func (w *Wrapper) GetDynamicRouteDump(stripVersions bool) (*admin.RoutesConfigDump, error)

GetDynamicRouteDump retrieves a route dump with just dynamic active routes in it

func (*Wrapper) GetEcdsConfigDump

func (w *Wrapper) GetEcdsConfigDump() (*admin.EcdsConfigDump, error)

GetEcdsConfigDump retrieves the extension config dump from the ConfigDump

func (*Wrapper) GetEndpointsConfigDump

func (w *Wrapper) GetEndpointsConfigDump() (*admin.EndpointsConfigDump, error)

GetEndpointsConfigDump retrieves the listener config dump from the ConfigDump

func (*Wrapper) GetLastUpdatedDynamicRouteTime

func (w *Wrapper) GetLastUpdatedDynamicRouteTime() (*time.Time, error)

GetLastUpdatedDynamicRouteTime retrieves the LastUpdated timestamp of the most recently updated DynamicRouteConfig

func (*Wrapper) GetListenerConfigDump

func (w *Wrapper) GetListenerConfigDump() (*admin.ListenersConfigDump, error)

GetListenerConfigDump retrieves the listener config dump from the ConfigDump

func (*Wrapper) GetRootCAFromSecretConfigDump

func (w *Wrapper) GetRootCAFromSecretConfigDump(anySec *anypb.Any) (string, error)

GetRootCAFromSecretConfigDump retrieves root CA from a secret config dump wrapper

func (*Wrapper) GetRouteConfigDump

func (w *Wrapper) GetRouteConfigDump() (*admin.RoutesConfigDump, error)

GetRouteConfigDump retrieves the route config dump from the ConfigDump

func (*Wrapper) GetSecretConfigDump

func (w *Wrapper) GetSecretConfigDump() (*admin.SecretsConfigDump, error)

GetSecretConfigDump retrieves a secret dump from a config dump wrapper

func (*Wrapper) UnmarshalJSON

func (w *Wrapper) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaller to handle protobuf pain

Jump to

Keyboard shortcuts

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