- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Start (0.14 sec)
-
cni/pkg/nodeagent/server.go
s.Ready() s.dataplane.Start(s.ctx) s.handlers.Start() } func (s *Server) Stop() { log.Info("CNI ambient server terminating, cleaning up node net rules") s.cniServerStopFunc() s.dataplane.Stop() } type meshDataplane struct { kubeClient kubernetes.Interface netServer MeshDataplane } func (s *meshDataplane) Start(ctx context.Context) { s.netServer.Start(ctx) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 7.2K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
"", ).Return(nil) server := &meshDataplane{ kubeClient: client.Kube(), netServer: fs, } fs.Start(ctx) handlers := setupHandlers(ctx, client, server, "istio-system") client.RunAndWait(ctx.Done()) go handlers.Start() // label the namespace labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 15.8K bytes - Viewed (0) -
cni/pkg/nodeagent/net.go
currentPodSnapshot: podNsMap, podNs: podNs, iptablesConfigurator: iptablesConfigurator, netnsRunner: NetnsDo, hostsideProbeIPSet: probeSet, } } func (s *NetServer) Start(ctx context.Context) { log.Debug("starting ztunnel server") go s.ztunnelServer.Run(ctx) } func (s *NetServer) Stop() { log.Debug("removing host iptables rules") s.iptablesConfigurator.DeleteHostRules()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.2K bytes - Viewed (1) -
cni/pkg/nodeagent/net_test.go
netServer := newNetServer(ztunnelServer, podNsMap, iptablesConfigurator, NewPodNetnsProcFinder(fakeFs()), set) netServer.netnsRunner = func(fdable NetnsFd, toRun func() error) error { return toRun() } netServer.Start(ctx) return netTestFixture{ netServer: netServer, podNsMap: podNsMap, ztunnelServer: ztunnelServer, iptablesConfigurator: iptablesConfigurator, nlDeps: nlDeps,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 16.4K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
"The total number of node agent reconcile events.", ) ) type K8sHandlers interface { GetPodIfAmbient(podName, podNamespace string) (*corev1.Pod, error) GetAmbientPods() []*corev1.Pod Start() } type InformerHandlers struct { ctx context.Context dataplane MeshDataplane systemNamespace string queue controllers.Queue pods kclient.Client[*corev1.Pod]
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 9.6K bytes - Viewed (0) -
operator/cmd/mesh/install.go
waitTimeout time.Duration, l clog.Logger, ) error { // Needed in case we are running a test through this path that doesn't start a new process. cache.FlushObjectCaches() opts := &helmreconciler.Options{ DryRun: dryRun, Log: l, WaitTimeout: waitTimeout, ProgressLog: progress.NewLog(), Force: force, }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 14:30:43 GMT 2024 - 15.5K bytes - Viewed (1) -
cni/pkg/cmd/root.go
cmd.PrintFlags(c.Flags()) ctx := c.Context() // Start controlz server _, _ = ctrlz.Run(ctrlzOptions, nil) var cfg *config.Config if cfg, err = constructConfig(); err != nil { return } log.Infof("CNI install configuration: \n%+v", cfg.InstallConfig) log.Infof("CNI race repair configuration: \n%+v", cfg.RepairConfig) // Start metrics server
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.5K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
).Return(nil) dpServer := &meshDataplane{ kubeClient: client.Kube(), netServer: fs, } 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"}}}`,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 5.4K bytes - Viewed (0)