Versions in this module Expand all Collapse all v1 v1.41.0 Sep 6, 2021 Changes in this version + func NewListenerWrapper(params ListenerWrapperParams) (net.Listener, <-chan struct{}) + type DrainCallback func(addr net.Addr) + type ListenerWrapperParams struct + DrainCallback DrainCallback + Listener net.Listener + ListenerResourceName string + ModeCallback ServingModeCallback + XDSClient XDSClient + XDSCredsInUse bool + type ServingMode int + const ServingModeNotServing + const ServingModeServing + const ServingModeStarting + func (s ServingMode) String() string + type ServingModeCallback func(addr net.Addr, mode ServingMode, err error) + type XDSClient interface + BootstrapConfig func() *bootstrap.Config + WatchListener func(string, func(xdsclient.ListenerUpdate, error)) func() + WatchRouteConfig func(string, func(xdsclient.RouteConfigUpdate, error)) func()