Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for cfgs (0.45 sec)

  1. internal/bucket/replication/replication_test.go

    		expectedResult bool
    	}{
    		// using config 1 - no filters, all replication enabled
    		{ObjectOpts{}, cfgs[0], false},                                // 1. invalid ObjectOpts missing object name
    		{ObjectOpts{Name: "c1test"}, cfgs[0], true},                   // 2. valid ObjectOpts passing empty Filter
    		{ObjectOpts{Name: "c1test", VersionID: "vid"}, cfgs[0], true}, // 3. valid ObjectOpts passing empty Filter
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. internal/logger/targets.go

    func UpdateHTTPWebhooks(ctx context.Context, cfgs map[string]http.Config) (errs []error) {
    	return updateHTTPTargets(ctx, cfgs, &systemTargets)
    }
    
    // UpdateAuditWebhooks swaps audit webhook targets with newly loaded ones from the cfg
    func UpdateAuditWebhooks(ctx context.Context, cfgs map[string]http.Config) (errs []error) {
    	return updateHTTPTargets(ctx, cfgs, &auditTargets)
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 02 22:56:14 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  3. istioctl/pkg/describe/describe.go

    	var cfgs []*config.Config
    
    	for _, cfg := range configs {
    		cfg := cfg
    		labels := cfg.Spec.(Workloader).GetSelector().GetMatchLabels()
    		selector := klabels.SelectorFromSet(labels)
    		if selector.Matches(podsLabels) {
    			cfgs = append(cfgs, cfg)
    		}
    	}
    
    	return cfgs
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    func isBktReplCfgReplicated(total int, cfgs []*sreplication.Config) bool {
    	cntReplicated := 0
    	for _, c := range cfgs {
    		if c == nil {
    			continue
    		}
    		cntReplicated++
    	}
    
    	if cntReplicated > 0 && cntReplicated != total {
    		return false
    	}
    	// check if policies match between sites
    	var prev *sreplication.Config
    	for i, c := range cfgs {
    		if c == nil {
    			continue
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 182.7K bytes
    - Viewed (1)
  5. cmd/object-api-utils.go

    	globalCompressConfigMu.Lock()
    	cfg := globalCompressConfig
    	globalCompressConfigMu.Unlock()
    
    	return !excludeForCompression(header, object, cfg)
    }
    
    // Eliminate the non-compressible objects.
    func excludeForCompression(header http.Header, object string, cfg compress.Config) bool {
    	objStr := object
    	contentType := header.Get(xhttp.ContentType)
    	if !cfg.Enabled {
    		return true
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  6. codereview.cfg

    Russ Cox <******@****.***> 1613759983 -0500
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 19 18:44:53 GMT 2021
    - 15 bytes
    - Viewed (0)
  7. cmd/common-main.go

    	pcfgs := globalIAMSys.OpenIDConfig.ProviderCfgs
    	m := make(map[string]consoleoauth2.ProviderConfig, len(pcfgs))
    	for name, cfg := range pcfgs {
    		callback := getConsoleEndpoints()[0] + "/oauth_callback"
    		if cfg.RedirectURI != "" {
    			callback = cfg.RedirectURI
    		}
    		m[name] = consoleoauth2.ProviderConfig{
    			URL:                     cfg.URL.String(),
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Apr 17 00:34:45 GMT 2024
    - 35.5K bytes
    - Viewed (2)
  8. cni/pkg/iptables/iptables.go

    	return cfg.ext.Run(cmd, iptVer, strings.NewReader(data), "--noflush", "-v")
    }
    
    func (cfg *IptablesConfigurator) addLoopbackRoute() error {
    	return cfg.nlDeps.AddLoopbackRoutes(cfg.cfg)
    }
    
    func (cfg *IptablesConfigurator) delLoopbackRoute() error {
    	return cfg.nlDeps.DelLoopbackRoutes(cfg.cfg)
    }
    
    func (cfg *IptablesConfigurator) addInpodMarkIPRule() error {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 01:42:30 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  9. cni/pkg/iptables/iptables_test.go

    	tt := struct {
    		name   string
    		config func(cfg *Config)
    	}{
    		"default",
    		func(cfg *Config) {
    			cfg.RedirectDNS = true
    		},
    	}
    
    	probeSNATipv4 := netip.MustParseAddr("169.254.7.127")
    
    	cfg := constructTestConfig()
    	tt.config(cfg)
    	ext := &dep.DependenciesStub{}
    	iptConfigurator, _ := NewIptablesConfigurator(cfg, ext, EmptyNlDeps())
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 17:46:23 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. cni/pkg/install/cniconfig.go

    	}
    }
    
    func getCNIConfigVars(cfg *config.InstallConfig) cniConfigVars {
    	return cniConfigVars{
    		cniNetDir:          cfg.CNINetDir,
    		kubeconfigFilename: cfg.KubeconfigFilename,
    		logLevel:           cfg.LogLevel,
    		k8sServiceHost:     cfg.K8sServiceHost,
    		k8sServicePort:     cfg.K8sServicePort,
    		k8sNodeName:        cfg.K8sNodeName,
    		logUDSAddress:      cfg.LogUDSAddress,
    		cniEventAddress:    cfg.CNIEventAddress,
    	}
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top