mocks

package
v3.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type XDSClient

type XDSClient struct {
	mock.Mock
}

XDSClient is an autogenerated mock type for the XDSClient type

func (*XDSClient) BootstrapConfig

func (_m *XDSClient) BootstrapConfig() *bootstrap.Config

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

func (_m *XDSClient) ReportLoad(server string) (*load.Store, func())

ReportLoad provides a mock function with given fields: server

func (*XDSClient) SetMetadata

func (_m *XDSClient) SetMetadata(_a0 *structpb.Struct) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL