MCPcopy
hub / github.com/istio/istio / NetServer

Struct NetServer

cni/pkg/nodeagent/net_linux.go:31–38  ·  view source on GitHub ↗

Adapts CNI to ztunnel server. decoupled from k8s for easier integration testing.

Source from the content-addressed store, hash-verified

29
30// Adapts CNI to ztunnel server. decoupled from k8s for easier integration testing.
31type NetServer struct {
32 ztunnelServer ZtunnelServer
33 currentPodSnapshot *podNetnsCache
34 trafficManager trafficmanager.TrafficRuleManager
35 podNs PodNetnsFinder
36 // allow overriding for tests
37 netnsRunner func(fdable NetnsFd, toRun func() error) error
38}
39
40var _ MeshDataplane = &NetServer{}
41

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected