Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 504 for flagstr (0.13 sec)

  1. cmd/genyaml/gen_kubectl_yaml.go

    	doc.Synopsis = forceMultiLine(command.Short)
    	doc.Description = forceMultiLine(command.Long)
    
    	flags := command.NonInheritedFlags()
    	if flags.HasFlags() {
    		doc.Options = genFlagResult(flags)
    	}
    	flags = command.InheritedFlags()
    	if flags.HasFlags() {
    		doc.InheritedOptions = genFlagResult(flags)
    	}
    
    	if len(command.Example) > 0 {
    		doc.Example = command.Example
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 14:05:23 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/upgrade/diff.go

    	options.AddConfigFlag(cmd.Flags(), &flags.cfgPath)
    	cmd.Flags().StringVar(&flags.apiServerManifestPath, "api-server-manifest", defaultAPIServerManifestPath, "path to API server manifest")
    	cmd.Flags().StringVar(&flags.controllerManagerManifestPath, "controller-manager-manifest", defaultControllerManagerManifestPath, "path to controller manifest")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/telemetry/counter/counter.go

    //
    //	For instance, CountFlags("gopls/flag:", *flag.CommandLine)
    func CountFlags(prefix string, fs flag.FlagSet) {
    	fs.Visit(func(f *flag.Flag) {
    		New(prefix + f.Name).Inc()
    	})
    }
    
    // CountCommandLineFlags creates a counter for every flag
    // that is set in the default flag.CommandLine FlagSet using
    // the counter name binaryName+"/flag:"+flagName where
    // binaryName is the base name of the Path embedded in the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 18:02:34 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. cmd/kube-controller-manager/app/options/attachdetachcontroller.go

    type AttachDetachControllerOptions struct {
    	*attachdetachconfig.AttachDetachControllerConfiguration
    }
    
    // AddFlags adds flags related to AttachDetachController for controller manager to the specified FlagSet.
    func (o *AttachDetachControllerOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 18:31:52 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/options/tracing.go

    }
    
    // NewTracingOptions creates a new instance of TracingOptions
    func NewTracingOptions() *TracingOptions {
    	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.")
    }
    
    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. cmd/kubeadm/app/cmd/upgrade/common_test.go

    		},
    	}
    	for _, tt := range tcases {
    		t.Run(tt.name, func(t *testing.T) {
    			_, _, _, _, err := enforceRequirements(&pflag.FlagSet{}, &tt.flags, nil, tt.dryRun, false, &output.TextPrinter{})
    			if err == nil && len(tt.expectedErr) != 0 {
    				t.Error("Expected error, but got success")
    			}
    
    			expErr := tt.expectedErr
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. cmd/genman/gen_kube_man.go

    }
    
    func printOptions(out *bytes.Buffer, command *cobra.Command) {
    	flags := command.NonInheritedFlags()
    	if flags.HasFlags() {
    		fmt.Fprintf(out, "# OPTIONS\n")
    		printFlags(out, flags)
    		fmt.Fprintf(out, "\n")
    	}
    	flags = command.InheritedFlags()
    	if flags.HasFlags() {
    		fmt.Fprintf(out, "# OPTIONS INHERITED FROM PARENT COMMANDS\n")
    		printFlags(out, flags)
    		fmt.Fprintf(out, "\n")
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 12:03:09 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. cmd/kube-controller-manager/app/options/hpacontroller.go

    // HPAControllerOptions holds the HPAController options.
    type HPAControllerOptions struct {
    	*poautosclerconfig.HPAControllerConfiguration
    }
    
    // AddFlags adds flags related to HPAController for controller manager to the specified FlagSet.
    func (o *HPAControllerOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 19 09:49:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. cmd/kube-scheduler/app/options/deprecated.go

    	// If this value is empty, the default value (5min) will be used.
    	PodMaxInUnschedulablePodsDuration time.Duration
    }
    
    // AddFlags adds flags for the deprecated options.
    func (o *DeprecatedOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 23 13:24:38 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. cmd/kube-controller-manager/app/options/endpointslicemirroringcontroller.go

    	*endpointslicemirroringconfig.EndpointSliceMirroringControllerConfiguration
    }
    
    // AddFlags adds flags related to EndpointSliceMirroringController for
    // controller manager to the specified FlagSet.
    func (o *EndpointSliceMirroringControllerOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 19 13:01:01 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top