Documentation
¶
Overview ¶
Package options contains flags and options for initializing an apiserver
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServiceIPRange ¶
ServiceIPRange checks if the serviceClusterIPRange flag is nil, raising a warning if so and setting service ip range to the default value in kubeoptions.DefaultServiceIPCIDR for now until the default is removed per the deprecation timeline guidelines. Returns service ip range, api server service IP, and an error
Types ¶
type CompletedOptions ¶
type CompletedOptions struct {
// contains filtered or unexported fields
}
type Options ¶
type Options struct { GenericServerRunOptions *genericoptions.ServerRunOptions Etcd *genericoptions.EtcdOptions SecureServing *genericoptions.SecureServingOptionsWithLoopback Audit *genericoptions.AuditOptions Features *genericoptions.FeatureOptions Admission *kubeoptions.AdmissionOptions Authentication *kubeoptions.BuiltInAuthenticationOptions Authorization *kubeoptions.BuiltInAuthorizationOptions APIEnablement *genericoptions.APIEnablementOptions EgressSelector *genericoptions.EgressSelectorOptions Metrics *metrics.Options Logs *logs.Options Traces *genericoptions.TracingOptions EnableLogsHandler bool EventTTL time.Duration MaxConnectionBytesPerSec int64 ProxyClientCertFile string ProxyClientKeyFile string EnableAggregatorRouting bool AggregatorRejectForwardingRedirects bool ServiceAccountSigningKeyFile string ServiceAccountIssuer serviceaccount.TokenGenerator ServiceAccountTokenMaxExpiration time.Duration ShowHiddenMetricsForVersion string }
func NewOptions ¶
func NewOptions() *Options
NewOptions creates a new ServerRunOptions object with default parameters
func (*Options) AddFlags ¶
func (s *Options) AddFlags(fss *cliflag.NamedFlagSets)
Click to show internal directories.
Click to hide internal directories.