Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 111 for AddFlags (0.28 sec)

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

    	}
    
    	if !f.ShowManagedFields {
    		printer = &printers.OmitManagedFieldsPrinter{Delegate: printer}
    	}
    	return printer, nil
    }
    
    // AddFlags receives a *cobra.Command reference and binds
    // flags related to JSON or Yaml printing to it
    func (f *JSONYamlPrintFlags) AddFlags(c *cobra.Command) {
    	if f == nil {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 04 13:00:03 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. pkg/kubelet/config/flags.go

    	// specified in imageCredentialProviderConfigFile.
    	// +optional
    	ImageCredentialProviderBinDir string
    }
    
    // AddFlags adds flags to the container runtime, according to ContainerRuntimeOptions.
    func (s *ContainerRuntimeOptions) AddFlags(fs *pflag.FlagSet) {
    	// General settings.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 03:14:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/template_flags.go

    	if f.AllowMissingKeys != nil {
    		allowMissingKeys = *f.AllowMissingKeys
    	}
    
    	p.AllowMissingKeys(allowMissingKeys)
    	return p, nil
    }
    
    // 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 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/api_enablement.go

    }
    
    func NewAPIEnablementOptions() *APIEnablementOptions {
    	return &APIEnablementOptions{
    		RuntimeConfig: make(cliflag.ConfigurationMap),
    	}
    }
    
    // AddFlags adds flags for a specific APIServer to the specified FlagSet
    func (s *APIEnablementOptions) AddFlags(fs *pflag.FlagSet) {
    	if s == nil {
    		return
    	}
    	fs.Var(&s.RuntimeConfig, "runtime-config", ""+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 09:22:37 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/builder_flags.go

    func (o *ResourceBuilderFlags) StopOnError() *ResourceBuilderFlags {
    	o.StopOnFirstError = true
    	return o
    }
    
    // AddFlags registers flags for finding resources
    func (o *ResourceBuilderFlags) AddFlags(flagset *pflag.FlagSet) {
    	o.FileNameFlags.AddFlags(flagset)
    
    	if o.LabelSelector != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 13 10:28:09 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  10. 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)
Back to top