MCPcopy
hub / github.com/istio/istio / fakeServer

Struct fakeServer

cni/pkg/nodeagent/helpers_test.go:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38type fakeServer struct {
39 mock.Mock
40 testWG *WaitGroup // optional waitgroup, if code under test makes a number of async calls to fakeServer
41}
42
43func (f *fakeServer) AddPodToMesh(ctx context.Context, pod *corev1.Pod, podIPs []netip.Addr, netNs string) error {
44 if f.testWG != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected