Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 400 for stringVar (0.16 sec)

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

    				}
    			}
    			return nil
    		},
    		Args: cobra.NoArgs,
    	}
    	cmd.Flags().StringVar(&oldCfgPath, "old-config", "", "Path to the kubeadm config file that is using an old API version and should be converted. This flag is mandatory.")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. src/cmd/go/internal/generate/generate.go

    	generateSkipRE   *regexp.Regexp // compiled expression for -skip
    )
    
    func init() {
    	work.AddBuildFlags(CmdGenerate, work.DefaultBuildFlags)
    	CmdGenerate.Flag.StringVar(&generateRunFlag, "run", "", "")
    	CmdGenerate.Flag.StringVar(&generateSkipFlag, "skip", "", "")
    }
    
    func runGenerate(ctx context.Context, cmd *base.Command, args []string) {
    	modload.InitWorkfile()
    
    	if generateRunFlag != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/admission.go

    		strings.Join(a.defaultEnabledPluginNames(), ", ")+"). "+
    		"Comma-delimited list of admission plugins: "+strings.Join(a.Plugins.Registered(), ", ")+". "+
    		"The order of plugins in this flag does not matter.")
    	fs.StringVar(&a.ConfigFile, "admission-control-config-file", a.ConfigFile,
    		"File with admission control configuration.")
    }
    
    // ApplyTo adds the admission chain to the server configuration.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 12 08:49:42 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. src/flag/flag.go

    	return CommandLine.Uint64(name, value, usage)
    }
    
    // StringVar defines a string flag with specified name, default value, and usage string.
    // The argument p points to a string variable in which to store the value of the flag.
    func (f *FlagSet) StringVar(p *string, name string, value string, usage string) {
    	f.Var(newStringValue(value, p), name, usage)
    }
    
    // StringVar defines a string flag with specified name, default value, and usage string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  5. pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_test.go

    )
    
    var (
    	supportedVersions = []string{"v1beta1", "v1beta2"}
    )
    
    func init() {
    	var logLevel string
    
    	klog.InitFlags(flag.CommandLine)
    	flag.Set("alsologtostderr", fmt.Sprintf("%t", true))
    	flag.StringVar(&logLevel, "logLevel", "6", "test")
    	flag.Lookup("v").Value.Set(logLevel)
    }
    
    func initTempDir(t *testing.T) string {
    	// Creating a different directory. os.RemoveAll is not atomic enough;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/authorization.go

    	}
    
    	var optionalKubeConfigSentence string
    	if s.RemoteKubeConfigFileOptional {
    		optionalKubeConfigSentence = " This is optional. If empty, all requests not skipped by authorization are forbidden."
    	}
    	fs.StringVar(&s.RemoteKubeConfigFile, "authorization-kubeconfig", s.RemoteKubeConfigFile,
    		"kubeconfig file pointing at the 'core' kubernetes server with enough rights to create "+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/reset.go

    	}, nil
    }
    
    // AddResetFlags adds reset flags
    func AddResetFlags(flagSet *flag.FlagSet, resetOptions *resetOptions) {
    	flagSet.StringVar(
    		&resetOptions.externalcfg.CertificatesDir, options.CertificatesDir, kubeadmapiv1.DefaultCertificatesDir,
    		`The path to the directory where the certificates are stored. If specified, clean this directory.`,
    	)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 12:26:58 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  8. pkg/kubectl/cmd/convert/convert.go

    			cmdutil.CheckErr(o.RunConvert())
    		},
    	}
    
    	cmd.Flags().BoolVar(&o.local, "local", o.local, "If true, convert will NOT try to contact api-server but run locally.")
    	cmd.Flags().StringVar(&o.OutputVersion, "output-version", o.OutputVersion, i18n.T("Output the formatted object with the given group version (for ex: 'extensions/v1beta1')."))
    	o.PrintFlags.AddFlags(cmd)
    
    	cmdutil.AddValidateFlags(cmd)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 03:21:17 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  9. src/net/http/httptest/server.go

    // isn't really part of our API. Don't depend on this.
    var serveFlag string
    
    func init() {
    	if strSliceContainsPrefix(os.Args, "-httptest.serve=") || strSliceContainsPrefix(os.Args, "--httptest.serve=") {
    		flag.StringVar(&serveFlag, "httptest.serve", "", "if non-empty, httptest.NewServer serves on this address and blocks.")
    	}
    }
    
    func strSliceContainsPrefix(v []string, pre string) bool {
    	for _, s := range v {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:26:10 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. istioctl/pkg/analyze/analyze.go

    	analysisCmd.PersistentFlags().StringVarP(&msgOutputFormat, "output", "o", formatting.LogFormat,
    		fmt.Sprintf("Output format: one of %v", formatting.MsgOutputFormatKeys))
    	analysisCmd.PersistentFlags().StringVar(&meshCfgFile, "meshConfigFile", "",
    		"Overrides the mesh config values to use for analysis.")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top