Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 189 for stringVar (0.6 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/jsonpath_flags.go

    }
    
    // AddFlags receives a *cobra.Command reference and binds
    // flags related to template printing to it
    func (f *JSONPathPrintFlags) AddFlags(c *cobra.Command) {
    	if f.TemplateArgument != nil {
    		c.Flags().StringVar(f.TemplateArgument, "template", *f.TemplateArgument, "Template string or path to template file to use when --output=jsonpath, --output=jsonpath-file.")
    		c.MarkFlagFilename("template")
    	}
    	if f.AllowMissingKeys != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. pkg/test/framework/config/config.go

    	"istio.io/istio/pkg/test/scopes"
    	"istio.io/istio/pkg/test/util/file"
    )
    
    const prefix = "istio.test"
    
    var (
    	configFilePath string
    	parsed         atomic.Bool
    )
    
    func init() {
    	flag.StringVar(&configFilePath, "istio.test.config", "", "Path to test framework config file")
    }
    
    type Value interface {
    	flag.Value
    	// SetConfig will receive either a Map or a []Map
    	SetConfig(any) error
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/template_flags.go

    }
    
    // AddFlags receives a *cobra.Command reference and binds
    // flags related to template printing to it
    func (f *GoTemplatePrintFlags) AddFlags(c *cobra.Command) {
    	if f.TemplateArgument != nil {
    		c.Flags().StringVar(f.TemplateArgument, "template", *f.TemplateArgument, "Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. operator/cmd/mesh/operator-remove.go

    	cmd.PersistentFlags().BoolVar(&oiArgs.force, "force", false, ForceFlagHelpStr)
    	cmd.PersistentFlags().StringVar(&oiArgs.operatorNamespace, "operatorNamespace", operatorDefaultNamespace, OperatorNamespaceHelpstr)
    	cmd.PersistentFlags().StringVarP(&oiArgs.revision, "revision", "r", "", OperatorRevFlagHelpStr)
    	cmd.PersistentFlags().BoolVar(&oiArgs.purge, "purge", false, AllOperatorRevFlagHelpStr)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/options/tracing.go

    	return &TracingOptions{}
    }
    
    // AddFlags adds flags related to tracing to the specified FlagSet
    func (o *TracingOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    	fs.StringVar(&o.ConfigFile, "tracing-config-file", o.ConfigFile,
    		"File with apiserver tracing configuration.")
    }
    
    // ApplyTo fills up Tracing config with options.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 21:39:39 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. src/cmd/go/internal/vet/vetflag.go

    // implementation. It is also used by tests.
    //
    // The default behavior (vetTool=="") runs 'go tool vet'.
    var vetTool string // -vettool
    
    func init() {
    	work.AddBuildFlags(CmdVet, work.DefaultBuildFlags)
    	CmdVet.Flag.StringVar(&vetTool, "vettool", "", "")
    }
    
    func parseVettoolFlag(args []string) {
    	// Extract -vettool by ad hoc flag processing:
    	// its value is needed even before we can declare
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/util/cmdutil.go

    	klog.V(1).Infof("Using kubeconfig file: %s", file)
    	return file
    }
    
    // AddCRISocketFlag adds the cri-socket flag to the supplied flagSet
    func AddCRISocketFlag(flagSet *pflag.FlagSet, criSocket *string) {
    	flagSet.StringVar(
    		criSocket, options.NodeCRISocket, *criSocket,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. operator/cmd/operator/server.go

    	cmd.PersistentFlags().IntVar(&args.maxConcurrentReconciles, "max-concurrent-reconciles", 1, root.MaxConcurrentReconcilesFlagHelpStr)
    	cmd.PersistentFlags().StringVar(&args.monitoring.host, "monitoring-host", metricsHost, "HTTP host to use for operator's self-monitoring information")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 30 21:09:08 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top