- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 75 for AddFlags (0.13 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/jsonpath_flags.go
if templateFormat == "jsonpath-as-json" { p.EnableJSONOutput(true) } return p, nil } // 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 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 09:47:52 UTC 2023 - 4.3K bytes - Viewed (0) -
cmd/kube-controller-manager/app/options/persistentvolumebindercontroller.go
type PersistentVolumeBinderControllerOptions struct { *persistentvolumeconfig.PersistentVolumeBinderControllerConfiguration } // AddFlags adds flags related to PersistentVolumeBinderController for controller manager to the specified FlagSet. func (o *PersistentVolumeBinderControllerOptions) AddFlags(fs *pflag.FlagSet) { if o == nil { return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 02:59:09 UTC 2024 - 4.8K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/options/options.go
EnableHostPathProvisioning: false, EnableDynamicProvisioning: true, }, } } // AddFlags adds flags related to PersistentVolumeControllerOptions to the specified FlagSet. func (o *PersistentVolumeControllerOptions) AddFlags(fs *pflag.FlagSet) { fs.DurationVar(&o.PVClaimBinderSyncPeriod, "pvclaimbinder-sync-period", o.PVClaimBinderSyncPeriod,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 04 20:45:21 UTC 2019 - 5.6K bytes - Viewed (0) -
pilot/cmd/pilot-discovery/app/cmd.go
// Allow unknown flags for backward-compatibility. UnknownFlags: true, }, PreRunE: func(c *cobra.Command, args []string) error { cmd.AddFlags(c) return nil }, } discoveryCmd := newDiscoveryCommand() addFlags(discoveryCmd) rootCmd.AddCommand(discoveryCmd) rootCmd.AddCommand(version.CobraCommand()) rootCmd.AddCommand(collateral.CobraCommand(rootCmd, collateral.Metadata{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 16:44:32 UTC 2024 - 8.5K bytes - Viewed (0)