Documentation ¶
Index ¶
- type Wrapper
- func (w *Wrapper) GetBootstrapConfigDump() (*admin.BootstrapConfigDump, error)
- func (w *Wrapper) GetClusterConfigDump() (*admin.ClustersConfigDump, error)
- func (w *Wrapper) GetDynamicClusterDump(stripVersions bool) (*admin.ClustersConfigDump, error)
- func (w *Wrapper) GetDynamicListenerDump(stripVersions bool) (*admin.ListenersConfigDump, error)
- func (w *Wrapper) GetDynamicRouteDump(stripVersions bool) (*admin.RoutesConfigDump, error)
- func (w *Wrapper) GetEcdsConfigDump() (*admin.EcdsConfigDump, error)
- func (w *Wrapper) GetEndpointsConfigDump() (*admin.EndpointsConfigDump, error)
- func (w *Wrapper) GetLastUpdatedDynamicRouteTime() (*time.Time, error)
- func (w *Wrapper) GetListenerConfigDump() (*admin.ListenersConfigDump, error)
- func (w *Wrapper) GetRootCAFromSecretConfigDump(anySec *anypb.Any) (string, error)
- func (w *Wrapper) GetRouteConfigDump() (*admin.RoutesConfigDump, error)
- func (w *Wrapper) GetSecretConfigDump() (*admin.SecretsConfigDump, error)
- func (w *Wrapper) UnmarshalJSON(b []byte) error
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 ¶
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 ¶
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 ¶
UnmarshalJSON is a custom unmarshaller to handle protobuf pain