Documentation ¶
Index ¶
- type Wrapper
- func (w *Wrapper) GetBootstrapConfigDump() (*adminapi.BootstrapConfigDump, error)
- func (w *Wrapper) GetClusterConfigDump() (*adminapi.ClustersConfigDump, error)
- func (w *Wrapper) GetDynamicClusterDump(stripVersions bool) (*adminapi.ClustersConfigDump, error)
- func (w *Wrapper) GetDynamicListenerDump(stripVersions bool) (*adminapi.ListenersConfigDump, error)
- func (w *Wrapper) GetDynamicRouteDump(stripVersions bool) (*adminapi.RoutesConfigDump, error)
- func (w *Wrapper) GetListenerConfigDump() (*adminapi.ListenersConfigDump, error)
- func (w *Wrapper) GetRouteConfigDump() (*adminapi.RoutesConfigDump, error)
- func (w *Wrapper) MarshalJSON() ([]byte, 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 {
*adminapi.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() (*adminapi.BootstrapConfigDump, error)
GetBootstrapConfigDump retrieves the bootstrap config dump from the ConfigDump
func (*Wrapper) GetClusterConfigDump ¶
func (w *Wrapper) GetClusterConfigDump() (*adminapi.ClustersConfigDump, error)
GetClusterConfigDump retrieves the cluster config dump from the ConfigDump
func (*Wrapper) GetDynamicClusterDump ¶
func (w *Wrapper) GetDynamicClusterDump(stripVersions bool) (*adminapi.ClustersConfigDump, error)
GetDynamicClusterDump retrieves a cluster dump with just dynamic active clusters in it
func (*Wrapper) GetDynamicListenerDump ¶
func (w *Wrapper) GetDynamicListenerDump(stripVersions bool) (*adminapi.ListenersConfigDump, error)
GetDynamicListenerDump retrieves a listener dump with just dynamic active listeners in it
func (*Wrapper) GetDynamicRouteDump ¶
func (w *Wrapper) GetDynamicRouteDump(stripVersions bool) (*adminapi.RoutesConfigDump, error)
GetDynamicRouteDump retrieves a route dump with just dynamic active routes in it
func (*Wrapper) GetListenerConfigDump ¶
func (w *Wrapper) GetListenerConfigDump() (*adminapi.ListenersConfigDump, error)
GetListenerConfigDump retrieves the listener config dump from the ConfigDump
func (*Wrapper) GetRouteConfigDump ¶
func (w *Wrapper) GetRouteConfigDump() (*adminapi.RoutesConfigDump, error)
GetRouteConfigDump retrieves the route config dump from the ConfigDump
func (*Wrapper) MarshalJSON ¶
MarshalJSON is a custom marshaller to handle protobuf pain
func (*Wrapper) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaller to handle protobuf pain