Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for AddFlags (0.41 sec)

  1. operator/cmd/mesh/profile.go

    	pdfArgs := &profileDiffArgs{}
    	args := &RootArgs{}
    
    	plc := profileListCmd(plArgs)
    	pdc := profileDumpCmd(pdArgs)
    	pdfc := profileDiffCmd(pdfArgs)
    
    	addFlags(pc, args)
    	addFlags(plc, args)
    	addFlags(pdc, args)
    	addFlags(pdfc, args)
    
    	addProfileDumpFlags(pdc, pdArgs)
    	addProfileListFlags(plc, plArgs)
    	addProfileDiffFlags(pdfc, pdfArgs)
    
    	pc.AddCommand(plc)
    	pc.AddCommand(pdc)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/options/recommended.go

    	}
    }
    
    func (o *RecommendedOptions) AddFlags(fs *pflag.FlagSet) {
    	o.Etcd.AddFlags(fs)
    	o.SecureServing.AddFlags(fs)
    	o.Authentication.AddFlags(fs)
    	o.Authorization.AddFlags(fs)
    	o.Audit.AddFlags(fs)
    	o.Features.AddFlags(fs)
    	o.CoreAPI.AddFlags(fs)
    	o.Admission.AddFlags(fs)
    	o.EgressSelector.AddFlags(fs)
    	o.Traces.AddFlags(fs)
    }
    
    // ApplyTo adds RecommendedOptions to the server configuration.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 18:51:27 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. pkg/controlplane/apiserver/options/options.go

    	return &s
    }
    
    func (s *Options) AddFlags(fss *cliflag.NamedFlagSets) {
    	// Add the generic flags.
    	s.GenericServerRunOptions.AddUniversalFlags(fss.FlagSet("generic"))
    	s.Etcd.AddFlags(fss.FlagSet("etcd"))
    	s.SecureServing.AddFlags(fss.FlagSet("secure serving"))
    	s.Audit.AddFlags(fss.FlagSet("auditing"))
    	s.Features.AddFlags(fss.FlagSet("features"))
    	s.Authentication.AddFlags(fss.FlagSet("authentication"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. operator/cmd/mesh/manifest.go

    	mdcArgs := &manifestDiffArgs{}
    
    	args := &RootArgs{}
    
    	mgc := ManifestGenerateCmd(ctx, args, mgcArgs)
    	mdc := manifestDiffCmd(mdcArgs)
    	ic := InstallCmd(ctx)
    
    	addFlags(mc, args)
    	addFlags(mgc, args)
    	addFlags(mdc, args)
    
    	addManifestGenerateFlags(mgc, mgcArgs)
    	addManifestDiffFlags(mdc, mdcArgs)
    
    	mc.AddCommand(mgc)
    	mc.AddCommand(mdc)
    	mc.AddCommand(ic)
    
    	return mc
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/cmd/server/options/options.go

    		StdOut: out,
    		StdErr: errOut,
    	}
    
    	return o
    }
    
    // AddFlags adds the apiextensions-apiserver flags to the flagset.
    func (o CustomResourceDefinitionsServerOptions) AddFlags(fs *pflag.FlagSet) {
    	o.ServerRunOptions.AddUniversalFlags(fs)
    	o.RecommendedOptions.AddFlags(fs)
    	o.APIEnablement.AddFlags(fs)
    }
    
    // Validate validates the apiextensions-apiserver options.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. cmd/kube-scheduler/app/options/options.go

    	fs.StringVar(&o.Master, "master", o.Master, "The address of the Kubernetes API server (overrides any value in kubeconfig)")
    
    	o.SecureServing.AddFlags(nfs.FlagSet("secure serving"))
    	o.Authentication.AddFlags(nfs.FlagSet("authentication"))
    	o.Authorization.AddFlags(nfs.FlagSet("authorization"))
    	o.Deprecated.AddFlags(nfs.FlagSet("deprecated"))
    	options.BindLeaderElectionFlags(o.LeaderElection, nfs.FlagSet("leader election"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 17:06:29 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. cmd/kubelet/app/options/globalflags.go

    // We do this in order to prevent unwanted flags from leaking into the Kubelet's flagset.
    func AddGlobalFlags(fs *pflag.FlagSet) {
    	addCadvisorFlags(fs)
    	addCredentialProviderFlags(fs)
    	verflag.AddFlags(fs)
    	logs.AddFlags(fs, logs.SkipLoggingConfigurationFlags())
    }
    
    // normalize replaces underscores with hyphens
    // we should always use hyphens instead of underscores when registering kubelet flags
    func normalize(s string) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/output/output.go

    }
    
    // AddFlags receives a *cobra.Command reference and binds
    // flags related to Kubeadm printing to it
    func (pf *PrintFlags) AddFlags(cmd *cobra.Command) {
    	pf.JSONYamlPrintFlags.AddFlags(cmd)
    	pf.KubeTemplatePrintFlags.AddFlags(cmd)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 08:22:45 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. 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)
  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