package options
import "k8s.io/kubernetes/pkg/controlplane/apiserver/options"
Package options contains flags and options for initializing an apiserver
Index ¶
- func ServiceIPRange(passedServiceClusterIPRange net.IPNet) (net.IPNet, net.IP, error)
- type CompletedOptions
- type Options
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)
func (*Options) Complete ¶
func (*Options) Validate ¶
Validate checks Options and return a slice of found errs.
Source Files ¶
options.go validation.go
- Version
- v1.28.0-alpha.4
- Published
- Jul 6, 2023
- Platform
- darwin/amd64
- Imports
- 25 packages
- Last checked
- 42 seconds ago –
Tools for package owners.