Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for AddFlags (0.14 sec)

  1. cmd/kube-controller-manager/app/options/options.go

    	fss := cliflag.NamedFlagSets{}
    	s.Generic.AddFlags(&fss, allControllers, disabledByDefaultControllers, controllerAliases)
    	s.KubeCloudShared.AddFlags(fss.FlagSet("generic"))
    	s.ServiceController.AddFlags(fss.FlagSet(cpnames.ServiceLBController))
    
    	s.SecureServing.AddFlags(fss.FlagSet("secure serving"))
    	s.Authentication.AddFlags(fss.FlagSet("authentication"))
    	s.Authorization.AddFlags(fss.FlagSet("authorization"))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 20:41:50 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/apiserver/pkg/server/options/audit.go

    	}
    	return false
    }
    
    func (o *AuditOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    	fs.StringVar(&o.PolicyFile, "audit-policy-file", o.PolicyFile,
    		"Path to the file that defines the audit policy configuration.")
    
    	o.LogOptions.AddFlags(fs)
    	o.LogOptions.BatchOptions.AddFlags(pluginlog.PluginName, fs)
    	o.LogOptions.TruncateOptions.AddFlags(pluginlog.PluginName, fs)
    	o.WebhookOptions.AddFlags(fs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 24 06:30:04 UTC 2022
    - 20.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/kubeapiserver/options/authorization.go

    	}
    
    	return allErrors
    }
    
    // AddFlags returns flags of authorization for a API Server
    func (o *BuiltInAuthorizationOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    	fs.StringSliceVar(&o.Modes, authorizationModeFlag, o.Modes, ""+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 23:09:15 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. cmd/kubemark/app/hollow_node.go

    	podsPerCore = 0
    )
    
    // TODO(#45650): Refactor hollow-node into hollow-kubelet and hollow-proxy
    // and make the config driven.
    var knownMorphs = sets.NewString("kubelet", "proxy")
    
    func (c *hollowNodeConfig) addFlags(fs *pflag.FlagSet) {
    	fs.StringVar(&c.KubeconfigPath, "kubeconfig", "/kubeconfig/kubeconfig", "Path to kubeconfig file.")
    	fs.StringVar(&c.BootstrapKubeconfigPath, "bootstrap-kubeconfig", "", "Path to bootstrap kubeconfig file.")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. cmd/kubelet/app/options/options.go

    		return err
    	}
    	return nil
    }
    
    // AddFlags adds flags for a specific KubeletServer to the specified FlagSet
    func (s *KubeletServer) AddFlags(fs *pflag.FlagSet) {
    	s.KubeletFlags.AddFlags(fs)
    	AddKubeletConfigFlags(fs, &s.KubeletConfiguration)
    }
    
    // AddFlags adds flags for a specific KubeletFlags to the specified FlagSet
    func (f *KubeletFlags) AddFlags(mainfs *pflag.FlagSet) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
Back to top