Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,213 for flagstr (0.17 sec)

  1. 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)
  2. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/config_flags.go

    		}
    	})
    	return expander, nil
    }
    
    // AddFlags binds client configuration flags to a given flagset
    func (f *ConfigFlags) AddFlags(flags *pflag.FlagSet) {
    	if f.KubeConfig != nil {
    		flags.StringVar(f.KubeConfig, "kubeconfig", *f.KubeConfig, "Path to the kubeconfig file to use for CLI requests.")
    	}
    	if f.CacheDir != nil {
    		flags.StringVar(f.CacheDir, flagCacheDir, *f.CacheDir, "Default cache directory")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 15:04:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. cmd/kube-controller-manager/app/options/endpointslicecontroller.go

    type EndpointSliceControllerOptions struct {
    	*endpointsliceconfig.EndpointSliceControllerConfiguration
    }
    
    // AddFlags adds flags related to EndpointSliceController for controller manager to the specified FlagSet.
    func (o *EndpointSliceControllerOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 03 07:16:42 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  4. 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)
  5. staging/src/k8s.io/apiserver/pkg/server/options/egress_selector.go

    func NewEgressSelectorOptions() *EgressSelectorOptions {
    	return &EgressSelectorOptions{}
    }
    
    // AddFlags adds flags related to admission for a specific APIServer to the specified FlagSet
    func (o *EgressSelectorOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    	fs.StringVar(&o.ConfigFile, "egress-selector-config-file", o.ConfigFile,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 01 11:41:59 UTC 2021
    - 3K 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-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)
  9. 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)
  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