Documentation ¶
Overview ¶
Package options contains flags and options for initializing an apiserver
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlPlaneServerRunOptions ¶
type ControlPlaneServerRunOptions struct { *controleplaneoptions.ControlPlaneOptions MaxConnectionBytesPerSec int64 ShowHiddenMetricsForVersion string }
ControlPlaneServerRunOptions runs a kubernetes api server.
func NewControlPlaneServerRunOptions ¶
func NewControlPlaneServerRunOptions() *ControlPlaneServerRunOptions
NewControlPlaneServerRunOptions creates a new ServerRunOptions object with default parameters
func (*ControlPlaneServerRunOptions) Complete ¶
func (s *ControlPlaneServerRunOptions) Complete() error
func (*ControlPlaneServerRunOptions) Flags ¶
func (s *ControlPlaneServerRunOptions) Flags() (fss cliflag.NamedFlagSets)
Flags returns flags for a specific APIServer by section name
func (*ControlPlaneServerRunOptions) Validate ¶
func (s *ControlPlaneServerRunOptions) Validate() []error
type Options ¶
type Options struct { ControlPlane *ControlPlaneServerRunOptions Proxy *ProxyOptions }
func NewOptions ¶
func NewOptions() *Options
func (*Options) Flags ¶
func (o *Options) Flags() cliflag.NamedFlagSets
type ProxyOptions ¶
type ProxyOptions struct { Authentication *proxyoptions.AuthenticationOptions Authorization *proxyoptions.AuthorizationOptions SecureServing *proxyoptions.SecureServingOptions ProcessInfo *genericoptions.ProcessInfo Logging *proxyoptions.LoggingOptions Tracing *proxyoptions.TracingOptions ServerRun *proxyoptions.ServerRunOptions RateLimiter *proxyoptions.RateLimiterOptions }
func NewProxyOptions ¶
func NewProxyOptions() *ProxyOptions
func (*ProxyOptions) Flags ¶
func (s *ProxyOptions) Flags() (fss cliflag.NamedFlagSets)
Flags returns flags for a proxy by section name
func (*ProxyOptions) Validate ¶
func (o *ProxyOptions) Validate(controlplane *ControlPlaneServerRunOptions) []error
Click to show internal directories.
Click to hide internal directories.