Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Reed (0.45 sec)

  1. cni/pkg/nodeagent/options.go

    	//
    	// It doesn't matter what this IP is, so long as it's not routable and doesn't collide with anything else.
    	//
    	// IPv6 link local ranges are designed to be collision-resistant by default, and so probably never need to be overridden
    	DefaultHostProbeSNATIP   = "169.254.7.127"
    	DefaultHostProbeSNATIPV6 = "fd16:9254:7127:1337:ffff:ffff:ffff:ffff"
    )
    
    type AmbientArgs struct {
    	SystemNamespace string
    	Revision        string
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. cmd/signals.go

    		for _, p := range globalProfiler {
    			p.Stop()
    		}
    
    		if success {
    			os.Exit(0)
    		}
    
    		os.Exit(1)
    	}
    
    	stopProcess := func() bool {
    		// send signal to various go-routines that they need to quit.
    		cancelGlobalContext()
    
    		if httpServer := newHTTPServerFn(); httpServer != nil {
    			if err := httpServer.Shutdown(); err != nil && !errors.Is(err, http.ErrServerClosed) {
    				shutdownLogIf(context.Background(), err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    		//   into memory, any mutation on xl.meta subsequently is
    		//   inconsequential to the overall read operation.
    		// - xl.meta metadata is still verified for quorum under lock()
    		//   however writing the response doesn't need to serialize
    		//   concurrent writers
    		unlockOnDefer = true
    		nsUnlocker = func() { lock.RUnlock(lkctx) }
    	}
    
    	fi, metaArr, onlineDisks, err := er.getObjectFileInfo(ctx, bucket, object, opts, true)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. internal/logger/console.go

    const ConsoleLoggerTgt = "console+http"
    
    // ExitFunc is called by Fatal() class functions, by default it calls os.Exit()
    var ExitFunc = os.Exit
    
    // Logger interface describes the methods that need to be implemented to satisfy the interface requirements.
    type Logger interface {
    	json(msg string, args ...interface{})
    	quiet(msg string, args ...interface{})
    	pretty(msg string, args ...interface{})
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    	// if encryption is enabled we do not need explicit "REPLACE" metadata to
    	// be enabled as well - this is to allow for key-rotation.
    	if !isDirectiveReplace(r.Header.Get(xhttp.AmzMetadataDirective)) && !isDirectiveReplace(r.Header.Get(xhttp.AmzTagDirective)) &&
    		srcInfo.metadataOnly && srcOpts.VersionID == "" && !objectEncryption {
    		// If x-amz-metadata-directive is not set to REPLACE then we need
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    // unless all have that, in which case all are preserved.
    func (p serverPoolsAvailableSpace) FilterMaxUsed(max int) {
    	// We aren't modifying p, only entries in it, so we don't need to receive a pointer.
    	if len(p) <= 1 {
    		// Nothing to do.
    		return
    	}
    	var ok bool
    	for _, z := range p {
    		if z.Available > 0 && z.MaxUsedPct < max {
    			ok = true
    			break
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  7. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    		FieldSelector: "spec.nodeName=" + node,
    	})
    	if err != nil {
    		return types.NamespacedName{}, err
    	}
    	pods := slices.Reference(podsr.Items)
    	if len(pods) > 0 {
    		// We need to pass in a sorter, and the one used by `kubectl logs` is good enough.
    		sortBy := func(pods []*corev1.Pod) sort.Interface { return podutils.ByLogging(pods) }
    		sort.Sort(sortBy(pods))
    		return config.NamespacedName(pods[0]), nil
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-decom.go

    		if pool.Decommission.Complete || pool.Decommission.Canceled {
    			// Do not resume decommission upon startup for
    			// - decommission complete
    			// - decommission canceled
    			continue
    		} // In all other situations we need to resume
    		newPools = append(newPools, pool)
    	}
    	return newPools
    }
    
    func (p *poolMeta) DecommissionComplete(idx int) bool {
    	if p.Pools[idx].Decommission != nil && !p.Pools[idx].Decommission.Complete {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  9. cni/pkg/iptables/iptables.go

    }
    
    // Setup iptables rules for HOST netnamespace. Ideally this should be an idempotent function.
    // NOTE that this expects to be run from within the HOST network namespace!
    //
    // We need to do this specifically to be able to distinguish between traffic coming from different node-level processes
    // via the nodeIP
    // - kubelet (node-local healthchecks, which we do not capture)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  10. cmd/format-erasure.go

    func countErrs(errs []error, err error) int {
    	i := 0
    	for _, err1 := range errs {
    		if err1 == err || errors.Is(err1, err) {
    			i++
    		}
    	}
    	return i
    }
    
    // Does all errors indicate we need to initialize all disks?.
    func shouldInitErasureDisks(errs []error) bool {
    	return countErrs(errs, errUnformattedDisk) == len(errs)
    }
    
    // Check if unformatted disks are equal to 50%+1 of all the drives.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
Back to top