Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for addr1 (0.05 sec)

  1. pilot/pkg/bootstrap/server.go

    	httpListener, err := net.Listen("tcp", s.httpServer.Addr)
    	if err != nil {
    		return err
    	}
    	go func() {
    		log.Infof("starting HTTP service at %s", httpListener.Addr())
    		if err := s.httpServer.Serve(httpListener); network.IsUnexpectedListenerError(err) {
    			log.Errorf("error serving http server: %v", err)
    		}
    	}()
    	s.httpAddr = httpListener.Addr().String()
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/waypoints.go

    		ServiceAccounts: slices.Sort(serviceAccounts),
    	}
    }
    
    func getGatewayAddrs(gw *v1beta1.Gateway) []netip.Addr {
    	// Currently, we only look at one address. Probably this should be made more robust
    	ip, err := netip.ParseAddr(gw.Status.Addresses[0].Value)
    	if err == nil {
    		return []netip.Addr{ip}
    	}
    	log.Errorf("Unable to parse IP address in status of %v/%v/%v", gvk.KubernetesGateway, gw.Namespace, gw.Name)
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. pkg/log/options.go

    // WithTeeToUDS configures a parallel logging pipeline that writes logs to a server over UDS.
    // addr is the socket that the server listens on, and path is the HTTP path that process the log message.
    func (o *Options) WithTeeToUDS(addr, path string) *Options {
    	return o.WithExtension(func(c zapcore.Core) (zapcore.Core, func() error, error) {
    		return teeToUDSServer(c, addr, path), func() error { return nil }, nil
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:04:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    			Waypoint:              waypointAddress,
    			TrustDomain:           pickTrustDomain(meshCfg),
    			Locality:              getWorkloadEntryLocality(&wle.Spec),
    		}
    
    		if addr, err := netip.ParseAddr(wle.Spec.Address); err == nil {
    			w.Addresses = [][]byte{addr.AsSlice()}
    		} else {
    			log.Warnf("skipping workload entry %s/%s; DNS Address resolution is not yet implemented", wle.Namespace, wle.Name)
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. pilot/pkg/bootstrap/webhook.go

    	istiolog.Info("initializing secure webhook server for istiod webhooks")
    	// create the https server for hosting the k8s injectionWebhook handlers.
    	s.httpsMux = http.NewServeMux()
    	s.httpsServer = &http.Server{
    		Addr:      args.ServerOptions.HTTPSAddr,
    		ErrorLog:  log.New(&httpServerErrorLogWriter{}, "", 0),
    		Handler:   s.httpsMux,
    		TLSConfig: tlsConfig,
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 17:37:53 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/net/http/server.go

    func (srv *Server) ListenAndServe() error {
    	if srv.shuttingDown() {
    		return ErrServerClosed
    	}
    	addr := srv.Addr
    	if addr == "" {
    		addr = ":http"
    	}
    	ln, err := net.Listen("tcp", addr)
    	if err != nil {
    		return err
    	}
    	return srv.Serve(ln)
    }
    
    var testHookServerServe func(*Server, net.Listener) // used if non-nil
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  7. pkg/config/validation/validation.go

    	if strings.HasPrefix(addr, UnixAddressPrefix) {
    		unixEndpoint = true
    		errs = AppendValidation(errs, ValidateUnixAddress(strings.TrimPrefix(addr, UnixAddressPrefix)))
    		if len(we.Ports) != 0 {
    			errs = AppendValidation(errs, fmt.Errorf("unix endpoint %s must not include ports", addr))
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/gateway/conversion.go

    	}
    	gatewayServices := []string{}
    	skippedAddresses := []string{}
    	for _, addr := range kgw.Addresses {
    		if addr.Type != nil && *addr.Type != k8s.HostnameAddressType {
    			// We only support HostnameAddressType. Keep track of invalid ones so we can report in status.
    			skippedAddresses = append(skippedAddresses, addr.Value)
    			continue
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  9. scan.go

    	for idx, field := range fields {
    		if field != nil {
    			values[idx] = field.NewValuePool.Get()
    		} else if len(fields) == 1 {
    			if reflectValue.CanAddr() {
    				values[idx] = reflectValue.Addr().Interface()
    			} else {
    				values[idx] = reflectValue.Interface()
    			}
    		}
    	}
    
    	db.RowsAffected++
    	db.AddError(rows.Scan(values...))
    	joinedNestedSchemaMap := make(map[string]interface{})
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/listener_waypoint.go

    		if len(wls) > 0 {
    			// Workload IP filtering happens here.
    			ipRange := []*xds.CidrRange{}
    			for _, wl := range wls {
    				for _, ip := range wl.Addresses {
    					addr, _ := netip.AddrFromSlice(ip)
    					cidr := util.ConvertAddressToCidr(addr.String())
    					ipRange = append(ipRange, &xds.CidrRange{
    						AddressPrefix: cidr.AddressPrefix,
    						PrefixLen:     cidr.PrefixLen,
    					})
    				}
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top