- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for startCniPluginServer (0.11 sec)
-
cni/pkg/nodeagent/cni-watcher_test.go
dpServer := getFakeDP(fs, client.Kube()) handlers := setupHandlers(ctx, client, dpServer, "istio-system") // We are not going to start the server, so the sockpath is irrelevant pluginServer := startCniPluginServer(ctx, "/tmp/test.sock", handlers, dpServer) // label the namespace labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`, label.IoIstioDataplaneMode.Name, constants.DataplaneModeAmbient))
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 7.6K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher.go
cniListenServerCancel context.CancelFunc handlers K8sHandlers dataplane MeshDataplane sockAddress string ctx context.Context } func startCniPluginServer(ctx context.Context, pluginSocket string, handlers K8sHandlers, dataplane MeshDataplane, ) *CniPluginServer { ctx, cancel := context.WithCancel(ctx) mux := http.NewServeMux() s := &CniPluginServer{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 02 18:48:50 UTC 2024 - 6.7K bytes - Viewed (0) -
cni/pkg/nodeagent/server.go
hostIptables: hostIptables, hostsideProbeIPSet: set, }, } s.NotReady() s.handlers = setupHandlers(s.ctx, s.kubeClient, s.dataplane, args.SystemNamespace) cniServer := startCniPluginServer(ctx, pluginSocket, s.handlers, s.dataplane) err = cniServer.Start() if err != nil { return nil, fmt.Errorf("error starting cni server: %w", err) } s.cniServerStopFunc = cniServer.Stop
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Sep 25 20:54:34 UTC 2024 - 13.4K bytes - Viewed (0)