Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for circuit (0.12 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. pilot/pkg/networking/core/cluster_traffic_policy.go

    	}
    }
    
    // getDefaultCircuitBreakerThresholds returns a copy of the default circuit breaker thresholds for the given traffic direction.
    func getDefaultCircuitBreakerThresholds() *cluster.CircuitBreakers_Thresholds {
    	return &cluster.CircuitBreakers_Thresholds{
    		// DefaultMaxRetries specifies the default for the Envoy circuit breaker parameter max_retries. This
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 20K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. pkg/controller/serviceaccount/tokens_controller.go

    	if apierrors.IsNotFound(err) {
    		return nil
    	}
    	if err != nil {
    		return err
    	}
    
    	// Short-circuit if the UID doesn't match
    	if len(saUID) > 0 && saUID != serviceAccount.UID {
    		return nil
    	}
    
    	// Short-circuit if the secret is no longer referenced
    	if !getSecretReferences(serviceAccount).Has(secretName) {
    		return nil
    	}
    
    	// Remove the secret
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top