Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 211 for Cfg (0.04 sec)

  1. cmd/kubeadm/app/util/config/common_test.go

    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			cfg := &kubeadmapiv1.ClusterConfiguration{
    				APIServer: kubeadmapiv1.APIServer{
    					CertSANs: test.in,
    				},
    			}
    
    			LowercaseSANs(cfg.APIServer.CertSANs)
    
    			if len(cfg.APIServer.CertSANs) != len(test.out) {
    				t.Fatalf("expected %d elements, got %d", len(test.out), len(cfg.APIServer.CertSANs))
    			}
    
    			for i, expected := range test.out {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. 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 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go

    		}
    	}
    
    	return nil
    }
    
    func getKubeConfigSpecsBase(cfg *kubeadmapi.InitConfiguration) (map[string]*kubeConfigSpec, error) {
    	controlPlaneEndpoint, err := kubeadmutil.GetControlPlaneEndpoint(cfg.ControlPlaneEndpoint, &cfg.LocalAPIEndpoint)
    	if err != nil {
    		return nil, err
    	}
    	localAPIEndpoint, err := kubeadmutil.GetLocalAPIEndpoint(&cfg.LocalAPIEndpoint)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 27K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/gc.go

    			}
    		}
    	}
    
    	if cfg.Goarch == "386" {
    		// Define GO386_value from cfg.GO386.
    		args = append(args, "-D", "GO386_"+cfg.GO386)
    	}
    
    	if cfg.Goarch == "amd64" {
    		// Define GOAMD64_value from cfg.GOAMD64.
    		args = append(args, "-D", "GOAMD64_"+cfg.GOAMD64)
    	}
    
    	if cfg.Goarch == "mips" || cfg.Goarch == "mipsle" {
    		// Define GOMIPS_value from cfg.GOMIPS.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/config/upgradeconfiguration_test.go

    	options := LoadOrDefaultConfigurationOptions{}
    
    	tests := []struct {
    		name    string
    		cfgPath string
    		cfg     *kubeadmapiv1.UpgradeConfiguration
    		want    *kubeadmapi.UpgradeConfiguration
    	}{
    		{
    			name:    "cfgpPath is empty, the result should be obtained from cfg",
    			cfgPath: "",
    			cfg: &kubeadmapiv1.UpgradeConfiguration{
    				Apply: kubeadmapiv1.UpgradeApplyConfiguration{
    					CertificateRenewal: ptr.To(false),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. cni/pkg/install/install.go

    func checkValidCNIConfig(cfg *config.InstallConfig, cniConfigFilepath string) error {
    	defaultCNIConfigFilename, err := getDefaultCNINetwork(cfg.MountedCNINetDir)
    	if err != nil {
    		return err
    	}
    	defaultCNIConfigFilepath := filepath.Join(cfg.MountedCNINetDir, defaultCNIConfigFilename)
    	if defaultCNIConfigFilepath != cniConfigFilepath {
    		if len(cfg.CNIConfName) > 0 || !cfg.ChainedCNIPlugin {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. cmd/admin-handlers-idp-config.go

    	var cfgList []madmin.IDPListItem
    	var err error
    	switch idpCfgType {
    	case madmin.OpenidIDPCfg:
    		cfg := globalServerConfig.Clone()
    		cfgList, err = globalIAMSys.OpenIDConfig.GetConfigList(cfg)
    	case madmin.LDAPIDPCfg:
    		cfg := globalServerConfig.Clone()
    		cfgList, err = globalIAMSys.LDAPConfig.GetConfigList(cfg)
    
    	default:
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    		return
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. pkg/controlplane/instance.go

    	discoveryAddresses.CIDRRules = append(discoveryAddresses.CIDRRules,
    		discovery.CIDRRule{IPRange: cfg.Extra.ServiceIPRange, Address: net.JoinHostPort(cfg.Extra.APIServerServiceIP.String(), strconv.Itoa(cfg.Extra.APIServerServicePort))})
    	cfg.ControlPlane.Generic.DiscoveryAddresses = discoveryAddresses
    
    	if cfg.Extra.ServiceNodePortRange.Size == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    var (
    	makeTypesImporter = func(cfg *Config, fset *token.FileSet) types.Importer {
    		compilerImporter := importer.ForCompiler(fset, cfg.Compiler, func(path string) (io.ReadCloser, error) {
    			// path is a resolved package path, not an import path.
    			file, ok := cfg.PackageFile[path]
    			if !ok {
    				if cfg.Compiler == "gccgo" && cfg.Standard[path] {
    					return nil, nil // fall back to default gccgo lookup
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top