Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 260 for Cfg (1.54 sec)

  1. cmd/kubeadm/app/cmd/join_test.go

    				if data.cfg.Discovery.BootstrapToken == nil ||
    					data.cfg.Discovery.BootstrapToken.APIServerEndpoint != "1.2.3.4:6443" || //only first arg should be kept as APIServerEndpoint
    					data.cfg.Discovery.BootstrapToken.Token != "abcdef.0123456789abcdef" ||
    					data.cfg.Discovery.BootstrapToken.UnsafeSkipCAVerification != true {
    					t.Error("Invalid data.cfg.Discovery.BootstrapToken")
    				}
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 12:26:20 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  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