Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for listen (0.15 sec)

  1. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  2. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  3. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  4. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 07:54:01 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  5. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  6. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/compare/listener.go

    Kuat <******@****.***> 1712262548 -0700
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 04 20:29:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/listener.go

    		return false
    	}
    	return true
    }
    
    func getFilterChains(l *listener.Listener) []*listener.FilterChain {
    	res := l.FilterChains
    	if l.DefaultFilterChain != nil {
    		res = append(res, l.DefaultFilterChain)
    	}
    	return res
    }
    
    // retrieveListenerType classifies a Listener as HTTP|TCP|HTTP+TCP|UNKNOWN
    func retrieveListenerType(l *listener.Listener) string {
    	nHTTP := 0
    	nTCP := 0
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  9. operator/cmd/mesh/manifest-diff.go

    	// compareDir indicates comparison between directory.
    	compareDir bool
    	// verbose generates verbose output.
    	verbose bool
    	// selectResources constrains the list of resources to compare to only the ones in this list, ignoring all others.
    	// The format of each list item is :: and the items are comma separated. The * character represents wildcard selection.
    	// e.g.
    	// Deployment:istio-system:* - compare all deployments in istio-system namespace
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. operator/cmd/mesh/profile-list.go

    	return &cobra.Command{
    		Use:   "list",
    		Short: "Lists available Istio configuration profiles",
    		Long:  "The list subcommand lists the available Istio configuration profiles.",
    		Args:  cobra.ExactArgs(0),
    		RunE: func(cmd *cobra.Command, args []string) error {
    			return profileList(cmd, plArgs)
    		},
    	}
    }
    
    // profileList list all the builtin profiles.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top