Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for cfgs (0.04 sec)

  1. istioctl/pkg/describe/describe.go

    	var cfgs []*config.Config
    
    	for _, cfg := range configs {
    		labels := cfg.Spec.(Workloader).GetSelector().GetMatchLabels()
    		selector := klabels.SelectorFromSet(labels)
    		if selector.Matches(podsLabels) {
    			cfgs = append(cfgs, cfg)
    		}
    	}
    
    	return cfgs
    }
    
    // printConfigs prints the applied configs based on the member's type.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  2. 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(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  3. cni/pkg/iptables/iptables_linux.go

    )
    
    func AddInpodMarkIPRule(cfg *Config) error {
    	err := forEachInpodMarkIPRule(cfg, netlink.RuleAdd)
    	if errors.Is(err, unix.EEXIST) {
    		log.Debugf("Ignoring exists error adding inpod mark ip rule: %v", err)
    		return nil
    	}
    	return err
    }
    
    func DelInpodMarkIPRule(cfg *Config) error {
    	return forEachInpodMarkIPRule(cfg, netlink.RuleDel)
    }
    
    func forEachInpodMarkIPRule(cfg *Config, f func(*netlink.Rule) error) error {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Sep 06 09:44:28 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. cni/pkg/iptables/iptables_e2e_test.go

    	setup(t)
    	tt := struct {
    		name   string
    		config func(cfg *Config)
    	}{
    		"default",
    		func(cfg *Config) {
    			cfg.RedirectDNS = true
    		},
    	}
    
    	probeSNATipv4 := netip.MustParseAddr("169.254.7.127")
    	probeSNATipv6 := netip.MustParseAddr("e9ac:1e77:90ca:399f:4d6d:ece2:2f9b:3164")
    
    	cfg := &Config{}
    	tt.config(cfg)
    
    	deps := &dep.RealDependencies{}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. internal/logger/config.go

    			return cfg, err
    		}
    	case config.AuditWebhookSubSys:
    		cfg = lookupLegacyConfigForSubSys(ctx, config.AuditWebhookSubSys)
    		if cfg, err = lookupAuditWebhookConfig(scfg, cfg); err != nil {
    			return cfg, err
    		}
    	case config.AuditKafkaSubSys:
    		cfg.AuditKafka = make(map[string]kafka.Config)
    		if cfg, err = lookupAuditKafkaConfig(scfg, cfg); err != nil {
    			return cfg, err
    		}
    	}
    	return cfg, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 20 16:02:50 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. cni/pkg/iptables/iptables_test.go

    		name        string
    		config      func(cfg *Config)
    		ingressMode bool
    	}{
    		{
    			name: "default",
    			config: func(cfg *Config) {
    				cfg.RedirectDNS = true
    			},
    		},
    		{
    			name: "tproxy",
    			config: func(cfg *Config) {
    				cfg.TPROXYRedirection = true
    				cfg.RedirectDNS = true
    			},
    		},
    		{
    			name: "ingress",
    			config: func(cfg *Config) {
    			},
    			ingressMode: true,
    		},
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. cmd/tier.go

    			cfg.S3.AccessKey = creds.AccessKey
    			cfg.S3.SecretKey = creds.SecretKey
    		}
    	case madmin.Azure:
    		if creds.SecretKey != "" {
    			cfg.Azure.AccountKey = creds.SecretKey
    		}
    		if creds.AzSP.TenantID != "" {
    			cfg.Azure.SPAuth.TenantID = creds.AzSP.TenantID
    		}
    		if creds.AzSP.ClientID != "" {
    			cfg.Azure.SPAuth.ClientID = creds.AzSP.ClientID
    		}
    		if creds.AzSP.ClientSecret != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  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 {
    	return cfg.nlDeps.AddInpodMarkIPRule(cfg.cfg)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  9. tests/tests_test.go

    			dbDSN = sqlserverDSN
    		}
    		db, err = gorm.Open(sqlserver.Open(dbDSN), cfg)
    	case "tidb":
    		log.Println("testing tidb...")
    		if dbDSN == "" {
    			dbDSN = tidbDSN
    		}
    		db, err = gorm.Open(mysql.Open(dbDSN), cfg)
    	default:
    		log.Println("testing sqlite3...")
    		db, err = gorm.Open(sqlite.Open(filepath.Join(os.TempDir(), "gorm.db")), cfg)
    		if err == nil {
    			db.Exec("PRAGMA foreign_keys = ON")
    		}
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 30 03:21:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. internal/config/storageclass/storage-class.go

    	if ssc != "" {
    		cfg.Standard, err = parseStorageClass(ssc)
    		if err != nil {
    			return Config{}, err
    		}
    	} else {
    		cfg.Standard.Parity = DefaultParityBlocks(setDriveCount)
    	}
    
    	if rrsc != "" {
    		cfg.RRS, err = parseStorageClass(rrsc)
    		if err != nil {
    			return Config{}, err
    		}
    	} else {
    		cfg.RRS.Parity = defaultRRSParity
    		if setDriveCount == 1 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top