Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 326 for Cfg (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. cmd/kubeadm/app/cmd/phases/join/controlplanejoin.go

    	}
    
    	if data.Cfg().ControlPlane == nil {
    		return nil
    	}
    
    	// gets access to the cluster using the identity defined in admin.conf
    	client, err := data.Client()
    	if err != nil {
    		return errors.Wrap(err, "couldn't create Kubernetes client")
    	}
    	cfg, err := data.InitCfg()
    	if err != nil {
    		return err
    	}
    	// in case of external etcd
    	if cfg.Etcd.External != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:09:42 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/init/certs.go

    		cfg := data.Cfg()
    		cfg.CertificatesDir = data.CertificateWriteDir()
    		defer func() { cfg.CertificatesDir = data.CertificateDir() }()
    
    		// create the new certificate authority (or use existing)
    		return certsphase.CreateCACertAndKeyFiles(ca, cfg)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 06:35:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/settings.go

    		return fmt.Errorf("invalid config name")
    	}
    	cfg := currentConfig()
    	if err := cfg.applyURL(q); err != nil {
    		return err
    	}
    	return editSettings(fname, func(s *settings) error {
    		for i, c := range s.Configs {
    			if c.Name == name {
    				s.Configs[i].config = cfg
    				return nil
    			}
    		}
    		s.Configs = append(s.Configs, namedConfig{Name: name, config: cfg})
    		return nil
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. internal/config/callhome/callhome.go

    func LookupConfig(kvs config.KVS) (cfg Config, err error) {
    	if err = config.CheckValidKeys(config.CallhomeSubSys, kvs, DefaultKVS); err != nil {
    		return cfg, err
    	}
    
    	cfg.Enable = env.Get(config.EnvMinIOCallhomeEnable,
    		kvs.GetWithDefault(Enable, DefaultKVS)) == config.EnableOn
    	cfg.Frequency, err = time.ParseDuration(env.Get(config.EnvMinIOCallhomeFrequency,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top