- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 81 for AddFlags (0.12 sec)
-
cmd/kube-controller-manager/app/options/endpointslicemirroringcontroller.go
type EndpointSliceMirroringControllerOptions struct { *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) -
staging/src/k8s.io/apiserver/pkg/server/options/tracing.go
ConfigFile string } // 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) -
cmd/kube-controller-manager/app/options/nodelifecyclecontroller.go
type NodeLifecycleControllerOptions struct { *nodelifecycleconfig.NodeLifecycleControllerConfiguration } // AddFlags adds flags related to NodeLifecycleController for controller manager to the specified FlagSet. func (o *NodeLifecycleControllerOptions) AddFlags(fs *pflag.FlagSet) { if o == nil { return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 09:25:51 UTC 2023 - 3.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/cmd/server/server.go
if err := o.Validate(); err != nil { return err } if err := Run(c.Context(), o); err != nil { return err } return nil }, } cmd.SetContext(ctx) fs := cmd.Flags() o.AddFlags(fs) return cmd } func Run(ctx context.Context, o *options.CustomResourceDefinitionsServerOptions) error { config, err := o.Config() if err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/authentication.go
fs.DurationVar(&s.CacheTTL, "authentication-token-webhook-cache-ttl", s.CacheTTL, "The duration to cache responses from the webhook token authenticator.") s.ClientCert.AddFlags(fs) s.RequestHeader.AddFlags(fs) fs.BoolVar(&s.SkipInClusterLookup, "authentication-skip-lookup", s.SkipInClusterLookup, ""+ "If false, the authentication-kubeconfig will be used to lookup missing authentication "+
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 21 14:51:22 UTC 2023 - 19.9K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/record_flags.go
func (f *RecordFlags) CompleteWithChangeCause(cause string) error { if f == nil { return nil } f.changeCause = cause return nil } // AddFlags binds the requested flags to the provided flagset // TODO have this only take a flagset func (f *RecordFlags) AddFlags(cmd *cobra.Command) { if f == nil { return } if f.Record != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 5.5K bytes - Viewed (0) -
operator/cmd/mesh/upgrade.go
client, err := ctx.CLIClient() if err != nil { return err } return Install(client, rootArgs, upgradeArgs.InstallArgs, cmd.OutOrStdout(), l, p) }, } addFlags(cmd, rootArgs) addInstallFlags(cmd, upgradeArgs.InstallArgs) return cmd
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 1.5K bytes - Viewed (0) -
pilot/cmd/pilot-agent/app/cmd.go
UnknownFlags: true, }, } // Attach the Istio logging options to the command. loggingOptions.AttachCobraFlags(rootCmd) cmd.AddFlags(rootCmd) proxyCmd := newProxyCommand(sds) addFlags(proxyCmd) rootCmd.AddCommand(proxyCmd) rootCmd.AddCommand(requestCmd) rootCmd.AddCommand(waitCmd) rootCmd.AddCommand(version.CobraCommand())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 11.9K bytes - Viewed (0) -
cmd/kube-apiserver/app/options/options.go
return &s } // Flags returns flags for a specific APIServer by section name func (s *ServerRunOptions) Flags() (fss cliflag.NamedFlagSets) { s.Options.AddFlags(&fss) s.CloudProvider.AddFlags(fss.FlagSet("cloud provider")) // Note: the weird ""+ in below lines seems to be the only way to get gofmt to // arrange these text blocks sensibly. Grrr. fs := fss.FlagSet("misc")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 12:19:56 UTC 2024 - 6.5K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/config_flags.go
if f.warningPrinter != nil { f.warningPrinter.Print(a) } }) 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.") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 11 15:04:11 UTC 2023 - 16.9K bytes - Viewed (0)