Versions in this module Expand all Collapse all v1 v1.0.0 Jun 21, 2023 Changes in this version + type Client struct + func NewClient() *Client + func NewClientWithName(name string) *Client + func (xdsC *Client) BootstrapConfig() *bootstrap.Config + func (xdsC *Client) InvokeWatchClusterCallback(update xdsresource.ClusterUpdate, err error) + func (xdsC *Client) InvokeWatchEDSCallback(name string, update xdsresource.EndpointsUpdate, err error) + func (xdsC *Client) InvokeWatchListenerCallback(update xdsresource.ListenerUpdate, err error) + func (xdsC *Client) InvokeWatchRouteConfigCallback(name string, update xdsresource.RouteConfigUpdate, err error) + func (xdsC *Client) LoadStore() *load.Store + func (xdsC *Client) Name() string + func (xdsC *Client) ReportLoad(server *bootstrap.ServerConfig) (loadStore *load.Store, cancel func()) + func (xdsC *Client) SetBootstrapConfig(cfg *bootstrap.Config) + func (xdsC *Client) WaitForCancelClusterWatch(ctx context.Context) (string, error) + func (xdsC *Client) WaitForCancelEDSWatch(ctx context.Context) (string, error) + func (xdsC *Client) WaitForCancelListenerWatch(ctx context.Context) error + func (xdsC *Client) WaitForCancelReportLoad(ctx context.Context) error + func (xdsC *Client) WaitForCancelRouteConfigWatch(ctx context.Context) (string, error) + func (xdsC *Client) WaitForReportLoad(ctx context.Context) (ReportLoadArgs, error) + func (xdsC *Client) WaitForWatchCluster(ctx context.Context) (string, error) + func (xdsC *Client) WaitForWatchEDS(ctx context.Context) (string, error) + func (xdsC *Client) WaitForWatchListener(ctx context.Context) (string, error) + func (xdsC *Client) WaitForWatchRouteConfig(ctx context.Context) (string, error) + func (xdsC *Client) WatchCluster(clusterName string, callback func(xdsresource.ClusterUpdate, error)) func() + func (xdsC *Client) WatchEndpoints(clusterName string, callback func(xdsresource.EndpointsUpdate, error)) (cancel func()) + func (xdsC *Client) WatchListener(serviceName string, callback func(xdsresource.ListenerUpdate, error)) func() + func (xdsC *Client) WatchRouteConfig(routeName string, callback func(xdsresource.RouteConfigUpdate, error)) func() + type ReportLoadArgs struct + Server *bootstrap.ServerConfig