Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 171 for could (0.15 sec)

  1. cni/pkg/iptables/iptables.go

    	// This is effectively an analog for Istio's old-style podSpec-based health check rewrites.
    	// Before Istio would update the pod manifest to rewrite healthchecks to go to sidecar Envoy port 15021,
    	// so that it could distinguish things that can be unauthenticated (healthchecks) from other kinds of node traffic
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  2. istioctl/pkg/kubeinject/kubeinject.go

    	var obj runtime.Object
    	var ar *kube.AdmissionReview
    	out, _, err := deserializer.Decode(body, nil, obj)
    	if err != nil {
    		return nil, fmt.Errorf("could not decode body: %v", err)
    	}
    	ar, err = kube.AdmissionReviewKubeToAdapter(out)
    	if err != nil {
    		return nil, fmt.Errorf("could not decode object: %v", err)
    	}
    
    	return ar.Response.Patch, nil
    }
    
    var (
    	runtimeScheme = func() *runtime.Scheme {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  3. cmd/peer-rest-server.go

    		return shouldTrace(entry, traceOpts)
    	}, &wg)
    	if err != nil {
    		return grid.NewRemoteErr(err)
    	}
    
    	// Publish bootstrap events that have already occurred before client could subscribe.
    	if traceOpts.TraceTypes().Contains(madmin.TraceBootstrap) {
    		go globalBootstrapTracer.Publish(ctx, globalTrace)
    	}
    
    	// Wait for remote to cancel and SubscribeJSON to exit.
    	wg.Wait()
    	return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  4. operator/cmd/mesh/profile-diff.go

    	a, _, err := manifest.GenIOPFromProfile(profileA, "", setFlags, true, true, nil, l)
    	if err != nil {
    		return false, fmt.Errorf("could not read %q: %v", profileA, err)
    	}
    
    	b, _, err := manifest.GenIOPFromProfile(profileB, "", setFlags, true, true, nil, l)
    	if err != nil {
    		return false, fmt.Errorf("could not read %q: %v", profileB, err)
    	}
    
    	diff := util.YAMLDiff(a, b)
    	if diff == "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  5. internal/s3select/sql/funceval.go

    		if !ok {
    			return 0, errCastFailure("could not parse as int")
    		}
    		return res, nil
    	case []byte:
    		// Parse as number, truncate floating point if
    		// needed.
    		// String might contain trimming spaces, which
    		// needs to be trimmed.
    		res, ok := strToInt(strings.TrimSpace(string(x)))
    		if !ok {
    			return 0, errCastFailure("could not parse as int")
    		}
    		return res, nil
    
    	default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  6. istioctl/pkg/admin/istiodconfig.go

    			portForwarder, err := client.NewPortForwarder(podName, ns, "", 0, controlzPort)
    			if err != nil {
    				return fmt.Errorf("could not build port forwarder for ControlZ %s: %v", podName, err)
    			}
    			defer portForwarder.Close()
    			err = portForwarder.Start()
    			if err != nil {
    				return fmt.Errorf("could not start port forwarder for ControlZ %s: %v", podName, err)
    			}
    
    			ctrlzClient := &ControlzClient{
    				baseURL: &url.URL{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  7. istioctl/pkg/dashboard/dashboard.go

    	var err error
    	for _, localPort := range portPrefs {
    		var fw kube.PortForwarder
    		fw, err = client.NewPortForwarder(podName, namespace, localAddress, localPort, remotePort)
    		if err != nil {
    			return fmt.Errorf("could not build port forwarder for %s: %v", flavor, err)
    		}
    
    		if err = fw.Start(); err != nil {
    			fw.Close()
    			// Try the next port
    			continue
    		}
    
    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)
  8. istioctl/pkg/multicluster/remote_secret_test.go

    	if err != nil {
    		t.Fatalf("failed to generate service account YAML: %v", err)
    	}
    	objs, err := object.ParseK8sObjectsFromYAMLManifest(yaml)
    	if err != nil {
    		t.Fatalf("could not parse k8s objects from generated YAML: %v", err)
    	}
    
    	mustFindObject(t, objs, "istio-reader-service-account", "ServiceAccount")
    	mustFindObject(t, objs, "istio-reader-clusterrole-istio-system", "ClusterRole")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    	for dID, pi := range arg.Peers {
    		if c.state.Peers != nil {
    			if existingPeer, ok := c.state.Peers[dID]; ok {
    				// retain existing ReplicateILMExpiry of peer if its already set
    				// and incoming arg has it false. it could be default false
    				if !pi.ReplicateILMExpiry && existingPeer.ReplicateILMExpiry {
    					pi.ReplicateILMExpiry = existingPeer.ReplicateILMExpiry
    				}
    			}
    		}
    		peers[dID] = pi
    	}
    	state := srState{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  10. src/bytes/bytes.go

    func Map(mapping func(r rune) rune, s []byte) []byte {
    	// In the worst case, the slice can grow when mapped, making
    	// things unpleasant. But it's so rare we barge in assuming it's
    	// fine. It could also shrink but that falls out naturally.
    	b := make([]byte, 0, len(s))
    	for i := 0; i < len(s); {
    		wid := 1
    		r := rune(s[i])
    		if r >= utf8.RuneSelf {
    			r, wid = utf8.DecodeRune(s[i:])
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
Back to top