Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 762 for Cfg (0.25 sec)

  1. cmd/kube-scheduler/app/options/options.go

    // ApplyLeaderElectionTo obtains the CLI args related with leaderelection, and override the values in `cfg`.
    // Then the `cfg` object is injected into the `options` object.
    func (o *Options) ApplyLeaderElectionTo(cfg *kubeschedulerconfig.KubeSchedulerConfiguration) {
    	if o.Flags == nil {
    		return
    	}
    	// Obtain CLI args related with leaderelection. Set them to `cfg` if specified in command line.
    	leaderelection := o.Flags.FlagSet("leader election")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 17:06:29 UTC 2024
    - 13.3K 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. 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)
  5. 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)
  6. 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)
  7. pkg/test/framework/components/echo/kube/builder.go

    func Build(ctx resource.Context, configs []echo.Config) (echo.Instances, error) {
    	instances := make([]echo.Instance, len(configs))
    
    	g := multierror.Group{}
    	for i, cfg := range configs {
    		i, cfg := i, cfg
    		g.Go(func() (err error) {
    			instances[i], err = newInstance(ctx, cfg)
    			return
    		})
    	}
    
    	err := g.Wait().ErrorOrNil()
    	return instances, err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. 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)
  9. pkg/hbone/dialer.go

    				d := net.Dialer{}
    				if cfg.Timeout != nil {
    					d.Timeout = *cfg.Timeout
    				}
    				return d.Dial(network, addr)
    			},
    		}
    	}
    	return &dialer{
    		cfg:       cfg,
    		transport: transport,
    	}
    }
    
    type dialer struct {
    	cfg       Config
    	transport *http2.Transport
    }
    
    // DialContext connects to `address` via the HBONE proxy.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 15:56:41 UTC 2023
    - 5.1K 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