Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 421 for Cfg (0.04 sec)

  1. cni/pkg/plugin/sidecar_iptables_linux.go

    	cfg := config.DefaultConfig()
    	cfg.CNIMode = true
    	cfg.NetworkNamespace = netns
    	cfg.ProxyPort = rdrct.targetPort
    	cfg.ProxyUID = rdrct.noRedirectUID
    	cfg.ProxyGID = rdrct.noRedirectGID
    	cfg.InboundInterceptionMode = rdrct.redirectMode
    	cfg.OutboundIPRangesInclude = rdrct.includeIPCidrs
    	cfg.InboundPortsExclude = rdrct.excludeInboundPorts
    	cfg.InboundPortsInclude = rdrct.includeInboundPorts
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 17:36:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. internal/config/storageclass/legacy.go

    func SetStorageClass(s config.Config, cfg Config) {
    	if len(cfg.Standard.String()) == 0 && len(cfg.RRS.String()) == 0 {
    		// Do not enable storage-class if no settings found.
    		return
    	}
    	s[config.StorageClassSubSys][config.Default] = config.KVS{
    		config.KV{
    			Key:   ClassStandard,
    			Value: cfg.Standard.String(),
    		},
    		config.KV{
    			Key:   ClassRRS,
    			Value: cfg.RRS.String(),
    		},
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  3. pkg/test/echo/server/forwarder/websocket.go

    		return newDialer(cfg).Dial(network, addr)
    	}
    	if len(cfg.UDS) > 0 {
    		dialContext = func(network, addr string) (net.Conn, error) {
    			return newDialer(cfg).Dial("unix", cfg.UDS)
    		}
    	}
    
    	dialer := &websocket.Dialer{
    		TLSClientConfig:  cfg.tlsConfig,
    		NetDial:          dialContext,
    		HandshakeTimeout: cfg.timeout,
    	}
    
    	conn, _, err := dialer.Dial(req.Url, wsReq)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 11 16:27:16 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  4. internal/config/drive/drive.go

    	if d == "" {
    		cfg.MaxTimeout = 30 * time.Second
    	} else {
    		dur, _ := time.ParseDuration(d)
    		if dur < time.Second {
    			cfg.MaxTimeout = 30 * time.Second
    		} else {
    			cfg.MaxTimeout = getMaxTimeout(dur)
    		}
    	}
    	return cfg, err
    }
    
    func getMaxTimeout(t time.Duration) time.Duration {
    	if t > time.Second {
    		return t
    	}
    	// get default value
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. pkg/test/echo/server/forwarder/tls.go

    		return fmt.Sprintf("unknown-%v", v)
    	}
    }
    
    func (c *tlsProtocol) Close() error {
    	return nil
    }
    
    func newTLSConnection(cfg *Config) (*tls.Conn, error) {
    	address := cfg.Request.Url[len(cfg.scheme+"://"):]
    
    	con, err := hbone.TLSDialWithDialer(newDialer(cfg), "tcp", address, cfg.tlsConfig)
    	if err != nil {
    		return nil, err
    	}
    	return con, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 11 16:27:16 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  6. cmd/config-migrate.go

    	switch cfg.Version {
    	case "29":
    		// V29 -> V30
    		cfg.Compression.Enabled = false
    		cfg.Compression.Extensions = strings.Split(compress.DefaultExtensions, config.ValueSeparator)
    		cfg.Compression.MimeTypes = strings.Split(compress.DefaultMimeTypes, config.ValueSeparator)
    	case "30":
    		// V30 -> V31
    		cfg.OpenID = openid.Config{}
    		cfg.Policy.OPA = opa.Args{
    			URL:       &xnet.URL{},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. pkg/controlplane/apiserver/completion.go

    	*completedConfig
    }
    
    func (c *Config) Complete() CompletedConfig {
    	cfg := completedConfig{
    		c.Generic.Complete(c.VersionedInformers),
    		&c.Extra,
    	}
    
    	discoveryAddresses := discovery.DefaultAddresses{DefaultAddress: cfg.Generic.ExternalAddress}
    	cfg.Generic.DiscoveryAddresses = discoveryAddresses
    
    	if cfg.Extra.PeerEndpointReconcileInterval == 0 {
    		cfg.Extra.PeerEndpointReconcileInterval = DefaultPeerEndpointReconcileInterval
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 06:13:43 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. tools/istio-iptables/pkg/cmd/root.go

    			if err := cfg.FillConfigFromEnvironment(); err != nil {
    				handleErrorWithCode(err, 1)
    			}
    			if err := cfg.Validate(); err != nil {
    				handleErrorWithCode(err, 1)
    			}
    			if err := ProgramIptables(cfg); err != nil {
    				handleErrorWithCode(err, 1)
    			}
    
    			if cfg.RunValidation {
    				validator := validation.NewValidator(cfg)
    
    				if err := validator.Run(); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 17:36:41 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. internal/config/browser/browser.go

    	if err != nil {
    		return cfg, err
    	}
    
    	cfg.HSTSSeconds = hstsSeconds
    	cfg.HSTSIncludeSubdomains = hstsIncludeSubdomains
    	cfg.HSTSPreload = hstsPreload
    
    	referrerPolicy := env.Get(EnvBrowserReferrerPolicy, kvs.GetWithDefault(browserReferrerPolicy, DefaultKVS))
    	switch referrerPolicy {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (1)
  10. pilot/pkg/config/kube/crd/conversion.go

    			status = &s
    		}
    	}
    	namespace := cfg.Namespace
    	if namespace == "" {
    		namespace = metav1.NamespaceDefault
    	}
    	return &IstioKind{
    		TypeMeta: metav1.TypeMeta{
    			Kind:       cfg.GroupVersionKind.Kind,
    			APIVersion: cfg.GroupVersionKind.Group + "/" + cfg.GroupVersionKind.Version,
    		},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:              cfg.Name,
    			Namespace:         namespace,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 18:26:16 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top