Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for listen (0.17 sec)

  1. cni/pkg/install/install_test.go

    			expectedFailure:   true,
    			cniConfigFilename: "list.conflist",
    			chainedCNIPlugin:  true,
    			existingConfFiles: map[string]string{"list.conflist": "list.conflist"},
    		},
    		{
    			name:              "chained CNI plugin",
    			cniConfigFilename: "list.conflist",
    			chainedCNIPlugin:  true,
    			existingConfFiles: map[string]string{"list.conflist.golden": "list.conflist"},
    		},
    		{
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  2. cni/pkg/pluginlistener/listener.go

    	}
    
    	var err error
    	listener, err := net.Listen("unix", path)
    	if err != nil {
    		return nil, fmt.Errorf("failed to listen on unix socket %q: %v", path, err)
    	}
    
    	// Update file permission so that cni plugin has permission to access it.
    	if _, err := os.Stat(path); err != nil {
    		return nil, fmt.Errorf("cni listener file %q doesn't exist", path)
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  3. cni/README.md

            - If so, calls `istio-iptables` with params to setup pod netns
            - If ambient, sets up the ambient logic.
    
    - `istio-iptables`
        - sets up iptables to redirect a list of ports to the port envoy will listen
        - shared code with istio-init container
        - it will generate an iptables-save config, based on annotations/labels and other settings, and apply it.
    
    ### CmdAdd Sidecar Workflow
    
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Feb 28 17:29:38 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/ztunnelserver.go

    	if err != nil {
    		return nil, fmt.Errorf("failed to listen unix: %w", err)
    	}
    
    	return &ztunnelServer{
    		listener: l,
    		conns: &connMgr{
    			connectionSet: map[*ZtunnelConnection]struct{}{},
    		},
    		pods: pods,
    	}, nil
    }
    
    func (z *ztunnelServer) Close() error {
    	return z.listener.Close()
    }
    
    func (z *ztunnelServer) Run(ctx context.Context) {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. istioctl/pkg/dashboard/dashboard.go

    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	dashboardCmd.PersistentFlags().IntVarP(&listenPort, "port", "p", 0, "Local port to listen to")
    	dashboardCmd.PersistentFlags().StringVar(&bindAddress, "address", "localhost",
    		"Address to listen on. Only accepts IP address or localhost as a value. "+
    			"When localhost is supplied, istioctl will try to bind on both 127.0.0.1 and ::1 "+
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  6. cni/pkg/monitoring/monitoring.go

    )
    
    func SetupMonitoring(port int, path string, stop <-chan struct{}) {
    	if port <= 0 {
    		return
    	}
    	mux := http.NewServeMux()
    	var listener net.Listener
    	var err error
    	if listener, err = net.Listen("tcp", fmt.Sprintf(":%d", port)); err != nil {
    		log.Errorf("unable to listen on socket: %v", err)
    		return
    	}
    	exporter, err := monitoring.RegisterPrometheusExporter(nil, nil)
    	if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 07:54:01 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/cni-watcher.go

    			// If the cniListener exits, at least we should record an error log
    			log.Errorf("CNI listener server exiting unexpectedly: %v", err)
    		}
    	}()
    
    	context.AfterFunc(s.ctx, func() {
    		if err := s.cniListenServer.Close(); err != nil {
    			log.Errorf("CNI listen server terminated with error: %v", err)
    		} else {
    			log.Debug("CNI listen server terminated")
    		}
    	})
    	return nil
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  8. manifests/charts/istiod-remote/templates/crd-all.gen.yaml

                            Valid Options: LISTENER, FILTER_CHAIN, NETWORK_FILTER, HTTP_FILTER, ROUTE_CONFIGURATION, VIRTUAL_HOST, HTTP_ROUTE, CLUSTER, EXTENSION_CONFIG, BOOTSTRAP, LISTENER_FILTER
                          enum:
                          - INVALID
                          - LISTENER
                          - FILTER_CHAIN
                          - NETWORK_FILTER
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 18:46:49 GMT 2024
    - 570.3K bytes
    - Viewed (0)
  9. istioctl/pkg/util/configdump/listener.go

    		l := &listener.Listener{}
    		err = dal[i].ActiveState.Listener.UnmarshalTo(l)
    		if err != nil {
    			return false
    		}
    		name := l.Name
    		err = dal[j].ActiveState.Listener.UnmarshalTo(l)
    		if err != nil {
    			return false
    		}
    		return name < l.Name
    	})
    	if stripVersions {
    		for i := range dal {
    			dal[i].ActiveState.VersionInfo = ""
    			dal[i].ActiveState.LastUpdated = nil
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.5K bytes
    - Viewed (1)
  10. istioctl/pkg/writer/envoy/configdump/listener_test.go

    				Type: "TCP",
    			},
    			inListener: &listener.Listener{
    				FilterChains: []*listener.FilterChain{{
    					Filters: []*listener.Filter{{
    						Name: wellknown.TCPProxy,
    					}},
    				}},
    			},
    			expect: true,
    		},
    		{
    			desc: "unknown-type",
    			inFilter: &ListenerFilter{
    				Type: "UNKNOWN",
    			},
    			inListener: &listener.Listener{
    				FilterChains: []*listener.FilterChain{{
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 4.1K bytes
    - Viewed (0)
Back to top