Documentation
¶
Overview ¶
Package envoystatus is used in yawollet to get current envoy status
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // AdminAddress is the address for admin interface of envoy without http:// and without / at the end // Example: localhost:9000 AdminAddress string }
Config is to configure envoystatus functions
func (*Config) GetCurrentSnapshotVersion ¶
func (c *Config) GetCurrentSnapshotVersion() ( clusterVersion string, listenerVersion string, err error, )
GetCurrentSnapshotVersion returns current snapshot version from envoy
func (*Config) GetCurrentStats ¶
func (c *Config) GetCurrentStats() ([]yawolv1beta1.LoadBalancerMachineMetric, error)
GetCurrentStats returns a view stats for envoy
func (*Config) GetEnvoyStatus ¶
GetEnvoyStatus returns true if envoy ready endpoint returns 200 otherwise return false
Click to show internal directories.
Click to hide internal directories.