package options
import "k8s.io/kubernetes/cmd/kube-apiserver/app/options"
Package options contains flags and options for initializing an apiserver
Index ¶
Types ¶
type ServerRunOptions ¶
type ServerRunOptions struct { GenericServerRunOptions *genericoptions.ServerRunOptions AllowPrivileged bool EventTTL time.Duration KubeletConfig kubeletclient.KubeletClientConfig MaxConnectionBytesPerSec int64 SSHKeyfile string SSHUser string ServiceAccountKeyFiles []string ServiceAccountLookup bool WebhookTokenAuthnConfigFile string WebhookTokenAuthnCacheTTL time.Duration }
ServerRunOptions runs a kubernetes api server.
func NewServerRunOptions ¶
func NewServerRunOptions() *ServerRunOptions
NewServerRunOptions creates a new ServerRunOptions object with default parameters
func (*ServerRunOptions) AddFlags ¶
func (s *ServerRunOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags for a specific APIServer to the specified FlagSet
Source Files ¶
options.go
- Version
- v1.5.6
- Published
- Mar 28, 2017
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 20 seconds ago –
Tools for package owners.