Documentation ¶
Index ¶
- type XDSClient
- func (_m *XDSClient) BootstrapConfig() *bootstrap.Config
- func (_m *XDSClient) Close()
- func (_m *XDSClient) DumpCDS() map[string]resource.UpdateWithMD
- func (_m *XDSClient) DumpEDS() map[string]resource.UpdateWithMD
- func (_m *XDSClient) DumpLDS() map[string]resource.UpdateWithMD
- func (_m *XDSClient) DumpRDS() map[string]resource.UpdateWithMD
- func (_m *XDSClient) ReportLoad(server string) (*load.Store, func())
- func (_m *XDSClient) SetMetadata(_a0 *structpb.Struct) error
- func (_m *XDSClient) WatchCluster(_a0 string, _a1 func(resource.ClusterUpdate, error)) func()
- func (_m *XDSClient) WatchEndpoints(clusterName string, edsCb func(resource.EndpointsUpdate, error)) func()
- func (_m *XDSClient) WatchListener(_a0 string, _a1 func(resource.ListenerUpdate, error)) func()
- func (_m *XDSClient) WatchRouteConfig(_a0 string, _a1 func(resource.RouteConfigUpdate, error)) func()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type XDSClient ¶
XDSClient is an autogenerated mock type for the XDSClient type
func (*XDSClient) BootstrapConfig ¶
BootstrapConfig provides a mock function with given fields:
func (*XDSClient) Close ¶
func (_m *XDSClient) Close()
Close provides a mock function with given fields:
func (*XDSClient) DumpCDS ¶
func (_m *XDSClient) DumpCDS() map[string]resource.UpdateWithMD
DumpCDS provides a mock function with given fields:
func (*XDSClient) DumpEDS ¶
func (_m *XDSClient) DumpEDS() map[string]resource.UpdateWithMD
DumpEDS provides a mock function with given fields:
func (*XDSClient) DumpLDS ¶
func (_m *XDSClient) DumpLDS() map[string]resource.UpdateWithMD
DumpLDS provides a mock function with given fields:
func (*XDSClient) DumpRDS ¶
func (_m *XDSClient) DumpRDS() map[string]resource.UpdateWithMD
DumpRDS provides a mock function with given fields:
func (*XDSClient) ReportLoad ¶
ReportLoad provides a mock function with given fields: server
func (*XDSClient) SetMetadata ¶
SetMetadata provides a mock function with given fields: _a0
func (*XDSClient) WatchCluster ¶
func (_m *XDSClient) WatchCluster(_a0 string, _a1 func(resource.ClusterUpdate, error)) func()
WatchCluster provides a mock function with given fields: _a0, _a1
func (*XDSClient) WatchEndpoints ¶
func (_m *XDSClient) WatchEndpoints(clusterName string, edsCb func(resource.EndpointsUpdate, error)) func()
WatchEndpoints provides a mock function with given fields: clusterName, edsCb
func (*XDSClient) WatchListener ¶
func (_m *XDSClient) WatchListener(_a0 string, _a1 func(resource.ListenerUpdate, error)) func()
WatchListener provides a mock function with given fields: _a0, _a1
func (*XDSClient) WatchRouteConfig ¶
func (_m *XDSClient) WatchRouteConfig(_a0 string, _a1 func(resource.RouteConfigUpdate, error)) func()
WatchRouteConfig provides a mock function with given fields: _a0, _a1