Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for _listen (0.32 sec)

  1. cni/pkg/pluginlistener/listener.go

    		log.Warnf("Failed to create directory for %v: %v", path, err)
    	}
    
    	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 {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/ztunnelserver.go

    		return nil, fmt.Errorf("failed to remove unix://%s: %w", addr, err)
    	}
    
    	l, err := net.ListenUnix("unixpacket", resolvedAddr)
    	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
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  3. istioctl/pkg/kubeinject/testdata/mesh-config.yaml

      # and manipulation.
      # The "TPROXY" mode also configures the sidecar to run with the
      # CAP_NET_ADMIN capability, which is required to use TPROXY.
      #interceptionMode: REDIRECT
      #
      # Port where Envoy listens (on local host) for admin commands
      # You can exec into the istio-proxy container in a pod and
      # curl the admin port (curl http://localhost:15000/) to obtain
      # diagnostic information from Envoy. See
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  4. 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 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/authentication/v1/generated.proto

      // audiences of the token, and otherwise should reject the token. A
      // token issued for multiple audiences may be used to authenticate
      // against any of the audiences listed but implies a high degree of
      // trust between the target audiences.
      repeated string audiences = 1;
    
      // ExpirationSeconds is the requested duration of validity of the request. The
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  6. common/scripts/metallb-native.yaml

    ---
    apiVersion: rbac.authorization.k8s.io/v1
    kind: RoleBinding
    metadata:
      labels:
        app: metallb
      name: pod-lister
      namespace: metallb-system
    roleRef:
      apiGroup: rbac.authorization.k8s.io
      kind: Role
      name: pod-lister
    subjects:
    - kind: ServiceAccount
      name: speaker
      namespace: metallb-system
    ---
    apiVersion: rbac.authorization.k8s.io/v1
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Feb 23 23:56:31 GMT 2024
    - 63.9K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/core/v1/generated.proto

      // +optional
      optional ObjectReference reference = 1;
    }
    
    // Service is a named abstraction of software service (for example, mysql) consisting of local port
    // (for example 3306) that the proxy listens on, and the selector that determines which pods
    // will answer requests sent through the proxy.
    message Service {
      // Standard object's metadata.
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  8. cni/pkg/monitoring/monitoring.go

    	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 {
    		log.Errorf("could not set up prometheus exporter: %v", err)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jun 09 07:54:01 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/cni-watcher.go

    		}
    	}()
    
    	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
    }
    
    func (s *CniPluginServer) handleAddEvent(w http.ResponseWriter, req *http.Request) {
    	if req.Body == nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  10. cni/pkg/cmd/root.go

    		if cfg.InstallConfig.AmbientEnabled {
    			// Start ambient controller
    
    			// node agent will spawn a goroutine and watch the K8S API for events,
    			// as well as listen for messages from the CNI binary.
    			log.Info("Starting ambient node agent with inpod redirect mode")
    			ambientAgent, err := nodeagent.NewServer(ctx, watchServerReady, cfg.InstallConfig.CNIEventAddress,
    				nodeagent.AmbientArgs{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
Back to top