Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRouteConfiguration ¶
func GetRouteConfiguration(res *xdsapi.DiscoveryResponse) (*xdsapi.RouteConfiguration, error)
GetRouteConfiguration returns routeconfiguration from discovery response
Types ¶
type PilotClient ¶
PilotClient is a interface for the client to communicate to pilot
func NewGRPCPilotClient ¶
func NewGRPCPilotClient(cfg *PilotOptions) (PilotClient, error)
NewGRPCPilotClient returns new PilotClient from options
type PilotOptions ¶
type PilotOptions struct {
Endpoints []string
}
PilotOptions defines options to new client
type RDS ¶
type RDS interface { GetAllRouteConfigurations() (*envoy_api.RouteConfiguration, error) GetRouteConfigurationsByPort(string) (*envoy_api.RouteConfiguration, error) }
RDS defines route discovery service interface
Click to show internal directories.
Click to hide internal directories.