Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for circuit (1.2 sec)

  1. staging/src/k8s.io/api/rbac/v1/types.go

    */
    
    package v1
    
    import (
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    )
    
    // Authorization is calculated against
    // 1. evaluation of ClusterRoleBindings - short circuit on match
    // 2. evaluation of RoleBindings in the namespace requested - short circuit on match
    // 3. deny by default
    
    const (
    	APIGroupAll    = "*"
    	ResourceAll    = "*"
    	VerbAll        = "*"
    	NonResourceAll = "*"
    
    	GroupKind          = "Group"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. internal/event/target/kafka.go

    	}
    
    	return target, nil
    }
    
    func isKafkaConnErr(err error) bool {
    	// Sarama opens the circuit breaker after 3 consecutive connection failures.
    	return err == sarama.ErrLeaderNotAvailable || err.Error() == "circuit breaker is open"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 15:02:59 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. cni/pkg/iptables/iptables.go

    	// CLI: -t mangle -A ISTIO_PRERT -s fd16:9254:7127:1337:ffff:ffff:ffff:ffff -p tcp -m tcp --dport <PROBEPORT> -j ACCEPT
    	//
    	// DESC: If this is one of our node-probe ports and is from our SNAT-ed/"special" hostside IP, short-circuit out here
    	iptablesBuilder.AppendVersionedRule(hostProbeSNAT.String(), hostProbeV6SNAT.String(),
    		iptableslog.UndefinedCommand, ChainInpodPrerouting, iptablesconstants.MANGLE,
    		"-s", iptablesconstants.IPVersionSpecific,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. cmd/utils.go

    }
    
    func lcp(strs []string, pre bool) string {
    	// short-circuit empty list
    	if len(strs) == 0 {
    		return ""
    	}
    	xfix := strs[0]
    	// short-circuit single-element list
    	if len(strs) == 1 {
    		return xfix
    	}
    	// compare first to rest
    	for _, str := range strs[1:] {
    		xfixl := len(xfix)
    		strl := len(str)
    		// short-circuit empty strings
    		if xfixl == 0 || strl == 0 {
    			return ""
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 22:00:34 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/upgrade/common.go

    }
    
    // printConfiguration prints the external version of the API to yaml
    func printConfiguration(clustercfg *kubeadmapi.ClusterConfiguration, w io.Writer, printer output.Printer) {
    	// Short-circuit if cfg is nil, so we can safely get the value of the pointer below
    	if clustercfg == nil {
    		return
    	}
    
    	cfgYaml, err := configutil.MarshalKubeadmConfigObject(clustercfg, kubeadmapiv1.SchemeGroupVersion)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    	}
    	return nil
    }
    
    // lockPath returns a typePath describing the location of a lock value
    // contained in typ. If there is no contained lock, it returns nil.
    //
    // The seen map is used to short-circuit infinite recursion due to type cycles.
    func lockPath(tpkg *types.Package, typ types.Type, seen map[types.Type]bool) typePath {
    	if typ == nil || seen[typ] {
    		return nil
    	}
    	if seen == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/start.go

    		// child.
    		//
    		// On the other hand, if telemetryChildVar were simply unset, then the
    		// delegated go commands would fork themselves recursively. Short-circuit
    		// this recursion.
    		os.Setenv(telemetryChildVar, "2")
    		upload := os.Getenv(telemetryUploadVar) == "1"
    		child(reportCrashes, upload, config.UploadStartTime, config.UploadURL)
    		os.Exit(0)
    	case "2":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/network.go

    func (n *networkManager) extractGatewaysInner(svc *model.Service) bool {
    	n.Lock()
    	defer n.Unlock()
    	previousGateways := n.networkGatewaysBySvc[svc.Hostname]
    	gateways := n.getGatewayDetails(svc)
    	// short circuit for most services.
    	if len(previousGateways) == 0 && len(gateways) == 0 {
    		return false
    	}
    
    	newGateways := make(model.NetworkGatewaySet)
    	// check if we have node port mappings
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 22:23:22 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. src/text/template/exec.go

    	}
    
    	unwrap := func(v reflect.Value) reflect.Value {
    		if v.Type() == reflectValueType {
    			v = v.Interface().(reflect.Value)
    		}
    		return v
    	}
    
    	// Special case for builtin and/or, which short-circuit.
    	if isBuiltin && (name == "and" || name == "or") {
    		argType := typ.In(0)
    		var v reflect.Value
    		for _, arg := range args {
    			v = s.evalArg(dot, argType, arg).Interface().(reflect.Value)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster_builder.go

    		serviceAccounts: nil,
    		serviceTargets:  cb.serviceTargets,
    		istioMtlsSni:    "",
    		clusterMode:     DefaultClusterMode,
    		direction:       model.TrafficDirectionInbound,
    	}
    	// When users specify circuit breakers, they need to be set on the receiver end
    	// (server side) as well as client side, so that the server has enough capacity
    	// (not the defaults) to handle the increased traffic volume
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
Back to top