Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 421 for Cfg (0.02 sec)

  1. internal/config/etcd/etcd.go

    }
    
    // New - initialize new etcd client.
    func New(cfg Config) (*clientv3.Client, error) {
    	if !cfg.Enabled {
    		return nil, nil
    	}
    	cli, err := clientv3.New(cfg.Config)
    	if err != nil {
    		return nil, err
    	}
    	cli.KV = namespace.NewKV(cli.KV, cfg.PathPrefix)
    	cli.Watcher = namespace.NewWatcher(cli.Watcher, cfg.PathPrefix)
    	cli.Lease = namespace.NewLease(cli.Lease, cfg.PathPrefix)
    	return cli, nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/crdclient/types.gen.go

    			Spec:       *(cfg.Spec.(*istioioapinetworkingv1alpha3.WorkloadGroup)),
    		}, metav1.UpdateOptions{})
    	default:
    		return nil, fmt.Errorf("unsupported type: %v", cfg.GroupVersionKind)
    	}
    }
    
    func updateStatus(c kube.Client, cfg config.Config, objMeta metav1.ObjectMeta) (metav1.Object, error) {
    	switch cfg.GroupVersionKind {
    	case gvk.AuthorizationPolicy:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  3. src/net/tcpconn_keepalive_solaris_test.go

    			cfg.Interval = oldCfg.Interval
    			cfg.Count = oldCfg.Count
    		case cfg.Interval == -1 && cfg.Count > 0:
    			cfg.Interval = defaultTcpKeepAliveAbortThreshold / time.Duration(cfg.Count)
    		case cfg.Count == -1 && cfg.Interval > 0:
    			cfg.Count = int(defaultTcpKeepAliveAbortThreshold / cfg.Interval)
    		case cfg.Interval > 0 && cfg.Count > 0:
    			// TCP_KEEPALIVE_ABORT_THRESHOLD will be recalculated only when both TCP_KEEPINTVL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/net/tcpconn_keepalive_illumos_test.go

    	switch {
    	case cfg.Interval == -1 && cfg.Count == -1:
    		cfg.Interval = oldCfg.Interval
    		cfg.Count = oldCfg.Count
    	case cfg.Interval == -1 && cfg.Count > 0:
    		cfg.Interval = defaultTcpKeepAliveAbortThreshold / time.Duration(cfg.Count)
    	case cfg.Count == -1 && cfg.Interval > 0:
    		cfg.Count = int(defaultTcpKeepAliveAbortThreshold / cfg.Interval)
    	case cfg.Interval > 0 && cfg.Count > 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. tools/istio-iptables/pkg/capture/run.go

    		}
    		cfg.ruleBuilder.AppendRule(iptableslog.JumpInbound, constants.PREROUTING, table, "-p", constants.TCP,
    			"-j", constants.ISTIOINBOUND)
    
    		if cfg.cfg.InboundPortsInclude == "*" {
    			// Apply any user-specified port exclusions.
    			if cfg.cfg.InboundPortsExclude != "" {
    				for _, port := range split(cfg.cfg.InboundPortsExclude) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 03:53:23 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  6. pkg/test/framework/components/istio/kube.go

    	}
    
    	if cfg.GatewayValues != "" {
    		i.gatewayIOP.file = filepath.Join(workDir, "custom_gateways.yaml")
    		_, err = initIOPFile(cfg, i.gatewayIOP.file, cfg.GatewayValues)
    		if err != nil {
    			return iopFiles{}, err
    		}
    	}
    	if cfg.EastWestGatewayValues != "" {
    		i.eastwestIOP.file = filepath.Join(workDir, "eastwest.yaml")
    		_, err = initIOPFile(cfg, i.eastwestIOP.file, cfg.EastWestGatewayValues)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  7. internal/config/api/api.go

    	if err != nil {
    		return cfg, err
    	}
    
    	cfg.RequestsMax = requestsMax
    	if requestsMax < 0 {
    		return cfg, errors.New("invalid API max requests value")
    	}
    
    	requestsDeadline, err := time.ParseDuration(env.Get(EnvAPIRequestsDeadline, kvs.GetWithDefault(apiRequestsDeadline, DefaultKVS)))
    	if err != nil {
    		return cfg, err
    	}
    	cfg.RequestsDeadline = requestsDeadline
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  8. internal/config/batch/batch.go

    	if err != nil {
    		return cfg, err
    	}
    	if eduration < 0 {
    		return cfg, config.ErrInvalidBatchExpirationWorkersWait(nil)
    	}
    
    	if rduration > 0 {
    		cfg.ReplicationWorkersWait = rduration
    	}
    
    	if kduration > 0 {
    		cfg.KeyRotationWorkersWait = kduration
    	}
    
    	if eduration > 0 {
    		cfg.ExpirationWorkersWait = eduration
    	}
    
    	return cfg, nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. src/cmd/go/internal/envcmd/env.go

    		{Name: "GOOS", Value: cfg.Goos, Changed: cfg.Goos != runtime.GOOS},
    		{Name: "GOPATH", Value: cfg.BuildContext.GOPATH, Changed: cfg.GOPATHChanged},
    		{Name: "GOPRIVATE", Value: cfg.GOPRIVATE},
    		{Name: "GOPROXY", Value: cfg.GOPROXY, Changed: cfg.GOPROXYChanged},
    		{Name: "GOROOT", Value: cfg.GOROOT},
    		{Name: "GOSUMDB", Value: cfg.GOSUMDB, Changed: cfg.GOSUMDBChanged},
    		{Name: "GOTMPDIR", Value: cfg.Getenv("GOTMPDIR")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/etcd/local.go

    		{Name: "data-dir", Value: cfg.Etcd.Local.DataDir},
    		{Name: "cert-file", Value: filepath.Join(cfg.CertificatesDir, kubeadmconstants.EtcdServerCertName)},
    		{Name: "key-file", Value: filepath.Join(cfg.CertificatesDir, kubeadmconstants.EtcdServerKeyName)},
    		{Name: "trusted-ca-file", Value: filepath.Join(cfg.CertificatesDir, kubeadmconstants.EtcdCACertName)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 14:07:27 UTC 2024
    - 13.8K bytes
    - Viewed (1)
Back to top